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 eisele
Recipients eisele
Date 2007-11-29.15:33:05
SpamBayes Score 0.027882395
Marked as misclassified No
Message-id <1196350386.46.0.0641290280607.issue1521@psf.upfronthosting.co.za>
In-reply-to
Content
s.decode("utf-8")

sometimes silently truncates the result if s has more than 2E9 Bytes,
sometimes raises a fairly incomprehensible exception:

Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
  File "/usr/lib64/python2.5/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
TypeError: utf_8_decode() argument 1 must be (unspecified), not str
History
Date User Action Args
2007-11-29 15:33:06eiselesetspambayes_score: 0.0278824 -> 0.027882395
recipients: + eisele
2007-11-29 15:33:06eiselesetspambayes_score: 0.0278824 -> 0.0278824
messageid: <1196350386.46.0.0641290280607.issue1521@psf.upfronthosting.co.za>
2007-11-29 15:33:06eiselelinkissue1521 messages
2007-11-29 15:33:06eiselecreate