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, vstinner
Date 2014-07-21.22:18:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405981099.45.0.306924309036.issue22023@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch fixing %S and %R formats and supporting %li and %zi. It fixes also %S, %R and %V for non-ASCII characters.

PyUnicode_FromFormat() of Python 2 doesn't support width, precision and padding. For example, "%100i" does crash. For %S, %R and %V, the function decodes byte strings from ISO-8859-1 in Python 2, whereas it decodes from UTF-8 in Python 3.
History
Date User Action Args
2014-07-21 22:18:19vstinnersetrecipients: + vstinner, ezio.melotti, alex
2014-07-21 22:18:19vstinnersetmessageid: <1405981099.45.0.306924309036.issue22023@psf.upfronthosting.co.za>
2014-07-21 22:18:19vstinnerlinkissue22023 messages
2014-07-21 22:18:19vstinnercreate