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.

作者 vstinner
收信人 dangra, ezio.melotti, lemburg, sjmachin, vstinner
日期 2010-04-07.09:02:02
SpamBayes Score 1.1079479e-05
Marked as misclassified
Message-id <201004071101.56629.victor.stinner@haypocalc.com>
In-reply-to <4BBC4451.7030704@egenix.com>
内容
> >> I also found out that, according to RFC 3629, surrogates
> >> are considered invalid and they can't be encoded/decoded,
> >> but the UTF-8 codec actually does it.
> >
> > Python2 does, but Python3 raises an error.
> > (...)
> 
> I wonder how that change got into the 3.x branch - I would certainly
> not have approved it for the reasons given further up on this ticket.
> 
> I think we should revert that change for Python 3.2.

See r72208 and issue #3672.

pitrou wrote "We could fix it for 3.1, and perhaps leave 2.7 unchanged if some 
people rely on this (for whatever reason)."
历史
日期 用户 动作 参数
2010-04-07 09:02:04vstinner修改recipients: + vstinner, lemburg, sjmachin, ezio.melotti, dangra
2010-04-07 09:02:02vstinner链接issue8271 messages
2010-04-07 09:02:02vstinner创建