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
Domain: github.com
{"@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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:077605ec-0d75-5f61-ef44-64b31ec25920 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7C8:211F05:7233C6:903705:6B0221B8 |
| html-safe-nonce | 310103d6b6d4987f80dc0df17191dd03f39a80a0b7ad7f89e4d1358048b606b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0M4OjIxMUYwNTo3MjMzQzY6OTAzNzA1OjZCMDIyMUI4IiwidmlzaXRvcl9pZCI6IjE0MjM1MDk2NTE1NTA1MTE1NDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a068e32cde475700f6ca84429ec8a50abd31e310eb9ceacb8b0ebf28ee2be591 |
| hovercard-subject-tag | issue:1198875196 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/57696/issue_layout |
| twitter:image | https://opengraph.githubassets.com/28e51b003a1dacd9dc7bc95decd7226bf7bcdc88c58e26497ecbdfa640962f91/python/cpython/issues/57696 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/28e51b003a1dacd9dc7bc95decd7226bf7bcdc88c58e26497ecbdfa640962f91/python/cpython/issues/57696 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ErikTollerud |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width