Staging
v0.5.1
https://github.com/python/cpython
Revision 5f1590d5e679f4dd0b611ef54ae512f137e78f1b authored by Miss Islington (bot) on 17 September 2019, 12:34:13 UTC, committed by Victor Stinner on 17 September 2019, 12:34:13 UTC
When using multiprocesss (-jN), the main process now uses a timeout
of 60 seconds instead of the double of the --timeout value. The
buildbot server stops a job which does not produce any output in 1200
seconds.
(cherry picked from commit 46b0b81220a23bc4aee5ba3ba67e8cf1b5df7960)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent f668d2b
Raw File
Tip revision: 5f1590d5e679f4dd0b611ef54ae512f137e78f1b authored by Miss Islington (bot) on 17 September 2019, 12:34:13 UTC
bpo-37531: regrtest main process uses shorter timeout (GH-16220) (GH-16224)
Tip revision: 5f1590d
invalid_parameter_handler.c
#ifdef _MSC_VER

#include <stdlib.h>

#if _MSC_VER >= 1900
/* pyconfig.h uses this function in the _Py_BEGIN/END_SUPPRESS_IPH
 * macros. It does not need to be defined when building using MSVC
 * earlier than 14.0 (_MSC_VER == 1900).
 */

static void __cdecl _silent_invalid_parameter_handler(
    wchar_t const* expression,
    wchar_t const* function,
    wchar_t const* file,
    unsigned int line,
    uintptr_t pReserved) { }

_invalid_parameter_handler _Py_silent_invalid_parameter_handler = _silent_invalid_parameter_handler;

#endif

#endif
back to top