[issue18838] The order of interactive prompt and traceback on Windows
Adam Bartoš
report at bugs.python.org
Mon Nov 16 17:04:38 EST 2020
Adam Bartoš <drekin at gmail.com> added the comment:
So far I could reproduce the issue on Python 3.7, Windows Vista 64bit. I'll try with newer versions.
The output I got:
>>> from subprocess import *
>>> Popen("py -i foo.py", stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate()
(b'', b'>>> Traceback (most recent call last):\r\n File "foo.py", line 2, in <module>\r\n 1/0\r\nZeroDivisionError: division by zero\r\n\r\n')
----------
status: pending -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18838>
_______________________________________
More information about the Python-bugs-list
mailing list