Author eryksun
Recipients MajeedArni, eryksun, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2015-05-20.14:18:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432131480.27.0.504942666922.issue24244@psf.upfronthosting.co.za>
In-reply-to
Content
> If the error is suppressed, does windows fill in the rest of 
> the values and just leave the %f in the string?

No, it does not. I understand now why ValueError was an intentional choice here. The CRT actually breaks the loop with a goto if any call to expand_time fails. So raising a Python exception is the only reasonable course of action. (I still think maybe it's a good place to use the new _Py_BEGIN_SUPPRESS_IPH macro. That way instead of presuming what's a valid format code, it could just handle the EINVAL.)
History
Date User Action Args
2015-05-20 14:18:00eryksunsetrecipients: + eryksun, tim.golden, r.david.murray, zach.ware, steve.dower, MajeedArni
2015-05-20 14:18:00eryksunsetmessageid: <1432131480.27.0.504942666922.issue24244@psf.upfronthosting.co.za>
2015-05-20 14:18:00eryksunlinkissue24244 messages
2015-05-20 14:18:00eryksuncreate