Existe-t-il un moyen d'exécuter IPython en mode unbuffered?IPython en mode sans tampon
De la même façon que python -u
donne unbuffered IO pour le shell standard de Python
Existe-t-il un moyen d'exécuter IPython en mode unbuffered?IPython en mode sans tampon
De la même façon que python -u
donne unbuffered IO pour le shell standard de Python
Essayez:
python -u `which ipython`
Je ne sais pas si cela va fonctionner, cependant.
De la page man Python:
-u Force stdin, stdout and stderr to be totally unbuffered. On systems where it matters, also put stdin, stdout and
stderr in binary mode. Note that there is internal buffering in xreadlines(), readlines() and file-object itera‐
tors ("for line in sys.stdin") which is not influenced by this option. To work around this, you will want to use
"sys.stdin.readline()" inside a "while 1:" loop.
Si vous utilisez le mode unbuffered interfère avec readline, il serait certainement encore plus interférer avec tout le montage magique et l'auto-complétion qui ipython vous donne. Je suis enclin à suspecter que c'est pourquoi cette option de ligne de commande n'est pas dans iPython.