Message284650
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. |
|
Date |
User |
Action |
Args |
2017-01-04 16:39:03 | vstinner | set | recipients:
+ vstinner, belopolsky, dstufft, Jordon Phillips |
2017-01-04 16:39:03 | vstinner | set | messageid: <1483547943.53.0.977065106468.issue29100@psf.upfronthosting.co.za> |
2017-01-04 16:39:03 | vstinner | link | issue29100 messages |
2017-01-04 16:39:03 | vstinner | create | |
|