2009-10-16 7 views

Répondre

0

Essayez:

python -u `which ipython` 

Je ne sais pas si cela va fonctionner, cependant.

1

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.

Questions connexes