Nick Coghlan <ncogh...@gmail.com> added the comment:

I'd suggest calling Py_FatalError rather than calling abort() directly in 
_PyObject_AssertFailed, but otherwise this looks like a nice improvement over 
standard C asserts for state invariants that may be broken by buggy C 
extensions.

For the tests, take a look at test.script_helper - it provides some convenience 
wrappers for spawning subprocesses for tests that would cause problems if run 
in the current process.

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

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

Reply via email to