[issue3739] unicode-internal encoder reports wrong length

2009-05-06 Thread STINNER Victor
STINNER Victor added the comment: > I didn't check it into release26-maint and release30-maint. I agree and anyway this encoder is not really important (it looks to be unused...). Thanks for the commit. -- ___ Python tracker

[issue3739] unicode-internal encoder reports wrong length

2009-05-06 Thread Walter Dörwald
Walter Dörwald added the comment: Checked in: r72404,72406 (trunk) r72408 (py3k) As IMHO this is somewhat between a feature and a bugfix, I didn't check it into release26-maint and release30-maint. -- resolution: -> fixed status: open -> closed ___

[issue3739] unicode-internal encoder reports wrong length

2009-05-04 Thread STINNER Victor
STINNER Victor added the comment: 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

[issue3739] unicode-internal encoder reports wrong length

2008-08-30 Thread Walter Dörwald
New submission from Walter Dörwald <[EMAIL PROTECTED]>: The encoder for the "unicode-internal" codec reports the wrong length: Python 3.0b3+ (py3k, Aug 30 2008, 11:55:21) [GCC 4.0.1 (Apple Inc. build 5484)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> imp