mirror of
https://github.com/python/cpython.git
synced 2024-11-21 12:59:38 +01:00
e545ead66c
This fixes a crash when `gc.get_objects()` or `gc.get_referrers()` is called during a GC in the free threading build. Switch to `_PyObjectStack` to avoid corrupting the `struct worklist` linked list maintained by the GC. Also, don't return objects that are frozen (`gc.freeze()`) or in the process of being collected to more closely match the behavior of the default build. |
||
---|---|---|
.. | ||
__init__.py | ||
test_dict.py | ||
test_gc.py | ||
test_list.py | ||
test_monitoring.py | ||
test_slots.py | ||
test_str.py | ||
test_tokenize.py | ||
test_type.py | ||
test_zip.py |