cpython/Lib/test/test_ast
Sam Gross 332356b880
gh-125900: Clean-up logic around immortalization in free-threading (#125901)
* Remove `@suppress_immortalization` decorator
* Make suppression flag per-thread instead of per-interpreter
* Suppress immortalization in `eval()` to avoid refleaks in three tests
  (test_datetime.test_roundtrip, test_logging.test_config8_ok, and
   test_random.test_after_fork).
* frozenset() is constant, but not a singleton. When run multiple times,
  the test could fail due to constant interning.
2024-10-24 18:09:59 -04: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-125900: Clean-up logic around immortalization in free-threading (#125901) 2024-10-24 18:09:59 -04:00
utils.py