[issue27400] Datetime NoneType after calling Py_Finalize and Py_Initialize
Josh Rosenberg
report at bugs.python.org
Thu Sep 15 15:28:36 EDT 2016
Josh Rosenberg added the comment:
Hmm... On checking down some of the code paths and realizing there were some issues in 3.5 (redundant code, and what looked like two memory leaks), I checked tip (to avoid opening bugs on stale code), and discovered that #22557 rewrote the import code, reducing the cost of top level reimport by ~60%, so my microbenchmarks (run on Python 3.5.0) are already out of date for 3.6's faster re-import. Even so, caching wasn't a wholly unreasonable optimization before now, and undoing it now still has a cost, if a smaller one.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27400>
_______________________________________
More information about the Python-bugs-list
mailing list