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 belopolsky
Recipients belopolsky, sable, vstinner
Date 2011-02-15.16:13:23
SpamBayes Score 0.0015176343
Marked as misclassified No
Message-id <1297786404.27.0.76922665013.issue11188@psf.upfronthosting.co.za>
In-reply-to
Content
Sébastien,

Can you tell us what time.localtime(t) produces for t in (-2, -1, 0, 1)?  Apparently time.mktime() fails on values produced by time.localtime() and this sounds like a platform bug.  It is OK to restrict time_t to positive values, but in this case time.localtime(t) should reject t < 0.

If there is a Python issue here, it is likely to be in error detection in time.localtime().

Also, what is your timezone?
History
Date User Action Args
2011-02-15 16:13:24belopolskysetrecipients: + belopolsky, vstinner, sable
2011-02-15 16:13:24belopolskysetmessageid: <1297786404.27.0.76922665013.issue11188@psf.upfronthosting.co.za>
2011-02-15 16:13:23belopolskylinkissue11188 messages
2011-02-15 16:13:23belopolskycreate