| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ac62154f-d267-3522-3bd5-ee651e78cbe5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 942E:24A251:E0578A:12F09EB:6A612465 |
| html-safe-nonce | 699325779174f900d2a54d4c56fa4a7f4bf44cf352596d24e52fa5917227f965 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDJFOjI0QTI1MTpFMDU3OEE6MTJGMDlFQjo2QTYxMjQ2NSIsInZpc2l0b3JfaWQiOiIzNzQxNzIwMDUzNDQyMjI1MjUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ade26240eef096dd7d616b30c07338bb09becbfdf336a9f33c6d78233f4dc80e |
| hovercard-subject-tag | pull_request:179985752 |
| 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/6398/files |
| twitter:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3659035?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue33237 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d9987c85f924dc5597480f737e023a6e985b0316e672f00513eb4ba440d87ba |
| 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 | d38dc1dac7b5a5d0788e068e080820de6de90a28 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/6398/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F6398%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 |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| 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%2F6398%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/6398/files |
| Reload | https://github.com/python/cpython/pull/6398/files |
| Reload | https://github.com/python/cpython/pull/6398/files |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.9k
| 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.4k
| 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 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:master | https://github.com/python/cpython/tree/master |
| serhiy-storchaka:mod-attr-error | https://github.com/serhiy-storchaka/cpython/tree/mod-attr-error |
|
Conversation
19
| https://github.com/python/cpython/pull/6398 |
|
Commits
11
| https://github.com/python/cpython/pull/6398/commits |
|
Checks
0
| https://github.com/python/cpython/pull/6398/checks |
|
Files changed
| https://github.com/python/cpython/pull/6398/files |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
|
bpo-33237: Improve AttributeError message for partially initialized module.
| https://github.com/python/cpython/pull/6398/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/6398/files |
|
8684e59
bpo-33237: Improve AttributeError message for partially initialized m…
serhiy-storchaka Apr 6, 2018
| https://github.com/python/cpython/pull/6398/commits/8684e59c5cccd5aac7b1f582048a78f37b9b8a82 |
|
b072b9b
Update error message.
serhiy-storchaka Apr 6, 2018
| https://github.com/python/cpython/pull/6398/commits/b072b9badd0be2fbc8a4e3c27f520be4cec0f55c |
|
770f2f5
Add _PyModule_IsInitializing().
serhiy-storchaka Jul 24, 2018
| https://github.com/python/cpython/pull/6398/commits/770f2f5e62b8f4bece4dcf9e69c22d6fe0efa2eb |
|
8df6406
Add a news entry.
serhiy-storchaka Jul 24, 2018
| https://github.com/python/cpython/pull/6398/commits/8df640697bb59f511ebb13823bb2f20b272ecaa8 |
|
4c2dea3
Refactoring.
serhiy-storchaka Jul 28, 2018
| https://github.com/python/cpython/pull/6398/commits/4c2dea3b64ed592c9c5c068bb611ac244c94ae71 |
|
86eb2c8
Merge branch 'master' into mod-attr-error
serhiy-storchaka Oct 20, 2018
| https://github.com/python/cpython/pull/6398/commits/86eb2c8278c1520419e265254319ef66359dd842 |
|
b43863f
Merge branch 'master' into mod-attr-error
serhiy-storchaka Oct 20, 2018
| https://github.com/python/cpython/pull/6398/commits/b43863f9fcac4e9a40a5d7f895f21442b3edefb3 |
|
9f37fba
Restore support of non-module subclasses in PyImport_ImportModuleLeve…
serhiy-storchaka Oct 20, 2018
| https://github.com/python/cpython/pull/6398/commits/9f37fba2ce60611983d4cfabab48fde8abcfbc29 |
|
1bd96f9
Add tests.
serhiy-storchaka Oct 21, 2018
| https://github.com/python/cpython/pull/6398/commits/1bd96f9292bf1745596b0aaead00b7ad712f4425 |
|
9a78720
Remove redundant condition and add a comment.
serhiy-storchaka Oct 29, 2018
| https://github.com/python/cpython/pull/6398/commits/9a78720187bd8a1e6311cb5167d478fc0ea87a8f |
|
d08f64d
Merge branch 'master' into mod-attr-error
serhiy-storchaka Oct 29, 2018
| https://github.com/python/cpython/pull/6398/commits/d08f64d09f4840cc2dbad12ac2ab562365549ceb |
|
Clear filters
| https://github.com/python/cpython/pull/6398/files |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
|
moduleobject.h
| https://github.com/python/cpython/pull/6398/files#diff-b922950b4d9070569144f21cce5616a05ef2b86415c05e965f10acfbe8652d9f |
|
__init__.py
| https://github.com/python/cpython/pull/6398/files#diff-ea25b7196846cae64e3ed2b3fb2e1ee420961442fcd801a07bcd9000178bbd58 |
|
source.py
| https://github.com/python/cpython/pull/6398/files#diff-0bd7897ae0f8e5fb1eae93622622f95121c6f07081627b4a2bd635bbe56d12aa |
|
use.py
| https://github.com/python/cpython/pull/6398/files#diff-a10ab1835cccdf0afe3fda166f3634f601fa2576154e0de8ece5e9cd85052b5f |
|
2018-07-24-12-54-57.bpo-33237.O95mps.rst
| https://github.com/python/cpython/pull/6398/files#diff-406309891163f97bd8c6abbda66ebd717c865abf8246637e475e71c5465da975 |
|
moduleobject.c
| https://github.com/python/cpython/pull/6398/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
import.c
| https://github.com/python/cpython/pull/6398/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
| Include/moduleobject.h | https://github.com/python/cpython/pull/6398/files#diff-b922950b4d9070569144f21cce5616a05ef2b86415c05e965f10acfbe8652d9f |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/d08f64d09f4840cc2dbad12ac2ab562365549ceb/Include/moduleobject.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/6398/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/6398/files#diff-b922950b4d9070569144f21cce5616a05ef2b86415c05e965f10acfbe8652d9f |
|
| https://github.com/python/cpython/pull/6398/files#diff-b922950b4d9070569144f21cce5616a05ef2b86415c05e965f10acfbe8652d9f |
| Lib/test/test_import/__init__.py | https://github.com/python/cpython/pull/6398/files#diff-ea25b7196846cae64e3ed2b3fb2e1ee420961442fcd801a07bcd9000178bbd58 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/d08f64d09f4840cc2dbad12ac2ab562365549ceb/Lib/test/test_import/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/6398/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/6398/files#diff-ea25b7196846cae64e3ed2b3fb2e1ee420961442fcd801a07bcd9000178bbd58 |
|
| https://github.com/python/cpython/pull/6398/files#diff-ea25b7196846cae64e3ed2b3fb2e1ee420961442fcd801a07bcd9000178bbd58 |
| Lib/test/test_import/data/circular_imports/source.py | https://github.com/python/cpython/pull/6398/files#diff-0bd7897ae0f8e5fb1eae93622622f95121c6f07081627b4a2bd635bbe56d12aa |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/d08f64d09f4840cc2dbad12ac2ab562365549ceb/Lib/test/test_import/data/circular_imports/source.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/6398/{{ revealButtonHref }} |
| Lib/test/test_import/data/circular_imports/use.py | https://github.com/python/cpython/pull/6398/files#diff-a10ab1835cccdf0afe3fda166f3634f601fa2576154e0de8ece5e9cd85052b5f |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/d08f64d09f4840cc2dbad12ac2ab562365549ceb/Lib/test/test_import/data/circular_imports/use.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/6398/{{ revealButtonHref }} |
| Misc/NEWS.d/next/Core and Builtins/2018-07-24-12-54-57.bpo-33237.O95mps.rst | https://github.com/python/cpython/pull/6398/files#diff-406309891163f97bd8c6abbda66ebd717c865abf8246637e475e71c5465da975 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/d08f64d09f4840cc2dbad12ac2ab562365549ceb/Misc/NEWS.d/next/Core%20and%20Builtins/2018-07-24-12-54-57.bpo-33237.O95mps.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/6398/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
| Objects/moduleobject.c | https://github.com/python/cpython/pull/6398/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/d08f64d09f4840cc2dbad12ac2ab562365549ceb/Objects/moduleobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/6398/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/6398/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
| vstinner | https://github.com/vstinner |
| Oct 22, 2018 | https://github.com/python/cpython/pull/6398/files#r226992949 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Oct 29, 2018 | https://github.com/python/cpython/pull/6398/files#r229030094 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
| vstinner | https://github.com/vstinner |
| Oct 29, 2018 | https://github.com/python/cpython/pull/6398/files#r229058469 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/6398/files |
|
| https://github.com/python/cpython/pull/6398/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
|
| https://github.com/python/cpython/pull/6398/files#diff-8c2a0fd137780a0ee11c19aae8e46e8490f7667698cd78a5bde466bc995a08c5 |
| Python/import.c | https://github.com/python/cpython/pull/6398/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
View file
| https://github.com/serhiy-storchaka/cpython/blob/d08f64d09f4840cc2dbad12ac2ab562365549ceb/Python/import.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/6398/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/6398/files#diff-28cfc3e2868980a79d93d2ebdc8747dcb9231f3dd7f2caef96e74107d1ea3bf3 |
|
| https://github.com/python/cpython/pull/6398/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 |