cpython/Lib/test/libregrtest
Eddie Elizondo ea2c001650
gh-84436: Implement Immortal Objects (gh-19474)
This is the implementation of PEP683

Motivation:

The PR introduces the ability to immortalize instances in CPython which bypasses reference counting. Tagging objects as immortal allows up to skip certain operations when we know that the object will be around for the entire execution of the runtime.

Note that this by itself will bring a performance regression to the runtime due to the extra reference count checks. However, this brings the ability of having truly immutable objects that are useful in other contexts such as immutable data sharing between sub-interpreters.
2023-04-22 13:39:37 -06:00
..
__init__.py bpo-37473: Don't import importlib ASAP in tests (GH-14661) 2019-07-14 19:31:12 +02:00
cmdline.py gh-94052: Don't re-run failed tests with --python option (#94054) 2022-06-21 14:42:32 +02:00
main.py bpo-46523: fix tests rerun when `setUp[Class|Module]` fails (#30895) 2023-04-07 12:43:41 +02:00
pgo.py bpo-10572: Fixup Lib/test/libregrtest/pgo.py (GH-29327) 2021-11-01 09:57:28 +00:00
refleak.py gh-84436: Implement Immortal Objects (gh-19474) 2023-04-22 13:39:37 -06:00
runtest.py gh-93353: regrtest checks for leaked temporary files (#93776) 2022-06-14 13:43:02 +02:00
runtest_mp.py gh-95027: Fix regrtest stdout encoding on Windows (#98492) 2022-10-21 16:21:36 +02:00
save_env.py gh-72719: Remove asyncore and asynchat modules (#96580) 2022-11-08 16:48:58 +01:00
setup.py Run Tools/scripts/reindent.py (#94225) 2022-06-26 10:34:06 +02:00
utils.py gh-100086: Add build info to test.libregrtest (#100093) 2022-12-08 01:38:47 +01:00
win_utils.py bpo-44336: Prevent tests hanging on child process handles on Windows (GH-26578) 2022-03-22 00:06:55 +00:00