Aug. 11, 2013
12:47 a.m.
In a similar vein, Antoine recently noted that the fact the per-module state isn't a real PyObject creates a variety of interesting lifecycle management challenges. I'm not seeing an easy solution, either, except to automatically skip reinitialization when the module has already been imported.