homepage

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 pitrou
Recipients pitrou
Date 2008年06月29日.01:03:29
SpamBayes Score 0.00022799599
Marked as misclassified No
Message-id <1214701412.5.0.118957128053.issue3232@psf.upfronthosting.co.za>
In-reply-to
Content
Lib/encodings/idna.py claims to do the following when `input` is a
string object (lines 183-184, and see comment line 178: "IDNA allows
decoding to operate on Unicode strings, too"):
 # Force to bytes
 input = bytes(input)
This is obviously wrong, lacking an encoding parameter. It doesn't seem
to be covered in the test suite, and I don't know what the proper
semantics should be, so I leave it to someone else to find a fix.
History
Date User Action Args
2008年06月29日 01:03:32pitrousetspambayes_score: 0.000227996 -> 0.00022799599
recipients: + pitrou
2008年06月29日 01:03:32pitrousetspambayes_score: 0.000227996 -> 0.000227996
messageid: <1214701412.5.0.118957128053.issue3232@psf.upfronthosting.co.za>
2008年06月29日 01:03:31pitroulinkissue3232 messages
2008年06月29日 01:03:29pitroucreate

AltStyle によって変換されたページ (->オリジナル) /