Richard Oudkerk <shibt...@gmail.com> added the comment:

bba131e48852 causes crashes on Windows.

The attached patch fixes the crash and makes test_os pass for me.

However, using "PyErr_ExceptionMatches(PyExc_RuntimeError)" to check whether to 
try again using narrow strings is ugly.  Maybe utime_read_time_arguments() 
should be changed to have three possible return values.

----------
nosy: +sbt
Added file: http://bugs.python.org/file25448/utime-hack.patch

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

Reply via email to