Message243671
> 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.) |
|
Date |
User |
Action |
Args |
2015-05-20 14:18:00 | eryksun | set | recipients:
+ eryksun, tim.golden, r.david.murray, zach.ware, steve.dower, MajeedArni |
2015-05-20 14:18:00 | eryksun | set | messageid: <1432131480.27.0.504942666922.issue24244@psf.upfronthosting.co.za> |
2015-05-20 14:18:00 | eryksun | link | issue24244 messages |
2015-05-20 14:18:00 | eryksun | create | |
|