Title: framelocalsproxy_new() crash if called with no arguments · Issue #124513 · python/cpython · GitHub
Open Graph Title: framelocalsproxy_new() crash if called with no arguments · Issue #124513 · python/cpython
X Title: framelocalsproxy_new() crash if called with no arguments · Issue #124513 · python/cpython
Description: Bug report Example on Python 3.13.0rc2: $ python3.13 >>> import sys >>> FrameLocalsProxy=type([sys._getframe().f_locals for x in range(1)][0]) ... >>> FrameLocalsProxy() Erreur de segmentation (core dumped) The bug was discovered by zope...
Open Graph Description: Bug report Example on Python 3.13.0rc2: $ python3.13 >>> import sys >>> FrameLocalsProxy=type([sys._getframe().f_locals for x in range(1)][0]) ... >>> FrameLocalsProxy() Erreur de segmentation (cor...
X Description: Bug report Example on Python 3.13.0rc2: $ python3.13 >>> import sys >>> FrameLocalsProxy=type([sys._getframe().f_locals for x in range(1)][0]) ... >>> FrameLocalsProxy() ...
Opengraph URL: https://github.com/python/cpython/issues/124513
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"framelocalsproxy_new() crash if called with no arguments","articleBody":"# Bug report\n\nExample on Python 3.13.0rc2:\n\n```\n$ python3.13\n\u003e\u003e\u003e import sys\n\u003e\u003e\u003e FrameLocalsProxy=type([sys._getframe().f_locals for x in range(1)][0])\n... \n\u003e\u003e\u003e FrameLocalsProxy()\nErreur de segmentation (core dumped)\n```\n\nThe bug was discovered by zope.interface test suite: https://github.com/zopefoundation/zope.interface/issues/323#issuecomment-2373346327\n\nI'm working on a fix.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-124515\n* gh-124539\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2024-09-25T12:38:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/124513/cpython/issues/124513"}
| 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:b3a36ca1-6e2f-88c7-ba62-89499af9c7f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B308:3B3793:3DE5:4EC2:696B30D6 |
| html-safe-nonce | 8d98bf16873599de5f9b179a5e2747dfd9fe88aa690c561451c6b88634b23f5d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzA4OjNCMzc5MzozREU1OjRFQzI6Njk2QjMwRDYiLCJ2aXNpdG9yX2lkIjoiNzUzMTgzMjI2NjExMTc5MTMxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | fe6ab8cc11d62ad21a2792f3537cf1c0eaeb6d22204c7c569b3b610f496be94d |
| hovercard-subject-tag | issue:2547879535 |
| 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/124513/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8b6fba5769d69a12c32a6317f07ac622dddcc80a1e136a131fafb6c6bcf024bb/python/cpython/issues/124513 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8b6fba5769d69a12c32a6317f07ac622dddcc80a1e136a131fafb6c6bcf024bb/python/cpython/issues/124513 |
| og:image:alt | Bug report Example on Python 3.13.0rc2: $ python3.13 >>> import sys >>> FrameLocalsProxy=type([sys._getframe().f_locals for x in range(1)][0]) ... >>> FrameLocalsProxy() Erreur de segmentation (cor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| 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