[issue18838] The order of interactive prompt and traceback on Windows

2020-11-19 Thread Irit Katriel


Irit Katriel  added the comment:

Thanks. I'm closing this because 3.7 is only getting security fixes now.

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18838] The order of interactive prompt and traceback on Windows

2020-11-19 Thread Adam Bartoš

Adam Bartoš  added the comment:

The order is fine on Python 3.8, Windows 10.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18838] The order of interactive prompt and traceback on Windows

2020-11-16 Thread Adam Bartoš

Adam Bartoš  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 
\r\n1/0\r\nZeroDivisionError: division by zero\r\n\r\n')

--
status: pending -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18838] The order of interactive prompt and traceback on Windows

2020-11-15 Thread Irit Katriel


Irit Katriel  added the comment:

On version 3.10, windows 10 I don't see this - the prompt comes after the 
traceback.

Adam, are you seeing this issue on any python version >= 3.8?

--
nosy: +iritkatriel
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18838] The order of interactive prompt and traceback on Windows

2015-07-27 Thread Adam Bartoš

Adam Bartoš added the comment:

Yes, it is a behavior change between Python 2 and Python 3. I just tried with 
2.7 and 3.0.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18838
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18838] The order of interactive prompt and traceback on Windows

2013-08-26 Thread Drekin

New submission from Drekin:

On Windows, Python 3.3.2, when I run Python as a subprocess via Popen(py -i 
somescript.py, stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate() and 
somescript.py ends with exception, there is first interactive promt  in 
stderr output and then the traceback which is reversed to standard order when 
somescript.py is run interactively directly.

Corresponding StackOverflow question: 
http://stackoverflow.com/questions/18419724/position-of-prompt-in-stderr-after-systemexit
 .

--
components: Windows
messages: 196192
nosy: Drekin
priority: normal
severity: normal
status: open
title: The order of interactive prompt and traceback on Windows
type: behavior
versions: Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18838
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue18838] The order of interactive prompt and traceback on Windows

2013-08-26 Thread R. David Murray

R. David Murray added the comment:

For anyone who wants to look in to this: according to the stack overflow 
question and comments, this is a behavior change between python2 and python3.

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18838
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com