Call sys.unraisablehook in the REPL when sys.excepthook is broken
Open
Nobody has claimed this yet.
3.10
interpreter-core
topic-repl
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 43148 |
|---|---|
| Nosy | @vstinner, @cfbolz, @Julian, @Julian |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2021-02-06.20:55:56.550>
labels = ['3.10']
title = 'Call sys.unraisablehook in the REPL when sys.excepthook is broken'
updated_at = <Date 2021-02-15.16:58:07.957>
user = 'https://github.com/Julian'
bugs.python.org fields:
activity = <Date 2021-02-15.16:58:07.957>
actor = 'Julian2'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2021-02-06.20:55:56.550>
creator = 'Julian'
dependencies = []
files = []
hgrepos = []
issue_num = 43148
keywords = []
message_count = 3.0
messages = ['386569', '386703', '387026']
nosy_count = 4.0
nosy_names = ['vstinner', 'Carl.Friedrich.Bolz', 'Julian', 'Julian2']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue43148'
versions = ['Python 3.10']
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue identifies the REPL and the sys.excepthook/sys.unraisablehook behavior, but names no file or test. Trace how the REPL handles an exception when sys.excepthook itself fails, then verify that sys.unraisablehook is called for that failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100