Sam Gross
e8752d7b80
gh-118789: Add PyUnstable_Object_ClearWeakRefsNoCallbacks ( #118807 )
...
This exposes `PyUnstable_Object_ClearWeakRefsNoCallbacks` as an unstable
C-API function to provide a thread-safe mechanism for clearing weakrefs
without executing callbacks.
Some C-API extensions need to clear weakrefs without calling callbacks,
such as after running finalizers like we do in subtype_dealloc.
Previously they could use `_PyWeakref_ClearRef` on each weakref, but
that's not thread-safe in the free-threaded build.
Co-authored-by: Petr Viktorin <encukou@gmail.com >
2024-06-18 09:57:23 -04:00
..
2024-06-07 10:19:41 +02:00
2024-05-03 06:17:32 -07:00
2024-05-03 06:17:32 -07:00
2024-04-24 16:18:24 +00:00
2024-05-05 19:28:55 +00:00
2024-04-12 07:40:55 +00:00
2024-03-29 13:35:43 -04:00
2024-05-05 03:07:29 +02:00
2024-06-18 12:17:46 +01:00
2024-05-06 20:12:39 -04:00
2024-05-02 18:25:36 -04:00
2024-05-30 21:55:06 +01:00
2024-05-22 17:45:34 +00:00
2024-04-11 23:23:25 +00:00
2024-05-28 12:47:54 -07:00
2024-04-30 22:32:55 +02:00
2024-02-29 08:11:28 -08:00
2024-05-30 21:55:06 +01:00
2024-05-04 12:12:10 +01:00
2024-02-17 10:03:10 +09:00
2024-05-03 16:21:04 -04:00
2024-06-03 20:58:41 +00:00
2024-02-29 08:11:28 -08:00
2024-05-06 23:07:23 -04:00
2024-06-12 10:46:39 -06:00
2024-06-12 10:46:39 -06:00
2024-06-06 13:40:58 -04:00
2024-05-04 21:24:02 +00:00
2024-06-07 10:19:41 +02:00
2024-04-24 09:46:17 +00:00
2024-06-07 10:19:41 +02:00
2024-06-12 20:41:07 +08:00
2024-05-03 06:17:32 -07:00
2024-02-20 09:39:55 +00:00
2024-05-02 13:03:05 -07:00
2024-06-07 10:19:41 +02:00
2024-05-30 14:48:18 +00:00
2024-06-04 09:42:13 -04:00
2024-05-03 11:30:55 -04:00
2024-02-14 00:32:51 +00:00
2024-06-18 12:17:46 +01:00
2024-06-18 12:17:46 +01:00
2024-06-11 13:06:49 +00:00
2024-06-08 17:41:45 +08:00
2024-02-20 16:50:43 +00:00
2024-06-13 17:29:19 +08:00
2024-04-24 16:18:24 +00:00
2024-03-16 21:37:11 +01:00
2024-04-22 12:17:57 -07:00
2024-02-20 13:04:37 -05:00
2024-03-08 09:56:36 -08:00
2024-04-24 16:18:24 +00:00
2024-06-07 10:19:41 +02:00
2024-05-10 10:26:35 -04:00
2024-06-12 10:46:39 -06:00
2024-05-02 19:30:00 +02:00
2024-05-02 19:30:00 +02:00
2024-02-20 16:50:43 +00:00
2024-05-06 20:12:39 -04:00
2024-02-29 08:11:28 -08:00
2024-05-04 15:45:49 +00:00
2024-06-17 06:51:03 -07:00
2024-05-05 12:15:19 +02:00
2024-04-08 12:11:36 -04:00
2024-03-08 00:21:21 +08:00
2024-06-14 13:29:09 -06:00
2024-05-10 08:42:00 -07:00
2024-06-12 10:46:39 -06:00
2024-06-07 10:19:41 +02:00
2024-02-28 09:56:40 +00:00
2024-06-18 12:17:46 +01:00
2024-06-18 12:17:46 +01:00
2024-03-28 15:05:08 +00:00
2024-06-18 09:57:23 -04:00