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 tim.peters
Recipients jerrykramskoy, louielu, matrixise, steve.dower, tim.peters
Date 2017-10-11.15:48:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507736929.68.0.213398074469.issue31327@psf.upfronthosting.co.za>
In-reply-to
Content
The docs for the `time` module say:

"""
Although this module is always available, not all functions are available on all platforms. Most of the functions defined in this module call platform C library functions with the same name. It may sometimes be helpful to consult the platform documentation, because the semantics of these functions varies among platforms.
"""

The Windows `localtime()` simply doesn't support dates before the epoch:

https://msdn.microsoft.com/en-us/library/aa246456(v=vs.60).aspx
History
Date User Action Args
2017-10-11 15:48:49tim.peterssetrecipients: + tim.peters, steve.dower, matrixise, louielu, jerrykramskoy
2017-10-11 15:48:49tim.peterssetmessageid: <1507736929.68.0.213398074469.issue31327@psf.upfronthosting.co.za>
2017-10-11 15:48:49tim.peterslinkissue31327 messages
2017-10-11 15:48:49tim.peterscreate