[issue37072] PyNode_Compile() crashes in Python 3.8.

Petr Viktorin report at bugs.python.org
Tue May 28 04:42:07 EDT 2019


Petr Viktorin <encukou at gmail.com> added the comment:

Looks like this is caused by: https://github.com/python/cpython/pull/12086/files#diff-4d35cf8992b795c5e97e9c8b6167cb34R787

PyAST_FromNodeObject doesn't ignore flags any more, so when PyNode_Compile passes NULL flags, it crashes.

(This is unfamiliar code for me; I won't have time to fix & test properly this week.)

----------
nosy: +petr.viktorin

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37072>
_______________________________________


More information about the Python-bugs-list mailing list