Title: Syntax warnings are duplicated in zipimport · Issue #141276 · python/cpython · GitHub
Open Graph Title: Syntax warnings are duplicated in zipimport · Issue #141276 · python/cpython
X Title: Syntax warnings are duplicated in zipimport · Issue #141276 · python/cpython
Description: When importing a not precompiled module from a ZIP archive, syntax warnings are emitted twice. Discovered during adding tests for #139652.
Open Graph Description: When importing a not precompiled module from a ZIP archive, syntax warnings are emitted twice. Discovered during adding tests for #139652.
X Description: When importing a not precompiled module from a ZIP archive, syntax warnings are emitted twice. Discovered during adding tests for #139652.
Opengraph URL: https://github.com/python/cpython/issues/141276
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Syntax warnings are duplicated in zipimport","articleBody":"When importing a not precompiled module from a ZIP archive, syntax warnings are emitted twice.\n\nDiscovered during adding tests for #139652.","author":{"url":"https://github.com/serhiy-storchaka","@type":"Person","name":"serhiy-storchaka"},"datePublished":"2025-11-09T08:09:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/141276/cpython/issues/141276"}
| 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:255d4553-ded0-b5e1-5484-f9f2a66eae3a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9090:2BBCB0:22A1374:2DC7403:696B0E68 |
| html-safe-nonce | 030736b2cb0d0a9f27108717253c003e354944b674c8f8873e87bdd055e05e5a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDkwOjJCQkNCMDoyMkExMzc0OjJEQzc0MDM6Njk2QjBFNjgiLCJ2aXNpdG9yX2lkIjoiNjUxOTgxMjM3MzQ0NTU0NTU3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dd49c75985df268ba01e14d0e5ad074962aea309bb19fd9b29a74cbce00b964d |
| hovercard-subject-tag | issue:3604588616 |
| 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/141276/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf5a5b82a6430cb04c05b6d23a29e593bcfba5be19d589ae1b90217aae767ea9/python/cpython/issues/141276 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf5a5b82a6430cb04c05b6d23a29e593bcfba5be19d589ae1b90217aae767ea9/python/cpython/issues/141276 |
| og:image:alt | When importing a not precompiled module from a ZIP archive, syntax warnings are emitted twice. Discovered during adding tests for #139652. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width