0
0
mirror of https://github.com/python/cpython.git synced 2024-11-21 12:59:38 +01:00
cpython/Lib/test/test_ast
sobolevn b2eaa75b17
gh-126105: Fix crash in ast module, when ._fields is deleted (#126115)
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).
2024-10-29 17:42:48 +02:00
..
data gh-116022: Improve repr() of AST nodes (#117046) 2024-09-18 10:28:22 -07:00
__init__.py
snippets.py gh-122666: Tests for ast optimizations (#122667) 2024-08-26 19:27:22 +00:00
test_ast.py gh-126105: Fix crash in ast module, when ._fields is deleted (#126115) 2024-10-29 17:42:48 +02:00
utils.py