Staging
v0.5.1
https://github.com/python/cpython
Revision 27b38b99b3a154fa5c25cd67fe01fb4fc04604b0 authored by Paul Ganssle on 15 August 2019, 19:08:57 UTC, committed by GitHub on 15 August 2019, 19:08:57 UTC
This fixes an inconsistency between the Python and C implementations of
the datetime module. The pure python version of the code was not
accepting offsets greater than 23:59 but less than 24:00. This is an
accidental legacy of the original implementation, which was put in place
before tzinfo allowed sub-minute time zone offsets.

GH-14878

(cherry picked from commit 92c7e30adf5c81a54d6e5e555a6bdfaa60157a0d)
1 parent 64db5aa
History
Tip revision: 27b38b99b3a154fa5c25cd67fe01fb4fc04604b0 authored by Paul Ganssle on 15 August 2019, 19:08:57 UTC
bpo-37642: Update acceptable offsets in timezone (GH-14878) (#15227)
Tip revision: 27b38b9
File Mode Size
pgen
Python.asdl -rw-r--r-- 5.3 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.6 KB
asdl_c.py -rw-r--r-- 43.5 KB
grammar1.c -rw-r--r-- 1.0 KB
listnode.c -rw-r--r-- 1.2 KB
myreadline.c -rw-r--r-- 10.6 KB
node.c -rw-r--r-- 5.1 KB
parser.c -rw-r--r-- 12.4 KB
parser.h -rw-r--r-- 1.4 KB
parsetok.c -rw-r--r-- 14.2 KB
token.c -rw-r--r-- 4.5 KB
tokenizer.c -rw-r--r-- 54.7 KB
tokenizer.h -rw-r--r-- 3.7 KB

back to top