Le mercredi 23 mars 2011 à 22:58 +1000, Nick Coghlan a écrit : > There are several ways to get unbuffered IO back in a cross-platform > manner, ...
Oh, by the way: TextIOWrapper doesn't support unbuffered mode. Only fully buffered and line buffered modes. So print("Test", end='') doesn't display immediatly Test, even with "python -u". python -u is only useful if the output is redirected to a pipe/a file, if you would like a line buffering (instead of a full buffering). Victor (This email thread begins to be a little bit redundant with the issue on the bug tracker) _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com