René's URL Explorer Experiment


Title: `uuid` has a bunch of deprecated functions: let's decide what to do with them · Issue #113308 · python/cpython · GitHub

Open Graph Title: `uuid` has a bunch of deprecated functions: let's decide what to do with them · Issue #113308 · python/cpython

X Title: `uuid` has a bunch of deprecated functions: let's decide what to do with them · Issue #113308 · python/cpython

Description: Feature or enhancement uuid.py has several protected deprecated functions which are no longer in use: cpython/Lib/uuid.py Lines 591 to 594 in 4afa7be def _load_system_functions(): """[DEPRECATED] Platform-specific functions loaded at imp...

Open Graph Description: Feature or enhancement uuid.py has several protected deprecated functions which are no longer in use: cpython/Lib/uuid.py Lines 591 to 594 in 4afa7be def _load_system_functions(): """[DEPRECATED] P...

X Description: Feature or enhancement uuid.py has several protected deprecated functions which are no longer in use: cpython/Lib/uuid.py Lines 591 to 594 in 4afa7be def _load_system_functions(): """...

Opengraph URL: https://github.com/python/cpython/issues/113308

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`uuid` has a bunch of deprecated functions: let's decide what to do with them","articleBody":"# Feature or enhancement\n\n`uuid.py` has several protected deprecated functions which are no longer in use:\n\nhttps://github.com/python/cpython/blob/4afa7be32da32fac2a2bcde4b881db174e81240c/Lib/uuid.py#L591-L594\n\nhttps://github.com/python/cpython/blob/4afa7be32da32fac2a2bcde4b881db174e81240c/Lib/uuid.py#L567-L575\n\nAnd one unused module-level var:\n\nhttps://github.com/python/cpython/blob/4afa7be32da32fac2a2bcde4b881db174e81240c/Lib/uuid.py#L583\n\nThe problem is that they were not deprecated with a warning. Only with docs.\nBut, right now they are deprecated since 2020.\n\nThis has a big history:\n- https://github.com/python/cpython/issues/72196\n- https://github.com/python/cpython/issues/84681 and https://github.com/python/cpython/pull/19948\n- https://github.com/python/cpython/pull/3796\n\nSome projects in the wild use `_load_system_functions`, despite the fact it is deprecated and was never documented and always was protected.\n\nExamples:\n- https://github.com/spulec/freezegun/blob/5e06dff53244992204706adf6907e7138ac96d39/freezegun/api.py#L71\n- https://github.com/pganssle/time-machine/blob/ccc59927b4c51e35895c34578cba7aca69f28055/src/time_machine/__init__.py#L211\n- https://github.com/adamchainz/time-machine/blob/39e327e18d52ebc76d3973b465ff42e139fd651d/src/time_machine/__init__.py#L223\n\nSo, what should we do?\n1. Add a proper warning, schedule it for removal in two versions\n2. Just remove them\n\nI think that `1.` is safer.\nI would like to work on it after the decision is made.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-115934\n* gh-117832\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/sobolevn","@type":"Person","name":"sobolevn"},"datePublished":"2023-12-20T08:36:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/113308/cpython/issues/113308"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fd3e43f2-454a-1a92-a3e3-f33a8d28a397
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE328:531C6:E3054E:13DEE3A:696A264F
html-safe-nonce8dbb1513faaea8fa6038995bec0ef4412d4b33750f814f1c5d67ba1fa603a0c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzI4OjUzMUM2OkUzMDU0RToxM0RFRTNBOjY5NkEyNjRGIiwidmlzaXRvcl9pZCI6IjYxMjQzNjM3OTk1MTYwMzA1NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacadb8eddebaecbe51b04bdcd430e8793332d8ec99cee1bb19aed5c9b4280f947f
hovercard-subject-tagissue:2050093134
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/113308/issue_layout
twitter:imagehttps://opengraph.githubassets.com/daee85625323b52e8542489fcff5be63d7dc51558663434b8813419d8113ecc0/python/cpython/issues/113308
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/daee85625323b52e8542489fcff5be63d7dc51558663434b8813419d8113ecc0/python/cpython/issues/113308
og:image:altFeature or enhancement uuid.py has several protected deprecated functions which are no longer in use: cpython/Lib/uuid.py Lines 591 to 594 in 4afa7be def _load_system_functions(): """[DEPRECATED] P...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesobolevn
hostnamegithub.com
expected-hostnamegithub.com
Nonea1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef472b8e6c7b3fdd5d0354972a3f4c516289bf0be
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/113308#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F113308
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F113308
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/113308
Reloadhttps://github.com/python/cpython/issues/113308
Reloadhttps://github.com/python/cpython/issues/113308
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/113308
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/113308
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/113308
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/113308
uuid has a bunch of deprecated functions: let's decide what to do with themhttps://github.com/python/cpython/issues/113308#top
https://github.com/sobolevn
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com/sobolevn
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
on Dec 20, 2023https://github.com/python/cpython/issues/113308#issue-2050093134
cpython/Lib/uuid.pyhttps://github.com/python/cpython/blob/4afa7be32da32fac2a2bcde4b881db174e81240c/Lib/uuid.py#L591-L594
4afa7behttps://github.com/python/cpython/commit/4afa7be32da32fac2a2bcde4b881db174e81240c
cpython/Lib/uuid.pyhttps://github.com/python/cpython/blob/4afa7be32da32fac2a2bcde4b881db174e81240c/Lib/uuid.py#L567-L575
4afa7behttps://github.com/python/cpython/commit/4afa7be32da32fac2a2bcde4b881db174e81240c
cpython/Lib/uuid.pyhttps://github.com/python/cpython/blob/4afa7be32da32fac2a2bcde4b881db174e81240c/Lib/uuid.py#L583
4afa7behttps://github.com/python/cpython/commit/4afa7be32da32fac2a2bcde4b881db174e81240c
Fix uuid.uuid1() core logic of uuid.getnode() needs refresh #72196https://github.com/python/cpython/issues/72196
Deprecate and remove ctypes usage in uuid #84681https://github.com/python/cpython/issues/84681
bpo-40501: Replace ctypes code in uuid with native module #19948https://github.com/python/cpython/pull/19948
bpo-11063, bpo-20519: avoid ctypes and improve import time for uuid #3796https://github.com/python/cpython/pull/3796
https://github.com/spulec/freezegun/blob/5e06dff53244992204706adf6907e7138ac96d39/freezegun/api.py#L71https://github.com/spulec/freezegun/blob/5e06dff53244992204706adf6907e7138ac96d39/freezegun/api.py#L71
https://github.com/pganssle/time-machine/blob/ccc59927b4c51e35895c34578cba7aca69f28055/src/time_machine/__init__.py#L211https://github.com/pganssle/time-machine/blob/ccc59927b4c51e35895c34578cba7aca69f28055/src/time_machine/__init__.py#L211
https://github.com/adamchainz/time-machine/blob/39e327e18d52ebc76d3973b465ff42e139fd651d/src/time_machine/__init__.py#L223https://github.com/adamchainz/time-machine/blob/39e327e18d52ebc76d3973b465ff42e139fd651d/src/time_machine/__init__.py#L223
gh-113308: Remove some internal parts of uuid module #115934https://github.com/python/cpython/pull/115934
gh-113308: Restore uuid._load_system_functions for 3.13 #117832https://github.com/python/cpython/pull/117832
sobolevnhttps://github.com/sobolevn
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.