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 doerwalter, vstinner
Date 2009-05-04.20:00:11
SpamBayes Score 4.129905e-09
Marked as misclassified No
Message-id <1241467214.42.0.00284668180536.issue3739@psf.upfronthosting.co.za>
In-reply-to
Content
Patch fixing unicode-internal encoder for unicode string input: return 
the length of the input string (number of characters) and not the 
internal size (number of bytes needed to store the text). I wrote a 
small test, I hope that it will be enough (to test the function).

If the input is not an unicode string, return the number of bytes (I 
leaved this case unchanged).
History
Date User Action Args
2009-05-04 20:00:14vstinnersetrecipients: + vstinner, doerwalter
2009-05-04 20:00:14vstinnersetmessageid: <1241467214.42.0.00284668180536.issue3739@psf.upfronthosting.co.za>
2009-05-04 20:00:13vstinnerlinkissue3739 messages
2009-05-04 20:00:12vstinnercreate