Title: TypeAliasType.__module__ can segfault · Issue #104879 · python/cpython · GitHub
Open Graph Title: TypeAliasType.__module__ can segfault · Issue #104879 · python/cpython
X Title: TypeAliasType.__module__ can segfault · Issue #104879 · python/cpython
Description: >>> ns = {} >>> exec("type A = int", ns, ns) >>> ns["A"].__module__ zsh: segmentation fault ./python.exe I will propose a fix. Linked PRs gh-104881 gh-104890
Open Graph Description: >>> ns = {} >>> exec("type A = int", ns, ns) >>> ns["A"].__module__ zsh: segmentation fault ./python.exe I will propose a fix. Linked PRs gh-104881 gh-104890
X Description: >>> ns = {} >>> exec("type A = int", ns, ns) >>> ns["A"].__module__ zsh: segmentation fault ./python.exe I will propose a fix. Linked PRs gh-104881 gh...
Opengraph URL: https://github.com/python/cpython/issues/104879
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TypeAliasType.__module__ can segfault","articleBody":"```\r\n\u003e\u003e\u003e ns = {}\r\n\u003e\u003e\u003e exec(\"type A = int\", ns, ns)\r\n\u003e\u003e\u003e ns[\"A\"].__module__\r\nzsh: segmentation fault ./python.exe\r\n```\r\n\r\nI will propose a fix.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104881\n* gh-104890\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/JelleZijlstra","@type":"Person","name":"JelleZijlstra"},"datePublished":"2023-05-24T17:11:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/104879/cpython/issues/104879"}
| 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:2f2fa84b-72b0-3311-3b3b-ff7f6acd28e2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9290:2D2FEF:17B5875:1FD78F4:6969A9AB |
| html-safe-nonce | 0768d485ab895203fcd2714ebe8f31df015ea3db3509ec660ce41538433c7810 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjkwOjJEMkZFRjoxN0I1ODc1OjFGRDc4RjQ6Njk2OUE5QUIiLCJ2aXNpdG9yX2lkIjoiNjUyNTU2NTYxOTU3NzM5OTcyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2989e72ae2701015eeea58f8f8df07fa00052a7336fb16c5ed3ceabf52ce9cdc |
| hovercard-subject-tag | issue:1724431478 |
| 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/104879/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e0bd29e03cdeb21eaec57701b766c6456743db1c171ae3112911ca5ebcd5e5b/python/cpython/issues/104879 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e0bd29e03cdeb21eaec57701b766c6456743db1c171ae3112911ca5ebcd5e5b/python/cpython/issues/104879 |
| og:image:alt | >>> ns = {} >>> exec("type A = int", ns, ns) >>> ns["A"].__module__ zsh: segmentation fault ./python.exe I will propose a fix. Linked PRs gh-104881 gh-104890 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JelleZijlstra |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| 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 | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width