在
Windows XP上从不同的
Python版本计算时获得两个不同的修改时间.
的python2.4
C:\Copy of elisp>c:\python24\python Python 2.4.4 (#71,Oct 18 2006,08:34:43) [MSC v.1310 32 bit (Intel)] on win32 Type "help","copyright","credits" or "license" for more information. >>> import os >>> os.path.getmtime("auto-complete-emacs-lisp.el") 1251684178 >>> ^Z
python2.6的
C:\Copy of elisp>C:\Python26\python Python 2.6.4 (r264:75708,Oct 26 2009,08:23:19) [MSC v.1500 32 bit (Intel)] on win32 Type "help","credits" or "license" for more information. >>> import os >>> os.path.getmtime("auto-complete-emacs-lisp.el") 1251687778.0 >>>
Python2.6和Python2.4报告的差异为3600秒.
这种奇怪行为的原因是什么?