Miss Islington (bot)
5c2696bc26
[3.13] gh-125859: Fix crash when gc.get_objects is called during GC (GH-125882) (GH-125921)
...
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.
(cherry picked from commit e545ead66ce725aae6fb0ad5d733abe806c19750)
Co-authored-by: Sam Gross <colesbury@gmail.com>
2024-10-24 14:08:15 +00:00
..
2024-06-24 20:24:19 +02:00
2022-10-17 12:01:00 +02:00
2024-05-17 18:16:58 +03:00
2022-11-09 10:50:09 -08:00
2021-03-23 20:47:40 +01:00
2024-06-14 17:03:24 +02:00
2024-04-04 15:47:26 +00:00
2024-08-28 14:02:34 +00:00
2024-06-24 20:24:19 +02:00
2024-05-03 06:17:32 -07:00
2024-07-17 08:04:45 +00:00
2023-09-30 22:21:20 +00:00
2024-03-28 09:28:39 -04:00
2024-09-06 09:02:32 -07:00
2024-07-26 17:30:08 +00:00
2024-07-30 18:18:25 +00:00
2024-08-06 23:37:10 +02:00
2024-06-24 20:24:19 +02:00
2024-10-23 06:45:28 -07:00
2024-02-02 13:50:51 +00:00
2024-04-02 20:35:52 +00:00
2024-07-15 16:53:52 -04:00
2024-06-21 20:20:41 +00:00
2024-02-13 14:56:49 -07:00
2024-06-03 23:37:28 +00:00
2024-09-02 12:44:42 +02:00
2024-04-01 13:02:07 +00:00
2023-09-02 16:50:18 +02:00
2023-10-04 22:50:29 +00:00
2023-10-04 22:50:29 +00:00
2023-10-04 22:50:29 +00:00
2023-10-04 22:50:29 +00:00
2023-09-08 17:54:45 +01:00
2024-07-14 12:01:03 +02:00
2024-10-08 00:23:49 +03:00
2024-09-06 09:02:32 -07:00
2024-06-17 17:52:49 +00:00
2024-10-04 15:34:20 -07:00
2023-06-02 01:33:17 +02:00
2024-05-01 21:51:40 +01:00
2024-03-18 11:13:11 -07:00
2024-03-21 18:20:20 -06:00
2024-05-02 06:32:20 -07:00
2024-10-24 14:08:15 +00:00
2024-02-14 00:32:51 +00:00
2024-09-30 21:27:29 +00:00
2024-09-02 15:23:29 +02:00
2024-08-08 09:49:21 +03:00
2021-02-25 20:24:21 -08:00
2024-01-16 21:54:05 +01:00
2023-09-29 10:56:49 +02:00
2024-05-18 16:49:11 -04:00
2023-08-24 18:53:50 +02:00
2023-12-06 15:09:22 +01:00
2024-09-23 16:16:41 -07:00
2024-05-06 21:16:22 -06:00
2024-09-06 10:09:35 +09:00
2024-04-26 17:20:30 +01:00
2024-08-16 12:01:40 +02:00
2024-04-03 01:10:26 +00:00
2024-05-04 12:12:10 +01:00
2024-05-13 04:53:30 +00:00
2024-07-23 22:49:36 +00:00
2024-07-08 19:15:58 +00:00
2024-07-19 09:13:08 +00:00
2023-10-11 14:44:06 +03:00
2022-10-07 11:49:53 -07:00
2023-09-03 18:54:27 +02:00
2024-02-16 01:01:36 +00:00
2024-05-04 12:11:11 +01:00
2024-06-26 15:35:19 +02:00
2024-06-20 23:55:20 +08:00
2024-06-20 23:55:20 +08:00
2024-06-26 15:35:19 +02:00
2024-06-26 15:35:19 +02:00
2024-10-07 16:53:32 +00:00
2024-04-18 15:20:38 +02:00
2024-05-13 04:53:30 +00:00
2024-05-05 03:07:29 +02:00
2023-07-04 09:41:43 +00:00
2021-03-24 02:23:01 +01:00
2022-01-13 09:46:04 +01:00
2024-06-04 09:26:25 +02:00
2024-08-18 15:01:16 +00:00
2021-10-15 19:45:34 +02:00
2024-08-18 15:01:16 +00:00
2023-09-01 18:36:53 +02:00
2023-09-02 23:15:54 +02:00
2023-09-06 15:56:08 +02:00
2024-07-11 15:51:32 +00:00
2024-07-16 10:03:47 +00:00
2024-09-03 13:06:31 +00:00
2024-05-05 12:15:19 +02:00
2024-06-20 03:40:54 +00:00
2024-07-16 23:03:07 +00:00
2024-09-29 18:24:55 -07:00
2024-06-17 19:12:25 +00:00
2024-01-11 20:31:24 +02:00
2024-06-17 08:01:49 -07:00
2024-06-24 20:24:19 +02:00
2024-05-04 09:39:58 +02:00
2023-11-04 13:59:24 +00:00
2024-05-05 12:15:19 +02:00
2024-02-21 11:46:00 +01:00
2024-03-13 23:53:32 +01:00
2024-04-12 13:56:41 +03:00
2024-07-21 13:12:13 +00:00
2023-11-01 22:55:10 +00:00