12 Commits

Author SHA1 Message Date
Shahar Naveh
543fcc841c Update test_weakset.py to 3.14.4 (#7735) 2026-04-30 04:45:43 +09:00
Jeong, YunWon
6950baf687 more algorithm-independent GC infra (#7194)
* mark poluting tests

* GC-infra independent to EBR

* trashcan

* add overflow guard to inc(), #[must_use] on dec()/safe_inc(), trashcan debug_assert, weakref generic re-check
2026-02-22 21:31:42 +09:00
Jeong, YunWon
714d1ce58b gc module internal structure and API (#6910)
* gc module internal structure and API

Add gc_state module with GcState, GcGeneration, GcDebugFlags, GcStats.
Replace gc module stubs with working API backed by gc_state.
Add gc_callbacks and gc_garbage to Context.
Add is_gc_tracked, gc_finalized, gc_get_referents to PyObject.
Collection is stubbed (returns 0) — actual algorithm to follow.

* fix dict/weakref/generators

* unmark test_asyncio

* apply review
2026-02-01 08:51:39 +09:00
Shahar Naveh
4f9dd41041 Update _weakrefset.py from 3.13.5 (#6004)
* Update `_weakrefset` from 3.13.5

* Update `test_weakset.py` from 3.13.5
2025-07-20 10:33:22 +09:00
Ankit Goel
b36c95b91e Fix set intersection_update implementation 2024-09-19 20:59:12 +01:00
Jonathan Rotter
6a7be1e142 compat fix for testHashStuff in test_class.py (#5240)
* compat fix for testHashStuff in test_class.py

* accidently fixed 3 more tests
2024-04-19 16:44:23 +09:00
LYK
1812bd17a5 Mark a failing test of test/test_weakset.py 2023-03-07 23:49:18 +09:00
CPython Developers
7b6486cd30 Update test/test_weakset.py from CPython 3.11.2 2023-03-07 23:47:16 +09:00
CPython Developers
ec461d9a29 Update test_weakset from CPython 3.10.5 2022-08-09 04:18:30 +09:00
Noa
e51cb82ff0 Unskip tests 2021-11-15 16:08:46 -06:00
Padraic Fanning
e9504aed11 Mark erroring/failing tests 2021-07-10 11:49:32 -04:00
Padraic Fanning
6d09fa9d45 Add test_weakset from CPython 3.8 2021-07-10 11:49:32 -04:00