Staging
v0.5.1
https://github.com/python/cpython
Revision c98b0199a984430312833ef403d265be314f7244 authored by Victor Stinner on 10 December 2019, 20:12:26 UTC, committed by GitHub on 10 December 2019, 20:12:26 UTC
Replace hardcoded timeout constants in tests with LONG_TIMEOUT of
test.support, so it's easier to ajdust this timeout for all tests at
once.

LONG_TIMEOUT is 5 minutes by default, but it can be longer depending
on --timeout command line option.
1 parent bbc8b79
Raw File
Tip revision: c98b0199a984430312833ef403d265be314f7244 authored by Victor Stinner on 10 December 2019, 20:12:26 UTC
bpo-38614: Use test.support.LONG_TIMEOUT constant (GH-17562)
Tip revision: c98b019
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top