[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 6a9e262c5423 by Antoine Pitrou in branch 'default': Issue #19727: os.utime(..., None) is now potentially more precise under Windows. http://hg.python.org/cpython/rev/6a9e262c5423 -- nosy: +python-dev ___

[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread STINNER Victor
STINNER Victor added the comment: utime_win.patch looks good to me. -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailin

[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : Removed file: http://bugs.python.org/file32796/utime_win.patch ___ Python tracker ___ ___ Python-bugs-list mailing

[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Redoing (indentation issue). -- Added file: http://bugs.python.org/file32797/utime_win.patch ___ Python tracker ___

[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch. -- keywords: +patch Added file: http://bugs.python.org/file32796/utime_win.patch ___ Python tracker ___ ___

[issue19727] os.utime(..., None) has poor resolution on Windows

2013-11-22 Thread Antoine Pitrou
New submission from Antoine Pitrou: os.utime() uses the following code when times is None under Windows: SYSTEMTIME now; GetSystemTime(&now); if (!SystemTimeToFileTime(&now, &mtime) || !SystemTimeToFileTime(&now, &atime)) { PyErr_SetFromWindowsErr(