New submission from Enric Tejedor Saavedra <len...@gmail.com>:
Attached is a reproducer that calls PyCFunction_New. The reproducer runs normally with Python 3.6.5, but it crashes with Python 3.7.1. The reason seems to be that the _PyObject_GC_TRACK macro ends up being called and it is broken in Python3.7. A fix for that macro seems to have been committed to master: https://github.com/python/cpython/pull/10507 ---------- components: Interpreter Core files: reproducer.cpp messages: 331040 nosy: etejedor priority: normal severity: normal status: open title: Python3.7 crash in PyCFunction_New due to broken _PyObject_GC_TRACK type: crash versions: Python 3.7 Added file: https://bugs.python.org/file47971/reproducer.cpp _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35408> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com