[3.7] bpo-33932: Calling Py_Initialize() twice does nothing (GH-7845) by miss-islington · Pull Request #7859 · python/cpython
static int test_initialize_twice(void) { _testembed_Py_Initialize();
/* bpo-33932: Calling Py_Initialize() twice should do nothing * (and not crash!). */ Py_Initialize();
Py_Finalize();
return 0; }
/* ********************************************************* * List of test cases and the function that implements it.