Miss Islington (bot)
ecd97caaf5
[3.14] gh-136421: Load _datetime static types during interpreter initialization (GH-136583) (GH-136943)
...
gh-136421: Load `_datetime` static types during interpreter initialization (GH-136583)
`_datetime` is a special module, because it's the only non-builtin C extension that contains static types. As such, it would initialize static types in the module's execution function, which can run concurrently. Since static type initialization is not thread-safe, this caused crashes. This fixes it by moving the initialization of `_datetime`'s static types to interpreter startup (where all other static types are initialized), which is already properly protected through other locks.
(cherry picked from commit a10960699a2b3e4e62896331c4f9cfd162ebf440)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-07-21 19:23:05 -04:00
..
2025-05-05 15:25:22 -07:00
2025-04-09 16:18:54 -07:00
2025-04-12 11:34:36 +01:00
2025-07-11 14:06:19 +00:00
2025-04-29 02:21:47 +00:00
2025-05-04 21:07:35 +03:00
2025-07-21 17:34:54 +02:00
2025-04-30 11:46:41 +02:00
2025-06-16 23:59:30 +00:00
2025-03-17 09:19:04 +00:00
2024-06-04 10:22:22 +00:00
2025-06-09 11:04:23 +01:00
2025-07-08 10:58:01 -07:00
2025-05-04 10:05:35 +01:00
2025-07-01 13:44:32 +00:00
2025-04-30 10:11:09 +09:00
2025-07-21 17:34:54 +02:00
2025-05-04 21:07:35 +03:00
2024-04-02 20:35:52 +00:00
2025-06-09 14:37:26 +02:00
2024-12-23 13:31:33 +01:00
2025-06-16 23:59:30 +00:00
2025-06-14 02:08:25 +00:00
2025-06-24 19:19:31 +00:00
2025-03-17 12:32:43 +01:00
2025-03-19 23:01:32 +01:00
2025-03-19 17:33:24 +01:00
2025-07-16 16:12:36 +00:00
2025-06-16 23:41:46 +00:00
2025-04-25 14:43:38 -06:00
2025-06-09 11:04:23 +01:00
2025-04-14 21:32:41 +03:00
2025-07-02 11:28:09 +03:00
2025-03-17 09:19:04 +00:00
2025-04-17 13:38:34 -07:00
2024-11-22 18:50:30 +00:00
2024-03-21 18:20:20 -06:00
2024-10-29 23:57:59 +00:00
2025-05-27 18:00:19 +00:00
2024-07-22 12:08:27 -04:00
2025-07-11 15:20:05 +01:00
2025-06-09 11:04:23 +01:00
2025-04-26 17:14:18 +03:00
2024-11-12 15:59:19 +02:00
2025-05-05 15:09:19 +00:00
2025-06-16 14:58:14 +00:00
2025-06-09 14:37:26 +02:00
2025-06-16 23:59:30 +00:00
2025-04-18 02:49:19 +01:00
2025-05-25 22:10:20 +00:00
2025-07-08 06:24:08 +00:00
2025-04-30 11:37:53 +01:00
2025-07-21 09:23:33 +00:00
2025-03-17 09:19:04 +00:00
2025-04-29 17:21:53 -07:00
2025-04-30 11:46:41 +02:00
2025-03-24 11:00:32 +01:00
2025-06-25 17:07:07 +00:00
2025-06-29 07:36:04 +00:00
2025-04-25 11:02:57 +00:00
2024-07-22 12:08:27 -04:00
2025-05-01 10:28:52 +00:00
2025-06-20 15:24:25 +08:00
2025-06-20 15:24:25 +08:00
2025-06-20 15:24:25 +08:00
2025-03-20 16:59:41 -07:00
2025-05-04 10:05:35 +01:00
2025-06-04 08:44:35 -04:00
2025-02-20 11:31:15 -05:00
2025-07-11 14:06:19 +00:00
2025-07-11 14:06:19 +00:00
2024-11-07 16:37:41 +01:00
2024-08-30 15:42:27 +00:00
2025-07-21 19:23:05 -04:00
2025-07-21 21:01:14 +00:00
2024-11-01 22:04:31 +00:00
2025-06-09 14:37:26 +02:00
2025-03-19 13:46:17 +00:00
2025-05-08 10:05:34 -06:00
2025-03-19 17:33:24 +01:00
2025-07-08 10:58:01 -07:00
2025-07-09 02:21:56 +01:00
2025-06-07 18:56:38 +00:00
2025-06-17 12:38:22 +00:00
2025-05-11 08:44:22 +00:00
2025-05-05 02:30:14 +02:00
2025-04-18 21:03:42 +05:30
2025-03-17 09:19:04 +00:00
2025-04-30 11:46:41 +02:00
2025-06-21 08:21:50 +00:00
2025-03-31 20:28:35 +01:00
2024-10-13 20:59:41 +05:30
2025-04-04 16:31:37 +02:00
2025-03-17 12:32:43 +01:00
2024-03-13 23:53:32 +01:00
2025-04-30 11:37:53 +01:00
2025-03-22 10:38:47 +01:00
2025-01-17 16:42:27 +01:00
2025-04-29 12:56:20 +02:00