René's URL Explorer Experiment


Title: bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP) by frenzymadness · Pull Request #23142 · python/cpython · GitHub

Open Graph Title: bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP) by frenzymadness · Pull Request #23142 · python/cpython

X Title: bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP) by frenzymadness · Pull Request #23142 · python/cpython

Description: This change: merges distutils.sysconfig into sysconfig while keeping the original functionality and marks distutils.sysconfig as deprecated Commits basically describe my progress step by step. Some discussions already happened in my private PR. PEP 632 is still a draft so I'm opening this PR the same. PEP proposal and discussion. https://bugs.python.org/issue41282

Open Graph Description: This change: merges distutils.sysconfig into sysconfig while keeping the original functionality and marks distutils.sysconfig as deprecated Commits basically describe my progress step by step. So...

X Description: This change: merges distutils.sysconfig into sysconfig while keeping the original functionality and marks distutils.sysconfig as deprecated Commits basically describe my progress step by step. So...

Opengraph URL: https://github.com/python/cpython/pull/23142

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5e8ff46b-7fe9-bc71-7aa0-ec9a839efec1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id889A:23348E:693724:8E69C0:696AB01E
html-safe-nonceb80ebc8e589e0323a6a01e06d589bcc53771a1cdd5a32ca739ac3ab473d514e8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODlBOjIzMzQ4RTo2OTM3MjQ6OEU2OUMwOjY5NkFCMDFFIiwidmlzaXRvcl9pZCI6Ijc2NDU5MTIwNTYzOTY5NTE1ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac085d794c7c9e894f93039698ba2f1d498869839f8abec53587e1254d75ecf33e
hovercard-subject-tagpull_request:515322021
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/23142/files
twitter:imagehttps://avatars.githubusercontent.com/u/5688939?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/5688939?s=400&v=4
og:image:altThis change: merges distutils.sysconfig into sysconfig while keeping the original functionality and marks distutils.sysconfig as deprecated Commits basically describe my progress step by step. So...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release41f276818bd204c4a30a0281fb3c576298d9474c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/23142/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23142%2Ffiles
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%2Fpull%2F23142%2Ffiles
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/23142/files
Reloadhttps://github.com/python/cpython/pull/23142/files
Reloadhttps://github.com/python/cpython/pull/23142/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/23142/files
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/pull/23142/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
encukouhttps://github.com/encukou
python:masterhttps://github.com/python/cpython/tree/master
frenzymadness:distutils_sysconfighttps://github.com/frenzymadness/cpython/tree/distutils_sysconfig
Conversation 34 https://github.com/python/cpython/pull/23142
Commits 24 https://github.com/python/cpython/pull/23142/commits
Checks 0 https://github.com/python/cpython/pull/23142/checks
Files changed https://github.com/python/cpython/pull/23142/files
Please reload this pagehttps://github.com/python/cpython/pull/23142/files
bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation of the PEP) https://github.com/python/cpython/pull/23142/files#top
Show all changes 24 commits https://github.com/python/cpython/pull/23142/files
9de38bb Mark distutils.sysconfig as deprecated frenzymadness Oct 15, 2020 https://github.com/python/cpython/pull/23142/commits/9de38bba372b1415c078d84246297a91b2055024
2f73368 Import global paths from sysconfig module frenzymadness Oct 15, 2020 https://github.com/python/cpython/pull/23142/commits/2f73368cbd28dceb01f6bb0e0f5fd898d93fddb9
43d810e Move some similar functions from distutils.sysconfig -> sysconfig frenzymadness Oct 15, 2020 https://github.com/python/cpython/pull/23142/commits/43d810eef6837fbf1957cc519ca99127ddc5418c
2ca4dfd Move the rest of global variables frenzymadness Oct 15, 2020 https://github.com/python/cpython/pull/23142/commits/2ca4dfd87f9d100797136cb756adea88f20495b4
09f2617 Move the rest of functions to sysconfig frenzymadness Oct 15, 2020 https://github.com/python/cpython/pull/23142/commits/09f2617f843843b834faa8df07c2f919230666dc
24e0584 Import regexes used in tests frenzymadness Oct 16, 2020 https://github.com/python/cpython/pull/23142/commits/24e0584bf56ca11637e0e77f85dec9d33099956a
b9ee651 Implement compatibility option for parse_makefile frenzymadness Oct 16, 2020 https://github.com/python/cpython/pull/23142/commits/b9ee651258c00d17543521a13796a123a0d53e08
12f92cf Do not use assignment in teardown to not lose reference to global dict frenzymadness Oct 19, 2020 https://github.com/python/cpython/pull/23142/commits/12f92cf4861749f4b83231f60926af1983d89a50
7b9b0c1 Ignore DeprecationWarning in pip code in ensurepip module frenzymadness Oct 20, 2020 https://github.com/python/cpython/pull/23142/commits/7b9b0c118999b0be248d5ab98e0f4b5c5751e659
6f5aa4f Improve setUp/tearDown of UnixCCompilerTestCase frenzymadness Oct 20, 2020 https://github.com/python/cpython/pull/23142/commits/6f5aa4f84229d032afab7488d000f1e07e46b230
fca8adc Improve or create setUp/tearDown methods for tests where sysconfig._C… frenzymadness Oct 21, 2020 https://github.com/python/cpython/pull/23142/commits/fca8adc5b0bfb7f1f24f1fd9ca7805c4f35bd6b3
318428d Rename `distutils_compat` to `keep_unresolved` and reverse the logic frenzymadness Oct 23, 2020 https://github.com/python/cpython/pull/23142/commits/318428db0ffaa69f7210f30adb42f824ca576e39
6136978 Merge all import from sysconfig to one statement frenzymadness Oct 23, 2020 https://github.com/python/cpython/pull/23142/commits/6136978d0870befce5a8d66f9c2f366751f1d66c
e635dbd Allow import of sysconfig when re module is not available frenzymadness Oct 23, 2020 https://github.com/python/cpython/pull/23142/commits/e635dbdd75d32cb71fd44f5563f9aff93c864262
d8a8cf0 Add a TODO comment about PEP 632 frenzymadness Oct 23, 2020 https://github.com/python/cpython/pull/23142/commits/d8a8cf02ef965014f013aee73e72bd308fb9ba8d
e317db5 Mark distutils.sysconfig as deprecated in docs frenzymadness Oct 23, 2020 https://github.com/python/cpython/pull/23142/commits/e317db5a09f01861d8deb33023aaf3dcf59dad41
17206f0 Copy docs for get_python_inc and get_python_lib from distutils.syscon… frenzymadness Oct 23, 2020 https://github.com/python/cpython/pull/23142/commits/17206f066c9aedbfc1e6cfe889936472f590891d
04ef7af Move customize_compiler back to distutils.sysconfig as it'll be remov… frenzymadness Oct 24, 2020 https://github.com/python/cpython/pull/23142/commits/04ef7af729ccc31a111728920695962ab5431d4b
6015255 Fix import of not-yet-initialized _CONFIG_VARS frenzymadness Nov 3, 2020 https://github.com/python/cpython/pull/23142/commits/60152550f32ca0fbbb09c2bde4f7522f6bc79d7b
abc310b Switch global vars from regex objects to raw strings and import re on… frenzymadness Nov 5, 2020 https://github.com/python/cpython/pull/23142/commits/abc310bf67b268b09d207fc924f296b61ccc3240
17aa9c4 Move get_python_lib and get_python_inc back to distutils.sysconfig frenzymadness Nov 13, 2020 https://github.com/python/cpython/pull/23142/commits/17aa9c44b62c3d20dae1df6a29a24fa97a79342a
be181b6 News entry frenzymadness Feb 15, 2021 https://github.com/python/cpython/pull/23142/commits/be181b67cef5393a85535245918a9267c8b0250b
e253a3d Restore build_flags accidentally removed during a rebase frenzymadness Apr 16, 2021 https://github.com/python/cpython/pull/23142/commits/e253a3d33a49f469468374492b7bb89c3300b4d0
cd8e387 Update Doc/distutils/apiref.rst frenzymadness Apr 18, 2021 https://github.com/python/cpython/pull/23142/commits/cd8e387f4530c1544a712a9ed9d464532a3975df
Clear filters https://github.com/python/cpython/pull/23142/files
Please reload this pagehttps://github.com/python/cpython/pull/23142/files
Please reload this pagehttps://github.com/python/cpython/pull/23142/files
apiref.rst https://github.com/python/cpython/pull/23142/files#diff-b436eb73eb7d7da3e2e7291c390bc202651842020991cad851b713ffb3045e04
sysconfig.rst https://github.com/python/cpython/pull/23142/files#diff-8fd6958a1f38bdea657650b5b7cf8ffa360347b3823602bfaecf7a1b865da7a5
extension.py https://github.com/python/cpython/pull/23142/files#diff-01114ae0f2365dd61da23be4664c2044301a08ba22eddc08ff40874f8a6c9471
sysconfig.py https://github.com/python/cpython/pull/23142/files#diff-ffb03f9c550ce8e0217d7739223e4805d01388e0a5b16e4981a33a293d22ae0e
test_build_clib.py https://github.com/python/cpython/pull/23142/files#diff-a1e68325b3534d5a10e609b06e50dac64b1c5e9e6f5341dc19014e5201570241
test_build_ext.py https://github.com/python/cpython/pull/23142/files#diff-2ce5e9b4daf6d34e5c19849c87f2c0ea6739221be9e9c526145af728ffef3f5c
test_config_cmd.py https://github.com/python/cpython/pull/23142/files#diff-c391e549a6a217d97a829ff868be40b427262af6c65e85e28cb36623069e93b9
test_install.py https://github.com/python/cpython/pull/23142/files#diff-295e6af311e36226b9d80f54ccae42dba8032ff8a9098f17f533ee990adec30a
test_unixccompiler.py https://github.com/python/cpython/pull/23142/files#diff-91a3332c5521dbbf1b93589f6d58c694282d6a6bf6dd60f5f196f39eee0186b1
test_util.py https://github.com/python/cpython/pull/23142/files#diff-b62c036aa7f4cd02d46d42144549ce537caf400e6582d7d02496d13f60e85f5c
__init__.py https://github.com/python/cpython/pull/23142/files#diff-ecfb0d1f34501dd30722053b9b39dea9139ffdd30dfcdc0964bcb18b95e443e4
sysconfig.py https://github.com/python/cpython/pull/23142/files#diff-d593bd299ba58e440ba411ffa0640ccd9d20d518b0cf2644ed4bdb75a82a3e70
__init__.py https://github.com/python/cpython/pull/23142/files#diff-d925268c057737ba320c489ca302fd5125f14840d22e50cfe226bdb5bb88ba8d
test_c_parser.py https://github.com/python/cpython/pull/23142/files#diff-b27029c7e6be92e233fb0e67af97162929c00dfd240013528c1f75a1629307e2
2021-02-15-12-52-23.bpo-41282.SenEje.rst https://github.com/python/cpython/pull/23142/files#diff-2641a85171a9d087678d50e464f896005bce9eb43f4b202c5299c92ea8e14fc4
Doc/distutils/apiref.rsthttps://github.com/python/cpython/pull/23142/files#diff-b436eb73eb7d7da3e2e7291c390bc202651842020991cad851b713ffb3045e04
View file https://github.com/frenzymadness/cpython/blob/cd8e387f4530c1544a712a9ed9d464532a3975df/Doc/distutils/apiref.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23142/{{ revealButtonHref }}
https://github.com/python/cpython/pull/23142/files#diff-b436eb73eb7d7da3e2e7291c390bc202651842020991cad851b713ffb3045e04
https://github.com/python/cpython/pull/23142/files#diff-b436eb73eb7d7da3e2e7291c390bc202651842020991cad851b713ffb3045e04
https://github.com/python/cpython/pull/23142/files#diff-b436eb73eb7d7da3e2e7291c390bc202651842020991cad851b713ffb3045e04
https://github.com/python/cpython/pull/23142/files#diff-b436eb73eb7d7da3e2e7291c390bc202651842020991cad851b713ffb3045e04
Doc/library/sysconfig.rsthttps://github.com/python/cpython/pull/23142/files#diff-8fd6958a1f38bdea657650b5b7cf8ffa360347b3823602bfaecf7a1b865da7a5
View file https://github.com/frenzymadness/cpython/blob/cd8e387f4530c1544a712a9ed9d464532a3975df/Doc/library/sysconfig.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23142/{{ revealButtonHref }}
https://github.com/python/cpython/pull/23142/files#diff-8fd6958a1f38bdea657650b5b7cf8ffa360347b3823602bfaecf7a1b865da7a5
https://github.com/python/cpython/pull/23142/files#diff-8fd6958a1f38bdea657650b5b7cf8ffa360347b3823602bfaecf7a1b865da7a5
Lib/distutils/extension.pyhttps://github.com/python/cpython/pull/23142/files#diff-01114ae0f2365dd61da23be4664c2044301a08ba22eddc08ff40874f8a6c9471
View file https://github.com/frenzymadness/cpython/blob/cd8e387f4530c1544a712a9ed9d464532a3975df/Lib/distutils/extension.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/23142/{{ revealButtonHref }}
https://github.com/python/cpython/pull/23142/files#diff-01114ae0f2365dd61da23be4664c2044301a08ba22eddc08ff40874f8a6c9471
https://github.com/python/cpython/pull/23142/files#diff-01114ae0f2365dd61da23be4664c2044301a08ba22eddc08ff40874f8a6c9471
https://github.com/python/cpython/pull/23142/files#diff-01114ae0f2365dd61da23be4664c2044301a08ba22eddc08ff40874f8a6c9471
https://github.com/python/cpython/pull/23142/files#diff-01114ae0f2365dd61da23be4664c2044301a08ba22eddc08ff40874f8a6c9471
Please reload this pagehttps://github.com/python/cpython/pull/23142/files
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.