Mark Dickinson added the comment:

Updated patch to address comments from Serhiy on Rietveld:

 - use '& 0xffffffff' in the Python code that gets the mtime;  only the
   bottom 32 bits of the mtime are used.
 - simplify line that reads mtime from .pyc file.

Also improved an error check in the C code: compare with INVALID_HANDLE_VALUE 
instead of comparing with -1 directly.

----------
Added file: http://bugs.python.org/file28340/pyc_mtime3.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13863>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to