This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Jordon Phillips, belopolsky, dstufft, vstinner
Date 2017-01-04.16:39:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483547943.53.0.977065106468.issue29100@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-04 16:39:03vstinnersetrecipients: + vstinner, belopolsky, dstufft, Jordon Phillips
2017-01-04 16:39:03vstinnersetmessageid: <1483547943.53.0.977065106468.issue29100@psf.upfronthosting.co.za>
2017-01-04 16:39:03vstinnerlinkissue29100 messages
2017-01-04 16:39:03vstinnercreate