Antoine Pitrou added the comment: This can be reproduced as easily under Linux:
$ ./python 2>&1 | cat Python 3.5.0a0 (default:17689e43839a+39f2a78f4357+, May 9 2014, 00:30:19) [GCC 4.8.1] on linux Type "help", "copyright", "credits" or "license" for more information. >>> 5 5 >>> 1/0 >>> nonsense Traceback (most recent call last): File "<stdin>", line 1, in <module> ZeroDivisionError: division by zero >>> Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'nonsense' is not defined >>> ---------- components: +Interpreter Core -Windows nosy: +pitrou stage: -> needs patch title: Python 3 pipe handling breaks python mode in emacs on Windows -> Interactive interpreter doesn't flush stderr prompty versions: +Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21425> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com