| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6528f54e-bfd7-f1e5-df8b-34ac2ed61374 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 98EE:2E6F49:5BBF7D:7B914A:6A5238F0 |
| html-safe-nonce | ad3c4072c47093bfdaa9bf6c77e39ad02327474fff79a117fbfc3e2431801a6a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEVFOjJFNkY0OTo1QkJGN0Q6N0I5MTRBOjZBNTIzOEYwIiwidmlzaXRvcl9pZCI6IjU4NDQxMDY5NzQzMjk5NzcwNzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0f2be346e844d3ddfb178bb5cebcc2b0ebd99daabd969431a383aeefa1ef4477 |
| hovercard-subject-tag | pull_request:303019603 |
| 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/15057/files |
| twitter:image | https://avatars.githubusercontent.com/u/33177550?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/33177550?s=400&v=4 |
| og:image:alt | Added optimization to prevent PyImport_GetModule() from returning partially-initialized module.
https://bugs.python.org/issue35943 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/15057/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15057%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F15057%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/15057/files |
| Reload | https://github.com/python/cpython/pull/15057/files |
| Reload | https://github.com/python/cpython/pull/15057/files |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| brettcannon | https://github.com/brettcannon |
| python:master | https://github.com/python/cpython/tree/master |
| nanjekyejoannah:issue35943 | https://github.com/nanjekyejoannah/cpython/tree/issue35943 |
|
Conversation
52
| https://github.com/python/cpython/pull/15057 |
|
Commits
11
| https://github.com/python/cpython/pull/15057/commits |
|
Checks
0
| https://github.com/python/cpython/pull/15057/checks |
|
Files changed
| https://github.com/python/cpython/pull/15057/files |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
|
bpo-35943: PyImport_GetModule() can return partially-initialized module
| https://github.com/python/cpython/pull/15057/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/15057/files |
|
c374e0a
PyImport_GetModule() can return partially-initialized module
Jul 31, 2019
| https://github.com/python/cpython/pull/15057/commits/c374e0aff571df7366818e9421473314bb52ab4c |
|
01fe079
📜🤖 Added by blurb_it.
blurb-it[bot] Jul 31, 2019
| https://github.com/python/cpython/pull/15057/commits/01fe07951ecb6ee94fd113ae732f3cd2662a6967 |
|
7d1f7ee
Merge branch 'issue35943' of https://github.com/nanjekyejoannah/cpyth…
Aug 1, 2019
| https://github.com/python/cpython/pull/15057/commits/7d1f7ee45ca3b06614afe8bcbb2adfc45bb2819e |
|
f2be697
Isolate duplicate code in a function
Aug 1, 2019
| https://github.com/python/cpython/pull/15057/commits/f2be697ab3179bcd934a1d62d9580ba259de6fc0 |
|
0925812
ensure any module returned is initialized
nanjekyejoannah Aug 2, 2019
| https://github.com/python/cpython/pull/15057/commits/09258125d4075dcfea5e4ceb10d8390c0b42ecac |
|
57a6231
change to Py_DECREF and fix doc
nanjekyejoannah Aug 2, 2019
| https://github.com/python/cpython/pull/15057/commits/57a6231816ec337fb56784a57b83d19de3f1eb44 |
|
6c1c28e
Update Misc/NEWS.d/next/Library/2019-07-31-15-52-51.bpo-35943.-KswoB.rst
nanjekyejoannah Aug 3, 2019
| https://github.com/python/cpython/pull/15057/commits/6c1c28e4eaffaf8abb138b22bec603c8bd6c8708 |
|
13f438e
Update Python/import.c
nanjekyejoannah Aug 3, 2019
| https://github.com/python/cpython/pull/15057/commits/13f438ef4719ed455574a05a339375b00b212fb6 |
|
fc83ad3
changes to import_ensure_initialized
nanjekyejoannah Aug 16, 2019
| https://github.com/python/cpython/pull/15057/commits/fc83ad39cc0d0a2e9c7b2c0ec95f5d50ca633fac |
|
ff771e7
stop checking for spec
nanjekyejoannah Aug 19, 2019
| https://github.com/python/cpython/pull/15057/commits/ff771e7fea799d0b8556746434f72343f0bbf3b9 |
|
57dbdf5
Remove extra vertical space
nanjekyejoannah Aug 19, 2019
| https://github.com/python/cpython/pull/15057/commits/57dbdf5ff154a399b2bff3706ec07c82d03b8c03 |
|
Clear filters
| https://github.com/python/cpython/pull/15057/files |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
|
2019-07-31-15-52-51.bpo-35943.-KswoB.rst
| https://github.com/python/cpython/pull/15057/files#diff-0cbb8df49db448c396ed7a31dea50e4f6bdba0263373c82cd34ca314422070de |
|
import.c
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| Misc/NEWS.d/next/Library/2019-07-31-15-52-51.bpo-35943.-KswoB.rst | https://github.com/python/cpython/pull/15057/files#diff-0cbb8df49db448c396ed7a31dea50e4f6bdba0263373c82cd34ca314422070de |
|
View file
| https://github.com/nanjekyejoannah/cpython/blob/57dbdf5ff154a399b2bff3706ec07c82d03b8c03/Misc/NEWS.d/next/Library/2019-07-31-15-52-51.bpo-35943.-KswoB.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15057/{{ revealButtonHref }} |
| Python/import.c | https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
View file
| https://github.com/nanjekyejoannah/cpython/blob/57dbdf5ff154a399b2bff3706ec07c82d03b8c03/Python/import.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15057/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Aug 10, 2019 | https://github.com/python/cpython/pull/15057/files#r312682883 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Aug 10, 2019 | https://github.com/python/cpython/pull/15057/files#r312681551 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| gnprice | https://github.com/gnprice |
| Aug 10, 2019 | https://github.com/python/cpython/pull/15057/files#r312712458 |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| nanjekyejoannah | https://github.com/nanjekyejoannah |
| Aug 16, 2019 | https://github.com/python/cpython/pull/15057/files#r314716895 |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @gnprice | https://github.com/gnprice |
| bpo issue | https://bugs.python.org/issue37872 |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Sep 10, 2019 | https://github.com/python/cpython/pull/15057/files#r322834478 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Aug 10, 2019 | https://github.com/python/cpython/pull/15057/files#r312682042 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Aug 10, 2019 | https://github.com/python/cpython/pull/15057/files#r312693613 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
|
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| Aug 10, 2019 | https://github.com/python/cpython/pull/15057/files#r312683057 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
| gnprice | https://github.com/gnprice |
| Aug 10, 2019 | https://github.com/python/cpython/pull/15057/files#r312683290 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/15057/files |
|
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
| https://github.com/python/cpython/pull/15057/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
| 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 |