[issue22426] strptime accepts the wrong '2010-06-01 MSK' string but rejects the right '2010-06-01 MSD'

Alexander Belopolsky report at bugs.python.org
Wed Sep 17 03:22:36 CEST 2014


Alexander Belopolsky added the comment:

On the second thought, we can probably make the same guesswork as in PyInit_timezone (see Modules/timemodule.c) in time.strptime, but not for the current time, but for the time parsed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22426>
_______________________________________


More information about the Python-bugs-list mailing list