]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30764: Windows support.SuppressCrashReport (#2423)
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 27 Jun 2017 12:31:40 +0000 (14:31 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Jun 2017 12:31:40 +0000 (14:31 +0200)
commit95a91df0363f88722ea2860d9d42a0b04b3f8be2
tree8c8b3627f14ba3676ab70a0ed3f998e6aeb7c638
parent305f333a447bc8cff62eece16fab7fe4a9bef71c
bpo-30764: Windows support.SuppressCrashReport (#2423)

* Add Windows support to test.support.SuppressCrashReport: call
  SetErrorMode() and CrtSetReportMode().
* _testcapi: add CrtSetReportMode() and CrtSetReportFile() functions
  and CRT_xxx and CRTDBG_xxx constants needed by SuppressCrashReport.
Lib/test/support/__init__.py
Modules/_testcapimodule.c