INADA Naoki added the comment: Thank you for reporting.
C-API doc [https://docs.python.org/3.7/c-api/gcsupport.html#c._PyObject_GC_TRACK] says: > A macro version of PyObject_GC_Track(). It should not be used for extension > modules. So simply replacing it to PyObject_GC_Track() may solve the issue. ---------- assignee: -> inada.naoki priority: normal -> high stage: -> commit review Added file: http://bugs.python.org/file45044/28045-gc_track.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28405> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com