Miss Islington (bot)
e3cafebb5c
bpo-41568: Fix refleaks in zoneinfo subclasses (GH-21907)
...
* Fix refleak in C module __init_subclass__
This was leaking a reference to the weak cache dictionary for every
ZoneInfo subclass created.
* Fix refleak in ZoneInfo subclass's clear_cache
The previous version of the code accidentally cleared the global
ZONEINFO_STRONG_CACHE variable (and inducing `ZoneInfo` to create a new
strong cache) on calls to a subclass's `clear_cache()`. This would not
affect guaranteed behavior, but it's still not the right thing to do
(and it caused reference leaks).
(cherry picked from commit c3dd7e45cc5d36bbe2295c2840faabb5c75d83e4)
Co-authored-by: Paul Ganssle <paul@ganssle.io>
2020-08-17 16:24:15 -07:00
..
2020-04-15 02:04:42 +02:00
2020-06-24 09:45:27 -07:00
2020-08-15 20:37:08 +02:00
2020-05-14 01:48:38 +02:00
2020-04-15 02:35:41 +02:00
2020-04-17 19:13:06 +02:00
2020-05-26 05:38:51 -07:00
2020-06-21 12:11:41 -07:00
2020-02-27 23:05:02 -08:00
2020-04-30 02:34:24 +09:00
2020-07-01 21:06:51 -07:00
2019-10-12 20:14:11 +01:00
2020-05-28 08:12:23 -07:00
2020-07-08 12:47:20 -07:00
2020-05-17 20:38:35 -07:00
2020-04-15 02:35:41 +02:00
2020-02-11 03:16:38 -08:00
2020-04-14 23:36:08 -07:00
2020-02-17 14:49:26 +01:00
2020-02-17 10:11:34 +01:00
2020-06-22 01:40:54 -07:00
2020-05-28 08:12:23 -07:00
2020-05-12 01:43:38 +02:00
2020-05-28 09:41:41 -07:00
2020-02-17 11:09:15 +01:00
2020-04-15 02:35:41 +02:00
2020-05-05 14:14:32 -07:00
2020-05-01 14:15:35 +02:00
2020-05-28 05:09:38 -07:00
2020-03-18 15:29:34 +01:00
2020-05-28 08:12:23 -07:00
2020-04-12 14:58:27 +03:00
2020-04-29 01:28:13 +02:00
2020-04-15 02:35:41 +02:00
2020-05-28 05:09:38 -07:00
2020-06-05 21:41:12 -07:00
2020-07-13 06:09:27 -07:00
2020-06-12 10:02:45 -07:00
2020-04-15 02:35:41 +02:00
2020-06-21 19:33:06 +09:00
2020-04-15 02:35:41 +02:00
2020-04-13 22:11:40 -05:00
2020-08-15 10:44:57 -07:00
2020-05-19 05:40:21 -07:00
2020-04-15 02:35:41 +02:00
2020-05-28 08:12:23 -07:00
2020-02-23 22:40:43 -08:00
2020-07-04 19:19:40 -07:00
2020-07-06 09:52:13 -07:00
2020-05-07 19:16:01 +02:00
2020-05-01 11:33:44 +02:00
2020-05-15 03:43:58 -07:00
2020-06-27 08:39:57 -07:00
2020-05-12 23:32:32 +01:00
2020-04-06 14:07:02 +02:00
2020-05-01 11:33:44 +02:00
2020-05-20 00:27:46 +02:00
2020-08-17 16:24:15 -07:00
2020-06-23 06:41:24 -07:00
2020-03-17 18:09:46 +01:00
2020-03-19 10:11:33 -07:00
2020-03-24 23:26:44 -05:00
2020-02-12 22:54:42 +01:00
2020-05-07 10:17:16 +09:00
2020-04-15 02:04:42 +02:00
2020-02-13 07:47:42 +00:00
2020-05-20 00:27:46 +02:00
2020-06-11 18:27:00 +02:00
2020-03-16 14:15:01 +01:00
2020-04-15 02:35:41 +02:00
2020-06-24 10:15:59 -07:00
2020-03-31 16:33:22 +02:00
2020-06-04 13:27:23 -07:00
2020-05-11 19:32:40 -07:00
2020-04-15 02:35:41 +02:00
2020-07-15 12:25:59 -07:00
2020-02-17 11:09:15 +01:00
2020-05-18 17:17:19 +01:00
2020-03-16 14:15:01 +01:00
2020-04-15 02:35:41 +02:00
2020-04-12 14:58:27 +03:00
2020-04-02 14:35:08 +02:00
2020-06-23 15:19:46 -07:00
2020-05-16 10:20:06 +02:00
2020-06-04 13:27:23 -07:00
2020-06-04 13:27:23 -07:00
2020-06-04 13:27:23 -07:00
2020-06-03 20:16:39 +02:00
2020-06-15 13:20:10 -07:00
2020-04-29 15:31:19 -07:00
2020-04-11 10:48:40 +03:00
2020-04-11 10:48:40 +03:00
2020-05-05 10:49:46 +09:00
2020-03-16 14:15:01 +01:00
2020-05-16 11:39:09 +02:00
2020-03-10 20:41:34 -07:00
2020-04-15 02:35:41 +02:00
2020-03-10 20:41:34 -07:00
2020-05-28 08:12:23 -07:00
2020-02-17 11:09:15 +01:00
2020-04-15 02:35:41 +02:00
2020-04-15 02:35:41 +02:00