mirror of
https://github.com/python/cpython.git
synced 2024-11-21 12:59:38 +01:00
b2eaa75b17
Previously, if the `ast.AST._fields` attribute was deleted, attempts to create a new `as`t node would crash due to the assumption that `_fields` always had a non-NULL value. Now it has been fixed by adding an extra check to ensure that `_fields` does not have a NULL value (this can happen when you manually remove `_fields` attribute). |
||
---|---|---|
.. | ||
data | ||
__init__.py | ||
snippets.py | ||
test_ast.py | ||
utils.py |