[issue4379] Py_SAFE_DOWNCAST in FILE_TIME_to_time_t_nsec failing

Amaury Forgeot d'Arc report at bugs.python.org
Fri Nov 21 22:16:10 CET 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

The attached patch corrects the problem: since VS2008 time_t is a 64bit 
integer; now os.stat() can return times after 2038 on Windows.

This prevents the crash, but the functionality is far from complete: 
os.utime() at least should accept 64bit times.

----------
keywords: +patch
Added file: http://bugs.python.org/file12101/time_t_64.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4379>
_______________________________________


More information about the Python-bugs-list mailing list