sys.exit(code) returns "success" to the OS for some nonzero values of code

Aperta
#68,240 14 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

3.11 3.12 3.13 interpreter-core type-bug
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']

Lingua principale
Python
Stelle
77.2k
Fork
36k
Merge medio
1g 9h
PR unite (30g)
558

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di python/cpython

Tutte le issue di python/cpython

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.