Message131036
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. |
|
Date |
User |
Action |
Args |
2011-03-15 20:36:40 | ncoghlan | set | recipients:
+ ncoghlan, loewis, pitrou, dmalcolm |
2011-03-15 20:36:40 | ncoghlan | set | messageid: <1300221400.0.0.607087338989.issue9263@psf.upfronthosting.co.za> |
2011-03-15 20:36:39 | ncoghlan | link | issue9263 messages |
2011-03-15 20:36:39 | ncoghlan | create | |
|