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 vstinner
Recipients alex, ezio.melotti, python-dev, vstinner
Date 2014-07-29.22:43:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406673805.06.0.437642325098.issue22023@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, supporting %li and %zi is a new feature, it's too late to add this in Python 2.7. I removed this part of my patch. I commited the other part.

PyUnicode_FromFormat() decodes byte strings from ISO 8859-1 for %S, %R and %V formats. I don't like this choice, we should use the default encoding or UTF-8. But it's also probably too late to change that. At least, b'\xff' is decoded to '\xe4' instead of '\xffe4' (signed/unsigned integer issue, also fixed by my patch). It's a little bit better than before.
History
Date User Action Args
2014-07-29 22:43:25vstinnersetrecipients: + vstinner, ezio.melotti, alex, python-dev
2014-07-29 22:43:25vstinnersetmessageid: <1406673805.06.0.437642325098.issue22023@psf.upfronthosting.co.za>
2014-07-29 22:43:25vstinnerlinkissue22023 messages
2014-07-29 22:43:25vstinnercreate