STINNER Victor added the comment:

timestamp_limits.patch: Add many checks in the _datetime module to avoid 
overflows or creating a object out of the range. The patch adds unit tests.

The unit test checks dates around year 1 and year 9999. I expect failures on 
platforms which only work well on year in the range 1970..2038. My plan is to 
wait for buildbot reports to check on which platforms the test fails and with 
which exception.

Since the patch is likely to break buildbots, I will apply first to the default 
branch, fix it, and then backport to Python 3.6.

----------
Added file: http://bugs.python.org/file46142/timestamp_limits.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29100>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to