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 martin.panter
Recipients Sean.Wang, martin.panter, paul.moore, steve.dower, tim.golden, xiang.zhang, zach.ware
Date 2015-11-05.04:15:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446696911.5.0.739711236819.issue25534@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps you have a timezone set (I don’t). This might work better:

touch -d "1 Jan 1900 UTC" test

My thinking is if os.stat() returns a negative timestamp from the OS (GNU C library in the case of Linux), it may be worth trying gmtime() on that value since it also calls the OS (glibc) function.
History
Date User Action Args
2015-11-05 04:15:11martin.pantersetrecipients: + martin.panter, paul.moore, tim.golden, zach.ware, Sean.Wang, steve.dower, xiang.zhang
2015-11-05 04:15:11martin.pantersetmessageid: <1446696911.5.0.739711236819.issue25534@psf.upfronthosting.co.za>
2015-11-05 04:15:11martin.panterlinkissue25534 messages
2015-11-05 04:15:11martin.pantercreate