Staging
v0.5.1
https://github.com/python/cpython
Revision 454b3d4ea246e8751534e105548d141ed7b0b032 authored by MichaelSaah on 14 January 2019, 10:23:39 UTC, committed by Victor Stinner on 14 January 2019, 10:23:39 UTC
Previously, calling the strftime() method on a datetime object with a
trailing '%' in the format string would result in an exception. However,
this only occured when the datetime C module was being used; the python
implementation did not match this behavior. Datetime is now PEP-399
compliant, and will not throw an exception on a trailing '%'.
1 parent 5bb146a
History
Tip revision: 454b3d4ea246e8751534e105548d141ed7b0b032 authored by MichaelSaah on 14 January 2019, 10:23:39 UTC
bpo-35066: _dateime.datetime.strftime copies trailing '%' (GH-10692)
Tip revision: 454b3d4
File Mode Size
Python.asdl -rw-r--r-- 4.7 KB
acceler.c -rw-r--r-- 3.3 KB
asdl.py -rw-r--r-- 12.6 KB
asdl_c.py -rw-r--r-- 42.8 KB
bitset.c -rw-r--r-- 1.0 KB
firstsets.c -rw-r--r-- 2.8 KB
grammar.c -rw-r--r-- 7.4 KB
grammar1.c -rw-r--r-- 1.3 KB
listnode.c -rw-r--r-- 1.3 KB
metagrammar.c -rw-r--r-- 2.4 KB
myreadline.c -rw-r--r-- 10.6 KB
node.c -rw-r--r-- 4.4 KB
parser.c -rw-r--r-- 11.6 KB
parser.h -rw-r--r-- 1.2 KB
parsetok.c -rw-r--r-- 11.1 KB
parsetok_pgen.c -rw-r--r-- 35 bytes
pgen.c -rw-r--r-- 17.9 KB
pgenmain.c -rw-r--r-- 4.1 KB
printgrammar.c -rw-r--r-- 2.9 KB
token.c -rw-r--r-- 4.3 KB
tokenizer.c -rw-r--r-- 49.8 KB
tokenizer.h -rw-r--r-- 3.5 KB
tokenizer_pgen.c -rw-r--r-- 36 bytes

back to top