René's URL Explorer Experiment


Title: inspect.getmodule fails when module imports change sys.modules · Issue #57696 · python/cpython · GitHub

Open Graph Title: inspect.getmodule fails when module imports change sys.modules · Issue #57696 · python/cpython

X Title: inspect.getmodule fails when module imports change sys.modules · Issue #57696 · python/cpython

Description: BPO 13487 Nosy @gpshead, @amauryfa, @ned-deily, @merwok, @meadori, @ericsnowcurrently, @serhiy-storchaka, @tomdz, @miss-islington PRs #18786#18787#18788 Files getmodulefix.patch Note: these values reflect the state of the issue at the ti...

Open Graph Description: BPO 13487 Nosy @gpshead, @amauryfa, @ned-deily, @merwok, @meadori, @ericsnowcurrently, @serhiy-storchaka, @tomdz, @miss-islington PRs #18786#18787#18788 Files getmodulefix.patch Note: these values ...

X Description: BPO 13487 Nosy @gpshead, @amauryfa, @ned-deily, @merwok, @meadori, @ericsnowcurrently, @serhiy-storchaka, @tomdz, @miss-islington PRs #18786#18787#18788 Files getmodulefix.patch Note: these values ...

Opengraph URL: https://github.com/python/cpython/issues/57696

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"inspect.getmodule fails when module imports change sys.modules","articleBody":"BPO | [13487](https://bugs.python.org/issue13487)\n--- | :---\nNosy | @gpshead, @amauryfa, @ned-deily, @merwok, @meadori, @ericsnowcurrently, @serhiy-storchaka, @tomdz, @miss-islington\nPRs | \u003cli>python/cpython#18786\u003c/li>\u003cli>python/cpython#18787\u003c/li>\u003cli>python/cpython#18788\u003c/li>\nFiles | \u003cli>[getmodulefix.patch](https://bugs.python.org/file23790/getmodulefix.patch \"Uploaded as text/plain at 2011-11-27.03:06:47 by Erik.Tollerud\")\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = 'https://github.com/gpshead'\nclosed_at = \u003cDate 2020-03-05.01:07:10.959>\ncreated_at = \u003cDate 2011-11-27.03:06:48.658>\nlabels = ['3.7', '3.8', 'type-bug', 'library']\ntitle = 'inspect.getmodule fails when module imports change sys.modules'\nupdated_at = \u003cDate 2020-03-10.07:48:53.641>\nuser = 'https://bugs.python.org/ErikTollerud'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-03-10.07:48:53.641>\nactor = 'ned.deily'\nassignee = 'gregory.p.smith'\nclosed = True\nclosed_date = \u003cDate 2020-03-05.01:07:10.959>\ncloser = 'gregory.p.smith'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2011-11-27.03:06:48.658>\ncreator = 'Erik.Tollerud'\ndependencies = []\nfiles = ['23790']\nhgrepos = []\nissue_num = 13487\nkeywords = ['patch']\nmessage_count = 20.0\nmessages = ['148438', '148459', '148487', '148509', '148511', '148581', '148583', '299829', '301376', '302312', '302327', '302337', '363402', '363403', '363407', '363408', '363409', '363410', '363411', '363810']\nnosy_count = 12.0\nnosy_names = ['gregory.p.smith', 'amaury.forgeotdarc', 'ned.deily', 'eric.araujo', 'meador.inge', 'python-dev', 'eric.snow', 'Erik.Tollerud', 'serhiy.storchaka', 'psimons', 'tomdzk', 'miss-islington']\npr_nums = ['18786', '18787', '18788']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'commit review'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue13487'\nversions = ['Python 3.6', 'Python 3.7', 'Python 3.8']\n```\n\n\u003c/p>\u003c/details>\n","author":{"url":null,"@type":"Person","name":"ErikTollerud"},"datePublished":"2011-11-27T03:06:49Z","url":"https://github.com/python/cpython/issues/57696"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:077605ec-0d75-5f61-ef44-64b31ec25920
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC7C8:211F05:7233C6:903705:6B0221B8
html-safe-nonce310103d6b6d4987f80dc0df17191dd03f39a80a0b7ad7f89e4d1358048b606b2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0M4OjIxMUYwNTo3MjMzQzY6OTAzNzA1OjZCMDIyMUI4IiwidmlzaXRvcl9pZCI6IjE0MjM1MDk2NTE1NTA1MTE1NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca068e32cde475700f6ca84429ec8a50abd31e310eb9ceacb8b0ebf28ee2be591
hovercard-subject-tagissue:1198875196
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/57696/issue_layout
twitter:imagehttps://opengraph.githubassets.com/28e51b003a1dacd9dc7bc95decd7226bf7bcdc88c58e26497ecbdfa640962f91/python/cpython/issues/57696
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/28e51b003a1dacd9dc7bc95decd7226bf7bcdc88c58e26497ecbdfa640962f91/python/cpython/issues/57696
og:image:altBPO 13487 Nosy @gpshead, @amauryfa, @ned-deily, @merwok, @meadori, @ericsnowcurrently, @serhiy-storchaka, @tomdz, @miss-islington PRs #18786#18787#18788 Files getmodulefix.patch Note: these values ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameErikTollerud
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/57696#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F57696
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F57696
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/57696
Reloadhttps://github.com/python/cpython/issues/57696
Reloadhttps://github.com/python/cpython/issues/57696
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/57696
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/57696
inspect.getmodule fails when module imports change sys.moduleshttps://github.com/python/cpython/issues/57696#top
https://github.com/gpshead
3.7 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.7%20(EOL)%22
3.8 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.8%20(EOL)%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Nov 27, 2011https://github.com/python/cpython/issues/57696#issue-1198875196
13487https://bugs.python.org/issue13487
@gpsheadhttps://github.com/gpshead
@amauryfahttps://github.com/amauryfa
@ned-deilyhttps://github.com/ned-deily
@merwokhttps://github.com/merwok
@meadorihttps://github.com/meadori
@ericsnowcurrentlyhttps://github.com/ericsnowcurrently
@serhiy-storchakahttps://github.com/serhiy-storchaka
@tomdzhttps://github.com/tomdz
@miss-islingtonhttps://github.com/miss-islington
bpo-13487: Use sys.modules.copy() in inspect for thread safety #18786https://github.com/python/cpython/pull/18786
[3.8] bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) #18787https://github.com/python/cpython/pull/18787
[3.7] bpo-13487: Use sys.modules.copy() in inspect.getmodule() for thread safety. (GH-18786) #18788https://github.com/python/cpython/pull/18788
getmodulefix.patchhttps://bugs.python.org/file23790/getmodulefix.patch
Nexthttps://github.com/python/cpython/issues/57696?timeline_page=1
on Nov 27, 2011https://github.com/python/cpython/issues/57696#issuecomment-1093563382
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
on Nov 27, 2011https://github.com/python/cpython/issues/57696#event-6403005910
https://github.com/amauryfa
amauryfahttps://github.com/amauryfa
on Nov 27, 2011https://github.com/python/cpython/issues/57696#issuecomment-1093563383
https://github.com/merwok
merwokhttps://github.com/merwok
on Nov 28, 2011https://github.com/python/cpython/issues/57696#issuecomment-1093563384
merwokhttps://github.com/merwok
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Nov 28, 2011https://github.com/python/cpython/issues/57696#event-6403005911
on Nov 28, 2011https://github.com/python/cpython/issues/57696#issuecomment-1093563385
http://pypi.python.org/pypi/pyhttp://pypi.python.org/pypi/py
https://github.com/amauryfa
amauryfahttps://github.com/amauryfa
on Nov 28, 2011https://github.com/python/cpython/issues/57696#issuecomment-1093563386
merwokhttps://github.com/merwok
on Nov 29, 2011https://github.com/python/cpython/issues/57696#event-6403005912
on Nov 29, 2011https://github.com/python/cpython/issues/57696#issuecomment-1093563387
bpo-13487https://bugs.python.org/issue?@action=redirect&bpo=13487
http://hg.python.org/cpython/rev/2ef359d7a2e9http://hg.python.org/cpython/rev/2ef359d7a2e9
https://github.com/merwok
merwokhttps://github.com/merwok
on Nov 29, 2011https://github.com/python/cpython/issues/57696#issuecomment-1093563388
merwokhttps://github.com/merwok
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Nov 29, 2011https://github.com/python/cpython/issues/57696#event-6403005913
on Aug 7, 2017https://github.com/python/cpython/issues/57696#issuecomment-1093563389
on Sep 5, 2017https://github.com/python/cpython/issues/57696#issuecomment-1093563390
https://github.com/merwok
merwokhttps://github.com/merwok
on Sep 16, 2017https://github.com/python/cpython/issues/57696#issuecomment-1093563392
merwokhttps://github.com/merwok
3.7 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.7%20(EOL)%22
on Sep 16, 2017https://github.com/python/cpython/issues/57696#event-6403005914
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
on Sep 16, 2017https://github.com/python/cpython/issues/57696#issuecomment-1093563393
on Sep 16, 2017https://github.com/python/cpython/issues/57696#issuecomment-1093563394
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
on Mar 4, 2020https://github.com/python/cpython/issues/57696#issuecomment-1093563395
https://github.com/python/cpython/blob/master/Objects/listobject.chttps://github.com/python/cpython/blob/master/Objects/listobject.c
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
on Mar 4, 2020https://github.com/python/cpython/issues/57696#issuecomment-1093563396
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
on Mar 5, 2020https://github.com/python/cpython/issues/57696#issuecomment-1093563397
85cf1d5https://github.com/python/cpython/commit/85cf1d514b84dc9a4bcb40e20a12e1d82ff19f20
bpo-13487https://bugs.python.org/issue?@action=redirect&bpo=13487
GH-18786https://github.com/python/cpython/pull/18786
85cf1d5https://github.com/python/cpython/commit/85cf1d514b84dc9a4bcb40e20a12e1d82ff19f20
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
on Mar 5, 2020https://github.com/python/cpython/issues/57696#issuecomment-1093563400
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
on Mar 5, 2020https://github.com/python/cpython/issues/57696#issuecomment-1093563401
a123812https://github.com/python/cpython/commit/a12381233a243ba7d5151ebf060feb57dd540bef
bpo-13487https://bugs.python.org/issue?@action=redirect&bpo=13487
GH-18786https://github.com/python/cpython/pull/18786
a123812https://github.com/python/cpython/commit/a12381233a243ba7d5151ebf060feb57dd540bef
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
on Mar 5, 2020https://github.com/python/cpython/issues/57696#issuecomment-1093563402
6b452ffhttps://github.com/python/cpython/commit/6b452ff97f70eca79ab956987cc04b6586feca00
bpo-13487https://bugs.python.org/issue?@action=redirect&bpo=13487
GH-18786https://github.com/python/cpython/pull/18786
6b452ffhttps://github.com/python/cpython/commit/6b452ff97f70eca79ab956987cc04b6586feca00
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
on Mar 5, 2020https://github.com/python/cpython/issues/57696#issuecomment-1093563403
gpsheadhttps://github.com/gpshead
3.8 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.8%20(EOL)%22
on Mar 5, 2020https://github.com/python/cpython/issues/57696#event-6403005917
gpsheadhttps://github.com/gpshead
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 5, 2020https://github.com/python/cpython/issues/57696#event-6403005918
gpsheadhttps://github.com/gpshead
gpsheadhttps://github.com/gpshead
merwokhttps://github.com/merwok
on Mar 5, 2020https://github.com/python/cpython/issues/57696#event-6403005919
https://github.com/ned-deily
ned-deilyhttps://github.com/ned-deily
on Mar 10, 2020https://github.com/python/cpython/issues/57696#issuecomment-1093563404
7058d2dhttps://github.com/python/cpython/commit/7058d2d96c5ca4dfc6c754c5cd737c6eb2a8fd67
bpo-13487https://bugs.python.org/issue?@action=redirect&bpo=13487
GH-18786https://github.com/python/cpython/pull/18786
7058d2dhttps://github.com/python/cpython/commit/7058d2d96c5ca4dfc6c754c5cd737c6eb2a8fd67
ezio-melottihttps://github.com/ezio-melotti
https://github.com/python/cpython/issues/undefined
on Apr 10, 2022https://github.com/python/cpython/issues/57696#event-6403005922
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/57696
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/57696
gpsheadhttps://github.com/gpshead
3.7 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.7%20(EOL)%22
3.8 (EOL)end of lifehttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.8%20(EOL)%22
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
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.