Martin Panter added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25534> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com