Title: code.InteractiveConsole ignores sys.excepthook · Issue #56852 · python/cpython · GitHub
Open Graph Title: code.InteractiveConsole ignores sys.excepthook · Issue #56852 · python/cpython
X Title: code.InteractiveConsole ignores sys.excepthook · Issue #56852 · python/cpython
Description: BPO 12643 Nosy @ncoghlan, @pitrou, @vstinner, @asvetlov, @florentx, @berkerpeksag Files console.py: Demonstrate sys.excepthook behaviour from code.InteractiveConsolestartup.pyissue12643.diff: Add unit tests. Call sys.excepthook if overri...
Open Graph Description: BPO 12643 Nosy @ncoghlan, @pitrou, @vstinner, @asvetlov, @florentx, @berkerpeksag Files console.py: Demonstrate sys.excepthook behaviour from code.InteractiveConsolestartup.pyissue12643.diff: Add u...
X Description: BPO 12643 Nosy @ncoghlan, @pitrou, @vstinner, @asvetlov, @florentx, @berkerpeksag Files console.py: Demonstrate sys.excepthook behaviour from code.InteractiveConsolestartup.pyissue12643.diff: Add u...
Opengraph URL: https://github.com/python/cpython/issues/56852
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"code.InteractiveConsole ignores sys.excepthook","articleBody":"BPO | [12643](https://bugs.python.org/issue12643)\n--- | :---\nNosy | @ncoghlan, @pitrou, @vstinner, @asvetlov, @florentx, @berkerpeksag\nFiles | \u003cli\u003e[console.py](https://bugs.python.org/file22771/console.py \"Uploaded as text/plain at 2011-07-27.12:10:06 by aliles\"): Demonstrate sys.excepthook behaviour from code.InteractiveConsole\u003c/li\u003e\u003cli\u003e[startup.py](https://bugs.python.org/file22773/startup.py \"Uploaded as text/plain at 2011-07-27.12:56:38 by aliles\")\u003c/li\u003e\u003cli\u003e[issue12643.diff](https://bugs.python.org/file26920/issue12643.diff \"Uploaded as text/plain at 2012-08-20.08:11:45 by aliles\"): Add unit tests. Call sys.excepthook if overridden\u003c/li\u003e\u003cli\u003e[issue12643_2.diff](https://bugs.python.org/file26928/issue12643_2.diff \"Uploaded as text/plain at 2012-08-20.12:32:30 by aliles\"): Updated patch to address feedback\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 2016-09-12.01:49:27.894\u003e\ncreated_at = \u003cDate 2011-07-27.12:10:06.983\u003e\nlabels = ['type-bug', 'library']\ntitle = 'code.InteractiveConsole ignores sys.excepthook'\nupdated_at = \u003cDate 2016-09-12.01:49:27.677\u003e\nuser = 'https://bugs.python.org/aliles'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2016-09-12.01:49:27.677\u003e\nactor = 'berker.peksag'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2016-09-12.01:49:27.894\u003e\ncloser = 'berker.peksag'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2011-07-27.12:10:06.983\u003e\ncreator = 'aliles'\ndependencies = []\nfiles = ['22771', '22773', '26920', '26928']\nhgrepos = []\nissue_num = 12643\nkeywords = ['patch']\nmessage_count = 14.0\nmessages = ['141222', '141224', '141225', '141226', '141227', '141367', '141369', '168635', '168652', '168656', '168662', '168665', '168666', '275909']\nnosy_count = 8.0\nnosy_names = ['ncoghlan', 'pitrou', 'vstinner', 'asvetlov', 'flox', 'python-dev', 'aliles', 'berker.peksag']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue12643'\nversions = ['Python 3.3']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/aliles","@type":"Person","name":"aliles"},"datePublished":"2011-07-27T12:10:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/56852/cpython/issues/56852"}
| 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:2e4c09fe-b914-25e0-3890-6da4973736ba |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3C4:9775E:25063B4:332535F:6A4F492F |
| html-safe-nonce | 5146fbf5d8e23ad3e96f12d6d45db37d8eb9aeb6b987651cc1e9510bccdfa364 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0M0Ojk3NzVFOjI1MDYzQjQ6MzMyNTM1Rjo2QTRGNDkyRiIsInZpc2l0b3JfaWQiOiIyNTkxNDQ3MTA0ODQxNzk1ODg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | df86b233a263bf9e8f2b189c6fee1f05c6398f4d8e14e4092c12f935bc528ae3 |
| hovercard-subject-tag | issue:1198871620 |
| 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/56852/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6b7d2580142c6769ba9f93b75d5d8846360604fdc32e445b60536a5296b6aa4d/python/cpython/issues/56852 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6b7d2580142c6769ba9f93b75d5d8846360604fdc32e445b60536a5296b6aa4d/python/cpython/issues/56852 |
| og:image:alt | BPO 12643 Nosy @ncoghlan, @pitrou, @vstinner, @asvetlov, @florentx, @berkerpeksag Files console.py: Demonstrate sys.excepthook behaviour from code.InteractiveConsolestartup.pyissue12643.diff: Add u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aliles |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| 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 | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width