Title: UnboundLocalError when trying to raise exceptions inside execfile · Issue #46631 · python/cpython · GitHub
Open Graph Title: UnboundLocalError when trying to raise exceptions inside execfile · Issue #46631 · python/cpython
X Title: UnboundLocalError when trying to raise exceptions inside execfile · Issue #46631 · python/cpython
Description: BPO 2378 Nosy @amauryfa Files core_wierd_bug_minimal.zip: Files listed in comments above, in a zipfile. "figleaf" and "test_broken.py"test_broken3.pydebughelper.tgzlocalstofast.patch Note: these values reflect the state of the issue at t...
Open Graph Description: BPO 2378 Nosy @amauryfa Files core_wierd_bug_minimal.zip: Files listed in comments above, in a zipfile. "figleaf" and "test_broken.py"test_broken3.pydebughelper.tgzlocalstofast.patch Note: these va...
X Description: BPO 2378 Nosy @amauryfa Files core_wierd_bug_minimal.zip: Files listed in comments above, in a zipfile. "figleaf" and "test_broken.py"test_broken3.pydebughelper.tgzlocalstofast....
Opengraph URL: https://github.com/python/cpython/issues/46631
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UnboundLocalError when trying to raise exceptions inside execfile","articleBody":"BPO | [2378](https://bugs.python.org/issue2378)\n--- | :---\nNosy | @amauryfa\nFiles | \u003cli\u003e[core_wierd_bug_minimal.zip](https://bugs.python.org/file9716/core_wierd_bug_minimal.zip \"Uploaded as application/zip at 2008-03-18.02:55:43 by jerry.seutter\"): Files listed in comments above, in a zipfile. \"figleaf\" and \"test_broken.py\"\u003c/li\u003e\u003cli\u003e[test_broken3.py](https://bugs.python.org/file10698/test_broken3.py \"Uploaded as text/plain at 2008-06-22.02:38:13 by tenuki\")\u003c/li\u003e\u003cli\u003e[debughelper.tgz](https://bugs.python.org/file10699/debughelper.tgz \"Uploaded as application/x-gzip at 2008-06-22.02:59:50 by tenuki\")\u003c/li\u003e\u003cli\u003e[localstofast.patch](https://bugs.python.org/file10953/localstofast.patch \"Uploaded as text/plain at 2008-07-21.09:23:55 by @amauryfa\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/amauryfa'\nclosed_at = \u003cDate 2008-07-21.22:01:19.467\u003e\ncreated_at = \u003cDate 2008-03-18.02:55:44.479\u003e\nlabels = ['interpreter-core', 'type-bug']\ntitle = 'UnboundLocalError when trying to raise exceptions inside execfile'\nupdated_at = \u003cDate 2008-07-21.22:01:19.465\u003e\nuser = 'https://bugs.python.org/jerryseutter'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2008-07-21.22:01:19.465\u003e\nactor = 'amaury.forgeotdarc'\nassignee = 'amaury.forgeotdarc'\nclosed = True\nclosed_date = \u003cDate 2008-07-21.22:01:19.467\u003e\ncloser = 'amaury.forgeotdarc'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2008-03-18.02:55:44.479\u003e\ncreator = 'jerry.seutter'\ndependencies = []\nfiles = ['9716', '10698', '10699', '10953']\nhgrepos = []\nissue_num = 2378\nkeywords = ['patch']\nmessage_count = 10.0\nmessages = ['63856', '66575', '66662', '66665', '66674', '68554', '68555', '68613', '68617', '70122']\nnosy_count = 6.0\nnosy_names = ['jhylton', 'amaury.forgeotdarc', 'jerry.seutter', 'werneck', 'nikolasco', 'tenuki']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = None\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue2378'\nversions = ['Python 2.6']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/jerryseutter","@type":"Person","name":"jerryseutter"},"datePublished":"2008-03-18T02:55:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/46631/cpython/issues/46631"}
| 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:7d274bfb-f9dc-1dec-e516-7818aab84f47 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A98C:301ED8:B6721E:FBA4EF:6A55BC9E |
| html-safe-nonce | 488ad88264ecb37ffbbf86655b4c082abc07001612c987d66a8abb8ed4b90ff0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOThDOjMwMUVEODpCNjcyMUU6RkJBNEVGOjZBNTVCQzlFIiwidmlzaXRvcl9pZCI6IjY2OTIwOTAxMzg4MzgwMjMzMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 10d223c4259d3ef5d942918eb7a5318d1a40659dc873fbd7a95ae061a05d1eb2 |
| hovercard-subject-tag | issue:1198829781 |
| 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/46631/issue_layout |
| twitter:image | https://opengraph.githubassets.com/56f00dabb08085e4a1de76e10fdba25c67a28e82e1852fc4a6e04ed0ef3d81e6/python/cpython/issues/46631 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/56f00dabb08085e4a1de76e10fdba25c67a28e82e1852fc4a6e04ed0ef3d81e6/python/cpython/issues/46631 |
| og:image:alt | BPO 2378 Nosy @amauryfa Files core_wierd_bug_minimal.zip: Files listed in comments above, in a zipfile. "figleaf" and "test_broken.py"test_broken3.pydebughelper.tgzlocalstofast.patch Note: these va... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jerryseutter |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 64b9ae238e18eb87ead1f9fe37a7cc81d67d85aa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width