[issue27736] repeated Py_Initialize/PyRun_SimpleString/Py_Finalize segfaults

Xiang Zhang report at bugs.python.org
Sat Aug 13 09:11:46 EDT 2016


Xiang Zhang added the comment:

It looks to me from the traceback Simon given that DirEntryType's dealloc function is called. From the code, shouldn't we Py_INCREF DirEntryType before PyModule_AddObject?

----------
nosy: +xiang.zhang

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27736>
_______________________________________


More information about the Python-bugs-list mailing list