Commit f44e4d1
pythongh-142763: Fix race in ZoneInfo cache eviction (pythongh-144978)
The cache may be cleared between the evaluation of the if statement and the
call to popitem.1 parent 4a05739 commit f44e4d1
2 files changed
Lines changed: 7 additions & 1 deletion
File tree
- Lib/zoneinfo
- Misc/NEWS.d/next/Library
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments