René's URL Explorer Experiment


Title: bpo-33237: Improve AttributeError message for partially initialized module. by serhiy-storchaka · Pull Request #6398 · python/cpython · GitHub

Open Graph Title: bpo-33237: Improve AttributeError message for partially initialized module. by serhiy-storchaka · Pull Request #6398 · python/cpython

X Title: bpo-33237: Improve AttributeError message for partially initialized module. by serhiy-storchaka · Pull Request #6398 · python/cpython

Description: https://bugs.python.org/issue33237

Open Graph Description: https://bugs.python.org/issue33237

X Description: https://bugs.python.org/issue33237

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ac62154f-d267-3522-3bd5-ee651e78cbe5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id942E:24A251:E0578A:12F09EB:6A612465
html-safe-nonce699325779174f900d2a54d4c56fa4a7f4bf44cf352596d24e52fa5917227f965
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDJFOjI0QTI1MTpFMDU3OEE6MTJGMDlFQjo2QTYxMjQ2NSIsInZpc2l0b3JfaWQiOiIzNzQxNzIwMDUzNDQyMjI1MjUzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacade26240eef096dd7d616b30c07338bb09becbfdf336a9f33c6d78233f4dc80e
hovercard-subject-tagpull_request:179985752
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/6398/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:althttps://bugs.python.org/issue33237
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d9987c85f924dc5597480f737e023a6e985b0316e672f00513eb4ba440d87ba
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
released38dc1dac7b5a5d0788e068e080820de6de90a28
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%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
Reloadhttps://github.com/python/cpython/pull/6398/files
Reloadhttps://github.com/python/cpython/pull/6398/files
Reloadhttps://github.com/python/cpython/pull/6398/files
Please reload this pagehttps://github.com/python/cpython/pull/6398/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:mod-attr-errorhttps://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 pagehttps://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 pagehttps://github.com/python/cpython/pull/6398/files
Please reload this pagehttps://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.hhttps://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__.pyhttps://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.pyhttps://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.pyhttps://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.rsthttps://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 pagehttps://github.com/python/cpython/pull/6398/files
Objects/moduleobject.chttps://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
vstinnerhttps://github.com/vstinner
Oct 22, 2018https://github.com/python/cpython/pull/6398/files#r226992949
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/6398/files
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 29, 2018https://github.com/python/cpython/pull/6398/files#r229030094
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/6398/files
vstinnerhttps://github.com/vstinner
Oct 29, 2018https://github.com/python/cpython/pull/6398/files#r229058469
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://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.chttps://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
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.