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 serhiy.storchaka, vladistan, vstinner
Date 2013-04-14.01:59:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365904773.75.0.999367303876.issue17694@psf.upfronthosting.co.za>
In-reply-to
Content
PyUnicode_DecodeCharmap() still uses _PyUnicodeWriter_Prepare() (even with my patch). It may be interesting to benchmark min_length vs prepare. If min_length is not slower, it should be used instead of prepare to avoid widen the buffer if the first written character is non-ASCII, b'\x80'.decode('cp1252') for example.
History
Date User Action Args
2013-04-14 01:59:33vstinnersetrecipients: + vstinner, serhiy.storchaka, vladistan
2013-04-14 01:59:33vstinnersetmessageid: <1365904773.75.0.999367303876.issue17694@psf.upfronthosting.co.za>
2013-04-14 01:59:33vstinnerlinkissue17694 messages
2013-04-14 01:59:33vstinnercreate