[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-06-12 Thread Berker Peksag
Changes by Berker Peksag : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 974c0718c7e0 by Antoine Pitrou in branch '3.4': Try to fix issue #21425 workaround for shared library builds http://hg.python.org/cpython/rev/974c0718c7e0 -- ___ Python tracker

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a1b2566d68e by Antoine Pitrou in branch 'default': Try to fix issue #21425 workaround for shared library builds http://hg.python.org/cpython/rev/5a1b2566d68e -- ___ Python tracker

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Workaround actually broke tests under shared library builds, because LD_LIBRARY_PATH isn't forwarded anymore. Will try another fix :-( -- status: closed -> open ___ Python tracker

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 58e2116576cf by Antoine Pitrou in branch '3.4': Try workaround for test issues in #21425 http://hg.python.org/cpython/rev/58e2116576cf -- ___ Python tracker __

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Workarounds seem to work. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: According to https://bugzilla.redhat.com/show_bug.cgi?id=880393, this has actually been reported to us as issue19884. -- ___ Python tracker ___

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset e57718ac8ff8 by Antoine Pitrou in branch 'default': Try workaround for test issues in #21425 http://hg.python.org/cpython/rev/e57718ac8ff8 -- ___ Python tracker __

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: This looks like a well-known issue on Fedora (and Red Hat?): http://stackoverflow.com/questions/15760712/python-readline-module-prints-escape-character-during-import http://reinout.vanrees.org/weblog/2009/08/14/readline-invisible-character-hack.html http://lists.

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: So, it seems like under Fedora (or PowerLinux), the Python interactive prompt produces different byte contents on stderr: [ 21/389] test_cmd_line_script repl stderr[:4]: b'Pyth' repl stderr[:4]: b'[GCC' repl stderr[:4]: b'Type' repl stderr[:4]: b'\x1b[?1' I wo

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset ffae7aad9dfa by Antoine Pitrou in branch 'default': Add debugging output for #21425 http://hg.python.org/cpython/rev/ffae7aad9dfa -- ___ Python tracker ___

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Judging by the faulthandler traceback in the PowerLinux build: Timeout (1:00:00)! Thread 0x008074e46670 (most recent call first): File "/home/shager/cpython-buildarea/3.4.edelsohn-powerlinux-ppc64/build/Lib/test/test_cmd_line_script.py", line 192 in inte

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Also on the PowerLinux buildbot: http://buildbot.python.org/all/builders/PPC64%20PowerLinux%203.4/builds/113/ -- nosy: +David.Edelsohn ___ Python tracker __

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Apparently the new tests hang on the "Fedora without threads" buildbot. Stefan, could you take a look? http://buildbot.python.org/all/builders/AMD64%20Fedora%20without%20threads%203.4/builds/123 -- nosy: +skrah status: closed -> open __

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the report. This should now be fixed in 3.4 and 3.5. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset ab3e012c45d0 by Antoine Pitrou in branch '3.4': Issue #21425: Fix flushing of standard streams in the interactive interpreter. http://hg.python.org/cpython/rev/ab3e012c45d0 New changeset d1c0cf44160c by Antoine Pitrou in branch 'default': Issue #214

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-11 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-10 Thread eryksun
eryksun added the comment: The patch fixes `python 2>&1 | cat.exe` for me on Windows, where cat.exe is from GnuWin32. The tests also pass. It looks like failing would entail hanging until a timeout. -- nosy: +eryksun ___ Python tracker

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: Attached patch fixes it under Linux, and adds tests. I'd be glad if someone could give it a run under Windows. -- keywords: +patch nosy: +ncoghlan, tim.golden, zach.ware stage: needs patch -> patch review Added file: http://bugs.python.org/file35206/flus

[issue21425] Interactive interpreter doesn't flush stderr prompty

2014-05-10 Thread Antoine Pitrou
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 >>> nonsen