sys.exit(code) returns "success" to the OS for some nonzero values of code
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- operating-systems
Research direction
The issue identifies Python's sys.exit(code) behavior and the Interpreter Core component, but names no source file or test. Start by reproducing the reported nonzero exit-code cases and tracing the interpreter's sys.exit handling; done means those cases are consistently reported as failures by the operating system with regression coverage.
Written by the indexing model from the issue text.
Description
| BPO | 24052 |
|---|---|
| Nosy | @abalkin, @stevendaprano, @bitdancer, @skrah, @vadmium, @serhiy-storchaka, @eryksun |
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 2015-04-24.15:29:13.556>
labels = ['interpreter-core', 'type-bug', '3.8', '3.9', '3.10']
title = 'sys.exit(code) returns "success" to the OS for some nonzero values of code'
updated_at = <Date 2021-03-12.17:42:44.183>
user = 'https://github.com/abalkin'
bugs.python.org fields:
activity = <Date 2021-03-12.17:42:44.183>
actor = 'eryksun'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2015-04-24.15:29:13.556>
creator = 'belopolsky'
dependencies = []
files = []
hgrepos = []
issue_num = 24052
keywords = []
message_count = 14.0
messages = ['241946', '241952', '241954', '241957', '241958', '241961', '241964', '241965', '241967', '242272', '242359', '242367', '242375', '273848']
nosy_count = 8.0
nosy_names = ['belopolsky', 'Arfrever', 'steven.daprano', 'r.david.murray', 'skrah', 'martin.panter', 'serhiy.storchaka', 'eryksun']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue24052'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 558
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.
More from python/cpython
-
docs pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
build type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
stdlib topic-email type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Similar issues
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100