Title: Python doesn't exit with proper resultcode on SIGINT in runpy (pymain_run_module) · Issue #85768 · python/cpython · GitHub
Open Graph Title: Python doesn't exit with proper resultcode on SIGINT in runpy (pymain_run_module) · Issue #85768 · python/cpython
X Title: Python doesn't exit with proper resultcode on SIGINT in runpy (pymain_run_module) · Issue #85768 · python/cpython
Description: BPO 41602 Nosy @gvanrossum, @gpshead, @ncoghlan, @ambv, @eryksun, @graingert PRs #21956#22397#22398 Files test_exit.pytest_exit.txttest_exit_runpy.pytest_exit_command_stdin.py Note: these values reflect the state of the issue at the time...
Open Graph Description: BPO 41602 Nosy @gvanrossum, @gpshead, @ncoghlan, @ambv, @eryksun, @graingert PRs #21956#22397#22398 Files test_exit.pytest_exit.txttest_exit_runpy.pytest_exit_command_stdin.py Note: these values re...
X Description: BPO 41602 Nosy @gvanrossum, @gpshead, @ncoghlan, @ambv, @eryksun, @graingert PRs #21956#22397#22398 Files test_exit.pytest_exit.txttest_exit_runpy.pytest_exit_command_stdin.py Note: these values re...
Opengraph URL: https://github.com/python/cpython/issues/85768
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python doesn't exit with proper resultcode on SIGINT in runpy (pymain_run_module)","articleBody":"BPO | [41602](https://bugs.python.org/issue41602)\n--- | :---\nNosy | @gvanrossum, @gpshead, @ncoghlan, @ambv, @eryksun, @graingert\nPRs | \u003cli\u003epython/cpython#21956\u003c/li\u003e\u003cli\u003epython/cpython#22397\u003c/li\u003e\u003cli\u003epython/cpython#22398\u003c/li\u003e\nFiles | \u003cli\u003e[test_exit.py](https://bugs.python.org/file49414/test_exit.py \"Uploaded as text/plain at 2020-08-20.19:58:37 by @graingert\")\u003c/li\u003e\u003cli\u003e[test_exit.txt](https://bugs.python.org/file49415/test_exit.txt \"Uploaded as text/plain at 2020-08-20.20:16:49 by @graingert\")\u003c/li\u003e\u003cli\u003e[test_exit_runpy.py](https://bugs.python.org/file49416/test_exit_runpy.py \"Uploaded as text/plain at 2020-08-20.22:08:44 by @graingert\")\u003c/li\u003e\u003cli\u003e[test_exit_command_stdin.py](https://bugs.python.org/file49417/test_exit_command_stdin.py \"Uploaded as text/plain at 2020-08-20.23:31:18 by @graingert\")\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 = None\nclosed_at = \u003cDate 2020-09-22.15:53:35.762\u003e\ncreated_at = \u003cDate 2020-08-20.19:58:37.660\u003e\nlabels = ['interpreter-core', 'type-bug', '3.8', '3.9', '3.10']\ntitle = \"Python doesn't exit with proper resultcode on SIGINT in runpy (pymain_run_module)\"\nupdated_at = \u003cDate 2020-10-05.16:10:20.261\u003e\nuser = 'https://github.com/graingert'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-10-05.16:10:20.261\u003e\nactor = 'lukasz.langa'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2020-09-22.15:53:35.762\u003e\ncloser = 'gvanrossum'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2020-08-20.19:58:37.660\u003e\ncreator = 'graingert'\ndependencies = []\nfiles = ['49414', '49415', '49416', '49417']\nhgrepos = []\nissue_num = 41602\nkeywords = ['patch']\nmessage_count = 22.0\nmessages = ['375732', '375733', '375735', '375736', '375775', '375898', '376984', '377000', '377012', '377013', '377014', '377019', '377020', '377021', '377022', '377024', '377027', '377028', '377339', '377447', '377451', '378057']\nnosy_count = 6.0\nnosy_names = ['gvanrossum', 'gregory.p.smith', 'ncoghlan', 'lukasz.langa', 'eryksun', 'graingert']\npr_nums = ['21956', '22397', '22398']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue41602'\nversions = ['Python 3.8', 'Python 3.9', 'Python 3.10']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/graingert","@type":"Person","name":"graingert"},"datePublished":"2020-08-20T19:58:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/85768/cpython/issues/85768"}
| 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:19edc126-e194-db5e-07a6-c7b5ebb035a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9EB6:217FCE:C53DBF:10F3EEB:6969E9A3 |
| html-safe-nonce | 711171eb712d4fa2f265f12b80979e39684b87cd9a42a7d64814ab99a9d6e24b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RUI2OjIxN0ZDRTpDNTNEQkY6MTBGM0VFQjo2OTY5RTlBMyIsInZpc2l0b3JfaWQiOiI4MTE4OTU4Mzk3MTY4Njc1MjM1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b98b758cc2f4fe9b4371bb10371c480d31762d64c4d1c6d06637af982316f420 |
| hovercard-subject-tag | issue:1199042519 |
| 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/85768/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5fad31d6f86713b0e9251541575f8e9cd3918b11fed06d6e881dc2527eeb4e23/python/cpython/issues/85768 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5fad31d6f86713b0e9251541575f8e9cd3918b11fed06d6e881dc2527eeb4e23/python/cpython/issues/85768 |
| og:image:alt | BPO 41602 Nosy @gvanrossum, @gpshead, @ncoghlan, @ambv, @eryksun, @graingert PRs #21956#22397#22398 Files test_exit.pytest_exit.txttest_exit_runpy.pytest_exit_command_stdin.py Note: these values re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | graingert |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width