Signal handlers should not hang during blocked main thread
Open
Nobody has claimed this yet.
3.7 (EOL)
3.8 (EOL)
extension-modules
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 41128 |
|---|---|
| Nosy | @pitrou, @vstinner, @serhiy-storchaka |
| Files |
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 2020-06-26.17:34:49.637>
labels = ['extension-modules', '3.8', 'type-bug', '3.7']
title = 'Signal handlers should not hang during blocked main thread'
updated_at = <Date 2020-07-13.08:21:45.840>
user = 'https://bugs.python.org/JosefHavrnek'
bugs.python.org fields:
activity = <Date 2020-07-13.08:21:45.840>
actor = 'SilentGhost'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules']
creation = <Date 2020-06-26.17:34:49.637>
creator = 'Josef Havr\xc3\xa1nek'
dependencies = []
files = ['49265']
hgrepos = []
issue_num = 41128
keywords = []
message_count = 1.0
messages = ['372435']
nosy_count = 3.0
nosy_names = ['pitrou', 'vstinner', 'serhiy.storchaka']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue41128'
versions = ['Python 3.7', 'Python 3.8']
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
Start by running the attached testscript.py, which demonstrates the signal-handler hang while the main thread is blocked. Investigate the behavior described in the issue and verify completion when signal handlers no longer hang in that situation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100