[issue40946] SuppressCrashReport should set SEM_FAILCRITICALERRORS in Windows

2020-06-10 Thread Eryk Sun
Change by Eryk Sun : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.o

[issue40946] SuppressCrashReport should set SEM_FAILCRITICALERRORS in Windows

2020-06-10 Thread Eryk Sun
New submission from Eryk Sun : In test.support, suppress_msvcrt_asserts sets the process error mode to include SEM_FAILCRITICALERRORS, SEM_NOGPFAULTERRORBOX, SEM_NOALIGNMENTFAULTEXCEPT, and SEM_NOOPENFILEERRORBOX. In contrast, the SuppressCrashReport context manager in the same module only se