[issue29921] datetime validation is stricter in 3.6.1 than previous versions

STINNER Victor report at bugs.python.org
Tue Mar 28 07:07:07 EDT 2017


STINNER Victor added the comment:

2017-03-28 10:17 GMT+02:00 m-parry <report at bugs.python.org>:
> "I think it's the case that **some routes via the C API** now reject out of range values that were previously permitted."
>
> The pywin32 repro I gave above eventually calls PyDateTimeAPI->DateTime_FromDateAndTime():
>
> http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/file/85c1c99b1cb8/win32/src/PyTime.cpp#l980

You can please identify which C function is called and dump which
parameters are passed to the function?

----------

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


More information about the Python-bugs-list mailing list