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 steve.dower
Recipients JohnLeitch, belopolsky, brycedarling, eryksun, r.david.murray, skrah, steve.dower, terry.reedy, vstinner, zach.ware
Date 2015-09-14.22:13:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442268790.16.0.534875117754.issue25092@psf.upfronthosting.co.za>
In-reply-to
Content
Patch attached. I haven't been able to repro the issue locally without the fix, but it seems indisputably correct behavior.

We could also skip most of the function for an empty format string and save ourselves a lot of work. That would avoid the ambiguous returned "is it zero-length or is it an error" value.
History
Date User Action Args
2015-09-14 22:13:10steve.dowersetrecipients: + steve.dower, terry.reedy, belopolsky, vstinner, r.david.murray, skrah, zach.ware, eryksun, JohnLeitch, brycedarling
2015-09-14 22:13:10steve.dowersetmessageid: <1442268790.16.0.534875117754.issue25092@psf.upfronthosting.co.za>
2015-09-14 22:13:10steve.dowerlinkissue25092 messages
2015-09-14 22:13:10steve.dowercreate