pystate.c:_PyCrossInterpreterData_Release() does not clear py exception on error
Open
Nobody has claimed this yet.
3.8 (EOL)
interpreter-core
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 41396 |
|---|---|
| Nosy | @vstinner, @ericsnowcurrently |
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-07-25.15:27:05.597>
labels = ['interpreter-core', 'type-bug', '3.8']
title = 'pystate.c:_PyCrossInterpreterData_Release() does not clear py exception on error'
updated_at = <Date 2021-11-23.17:28:26.844>
user = 'https://bugs.python.org/TomaszPytel'
bugs.python.org fields:
activity = <Date 2021-11-23.17:28:26.844>
actor = 'iritkatriel'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-07-25.15:27:05.597>
creator = 'Tomasz Pytel'
dependencies = []
files = []
hgrepos = []
issue_num = 41396
keywords = []
message_count = 1.0
messages = ['374270']
nosy_count = 3.0
nosy_names = ['vstinner', 'eric.snow', 'Tomasz Pytel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue41396'
versions = ['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 in pystate.c at _PyCrossInterpreterData_Release() and trace its error paths, with attention to how Python exceptions are handled there. Done means the function clears the Python exception when an error occurs, with behavior verified by the relevant interpreter-core tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100