24 Nov 2017 24 Nov '17
STINNER Victor firstname.lastname@example.org added the comment:
Then document this explicitly like for other functions that *should* be called before Py_Initialize() if called at all.
I agree that it would be even better to document if a function must not be called after Py_Initialize().
*But* I'm not sure of what I wrote, I have to check the code, and maybe even test manually to "see what happens" (ensure that it works) :-)
So I decided to push my first PR, and will work on a second PR later.
_______________________________________ Python tracker email@example.com https://bugs.python.org/issue32124 _______________________________________