This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients Arfrever, eric.araujo, gregory.p.smith, gvanrossum, larry, loewis, maubp, ncoghlan, pitrou, python-dev, r.david.murray, rosslagerwall, sbt, shaurz, vstinner
Date 2012-05-04.00:16:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336090604.12.0.704956764436.issue14127@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-05-04 00:16:44sbtsetrecipients: + sbt, gvanrossum, loewis, gregory.p.smith, ncoghlan, pitrou, vstinner, larry, eric.araujo, Arfrever, r.david.murray, maubp, shaurz, rosslagerwall, python-dev
2012-05-04 00:16:44sbtsetmessageid: <1336090604.12.0.704956764436.issue14127@psf.upfronthosting.co.za>
2012-05-04 00:16:43sbtlinkissue14127 messages
2012-05-04 00:16:42sbtcreate