➜

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.

作者 belopolsky
收信人 belopolsky, doerwalter, loewis, pitrou
日期 2010-12-30.00:48:09
SpamBayes Score 1.6166097e-06
Marked as misclassified 否
Message-id <1293670091.32.0.0858293111214.issue3232@psf.upfronthosting.co.za>
In-reply-to
内容
Martin's original code (r32301) was pretty clear:

 32301     loewis         # IDNA allows decoding to operate on Unicode strings, too.
 32301     loewis         if isinstance(input, unicode):
 32301     loewis             labels = dots.split(input)
 32301     loewis         else:
 32301     loewis             # Must be ASCII string
 32301     loewis             unicode(input, "ascii")
 32301     loewis             labels = input.split(".")

but the py3k port, r55215, was clearly incomplete and the log message is explicit about it:


r55215 | guido.van.rossum | 2007-05-09 19:40:37 -0400 (Wed, 09 May 2007) | 3 lines

Random modifications that slightly improve the chances of this not blowing up.
Walter will fix it for real.

I hope I picked the right Walter for the "nosy" list.
历史
日期 用户 动作 参数
2010-12-30 00:48:11belopolsky修改recipients: + belopolsky, loewis, doerwalter, pitrou
2010-12-30 00:48:11belopolsky修改messageid: <1293670091.32.0.0858293111214.issue3232@psf.upfronthosting.co.za>
2010-12-30 00:48:10belopolsky链接issue3232 messages
2010-12-30 00:48:09belopolsky创建