mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
parent
04cecafce1
commit
8c4f4178cb
3 changed files with 8 additions and 7 deletions
|
@ -130,12 +130,6 @@ win32_ExitProcess(PyObject *self, PyObject *args)
|
|||
if (!PyArg_ParseTuple(args, "I", &uExitCode))
|
||||
return NULL;
|
||||
|
||||
#if defined(Py_DEBUG)
|
||||
SetErrorMode(SEM_FAILCRITICALERRORS|SEM_NOALIGNMENTFAULTEXCEPT|SEM_NOGPFAULTERRORBOX|SEM_NOOPENFILEERRORBOX);
|
||||
_CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_DEBUG);
|
||||
#endif
|
||||
|
||||
|
||||
ExitProcess(uExitCode);
|
||||
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue