This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Guilherme.Simões, Todd.Rovito, roger.serwy, serhiy.storchaka, terry.reedy
Date 2013-04-25.20:24:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366921470.17.0.816692515581.issue17838@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-04-25 20:24:30serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, roger.serwy, Todd.Rovito, Guilherme.Simões
2013-04-25 20:24:30serhiy.storchakasetmessageid: <1366921470.17.0.816692515581.issue17838@psf.upfronthosting.co.za>
2013-04-25 20:24:30serhiy.storchakalinkissue17838 messages
2013-04-25 20:24:29serhiy.storchakacreate