JuliaPy / JuliaPy/PythonCall.jl

IPython redirect stdout

Aperta
#84 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Julia
Stelle
1.1k
Fork
86
Merge medio
1g 22h
PR unite (30g)
3

Descrizione

We used to set `Base.stdout` to `PyIO(sys.stdout)` but this causes bugs so is removed.

Instead copy the IJulia approach: use `pipe = redirect_stdout()` and have an async task watch the pipe for output and write it to `sys.stdout`.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.