[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

Stefan Krah report at bugs.python.org
Tue Aug 31 00:41:28 CEST 2010


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

I just see that the test is running as expected:

_testcapi.crash_no_current_thread() is running in a subprocess, so
the abort() is harmless on Linux. On Windows, abort() causes the
pop-ups, apparently even when it occurs in a subprocess.

Perhaps we should generally use an ABORT() macro, which translates to
exit() on Windows.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9116>
_______________________________________


More information about the Python-bugs-list mailing list