STINNER Victor added the comment: I tried to implement test.support.SuppressCrashReport on Windows using only ctypes for Python 2.7, but I failed: see attached suppress_crash.py. So I created https://github.com/python/cpython/pull/2423 which adds new functions and constants to the _testcapi module. IMHO it's more reliabe to do that, but it adds more C code.
---------- Added file: http://bugs.python.org/file46976/suppress_crash.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30764> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com