Commit b9179c3
[3.13] pythongh-137754: Fix import of zoneinfo if _datetime is not available (pythonGH-137845) (pythonGH-138085)
Both modules should use the Python implementation in that case.
(cherry picked from commit 6620ef0)
Co-authored-by: Serhiy Storchaka <[email protected]>1 parent 57b5baf commit b9179c3
File tree
3 files changed
+27
-1
lines changed- Lib
- test/test_zoneinfo
- zoneinfo
- Misc/NEWS.d/next/Library
3 files changed
+27
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
1960 | 1961 | | |
1961 | 1962 | | |
1962 | 1963 | | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
| 1967 | + | |
| 1968 | + | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
| 1975 | + | |
| 1976 | + | |
| 1977 | + | |
| 1978 | + | |
| 1979 | + | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
1963 | 1984 | | |
1964 | 1985 | | |
1965 | 1986 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments