Serhiy Storchaka added the comment:

I confirm this bug.

Terry, 3.3.1 doesn't contains this bug. This is a regression introduced by 
issue17585.

A right solution is not easy. We should

1) Remove PseudoInputFile.close.
2) Do not print an exception in Executive.runcode, but transfer it via rpc back 
to PyShell.
3) In PyShell.runcode receive an exception and process it same way as in 
non-subprocess mode (note that in non-subrocess mode a messagebox asks "Exit? 
Do you want to exit altogether?", but in subprocess mode it now asks "Kill? The 
program is still running! Do you want to kill it?").

The hard part is transferring an exception.

----------
nosy: +serhiy.storchaka
stage:  -> needs patch
versions: +Python 2.7, Python 3.3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17838>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to