JuliaPy / JuliaPy/PyCall.jl

catch keyboard interrupts during Python execution

Aperta
#27 4 commenti 4 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Julia
Stelle
1.5k
Fork
186
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Currently, keyboard interrupts are deferred during execution of Python code, since CPython is not interrupt-safe. It would be nice to catch these interrupts and set a `KeyboardInterrupt` Python exception so that Python code is halted gracefully.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

No file, test, or entry point is named in the issue. Start by locating how PyCall executes Python code and currently handles keyboard interrupts, then review the CPython interrupt-safety constraints. Done means an interrupt sets a KeyboardInterrupt exception and halts Python execution gracefully.

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

Valutazione

Stack tecnologico
julia, python
Ambito
backend
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.