| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5e8ff46b-7fe9-bc71-7aa0-ec9a839efec1 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 889A:23348E:693724:8E69C0:696AB01E |
| html-safe-nonce | b80ebc8e589e0323a6a01e06d589bcc53771a1cdd5a32ca739ac3ab473d514e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODlBOjIzMzQ4RTo2OTM3MjQ6OEU2OUMwOjY5NkFCMDFFIiwidmlzaXRvcl9pZCI6Ijc2NDU5MTIwNTYzOTY5NTE1ODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 085d794c7c9e894f93039698ba2f1d498869839f8abec53587e1254d75ecf33e |
| hovercard-subject-tag | pull_request:515322021 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/23142/files |
| twitter:image | https://avatars.githubusercontent.com/u/5688939?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5688939?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/cpython/pull/23142/files |
| Reload | https://github.com/python/cpython/pull/23142/files |
| Reload | https://github.com/python/cpython/pull/23142/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://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 page | https://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 service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| encukou | https://github.com/encukou |
| python:master | https://github.com/python/cpython/tree/master |
| frenzymadness:distutils_sysconfig | https://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 page | https://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 page | https://github.com/python/cpython/pull/23142/files |
| Please reload this page | https://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.rst | https://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.rst | https://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.py | https://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 page | https://github.com/python/cpython/pull/23142/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |