Jack Liu added the comment:
@eric.snow, Thank you for the replay. You understood right.
I run this module as __main__ module, so there is no other modules to reference
this module. And as I debugged, the ref count of this module became 0 after
calling PyDict_DelItemString, but global variable in this module was not
released with Python 3.5.1. Is that memory leak? As I said, it worked on python
3.3. Is it a regression in python 3.5.1? Any workaround to resolve this
problem? It's an urgency issue to me.
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list