[Python-checkins] r87802 - in python/branches/py3k: Misc/NEWS Modules/posixmodule.c
antoine.pitrou
python-checkins at python.org
Thu Jan 6 19:25:55 CET 2011
Author: antoine.pitrou
Date: Thu Jan 6 19:25:55 2011
New Revision: 87802
Log:
Issue #7858: Raise an error properly when os.utime() fails under Windows
on an existing file.
(this does not seem to be easily testable)
Modified:
python/branches/py3k/Misc/NEWS
python/branches/py3k/Modules/posixmodule.c
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Thu Jan 6 19:25:55 2011
@@ -30,6 +30,9 @@
Library
-------
+- Issue #7858: Raise an error properly when os.utime() fails under Windows
+ on an existing file.
+
- Issue #3839: wsgiref should not override a Content-Length header set by
the application. Initial patch by Clovis Fabricio.
Modified: python/branches/py3k/Modules/posixmodule.c
==============================================================================
--- python/branches/py3k/Modules/posixmodule.c (original)
+++ python/branches/py3k/Modules/posixmodule.c Thu Jan 6 19:25:55 2011
@@ -3256,6 +3256,7 @@
something is wrong with the file, when it also
could be the time stamp that gives a problem. */
win32_error("utime", NULL);
+ goto done;
}
Py_INCREF(Py_None);
result = Py_None;
More information about the Python-checkins
mailing list