bpo-31901: atexit callbacks should be run at subinterpreter shutdown (#4611)

Change atexit behavior and PEP-489 multiphase init support.
This commit is contained in:
Marcel Plch 2017-12-20 11:17:58 +01:00 committed by Antoine Pitrou
parent 1976086362
commit 776407fe89
10 changed files with 91 additions and 46 deletions

View file

@ -126,7 +126,6 @@ static int test_forced_io_encoding(void)
return 0;
}
/*********************************************************
* Test parts of the C-API that work before initialization
*********************************************************/