[issue28202] Python 3.5.1 C API, the global variable is not destroyed when delete the module
Jack Liu
report at bugs.python.org
Mon Sep 19 23:10:05 EDT 2016
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 <report at bugs.python.org>
<http://bugs.python.org/issue28202>
_______________________________________
More information about the Python-bugs-list
mailing list