Antoine Pitrou added the comment:

Actually, the problem is in PyRun_SimpleFileExFlags(). The executed module is 
decref'ed after calling PyErr_Print(), but the latter never returns when the 
exception is a SystemExit.

----------
nosy: +ncoghlan

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

Reply via email to