[Python-Dev] [Python-checkins] r88709 - in python/branches/py3k: Misc/NEWS Objects/unicodeobject.c
Éric Araujo
merwok at netwok.org
Mon Mar 7 10:05:46 CET 2011
Hi,
> Author: victor.stinner
> Date: Wed Mar 2 02:03:14 2011
> New Revision: 88709
> Log: Issue #8923: cache str.encode() result
>
> When a string is encoded to UTF-8 in strict mode, the result is cached into the
> object. Examples: str.encode(), str.encode('utf-8'), PyUnicode_AsUTF8String()
> and PyUnicode_AsEncodedString(unicode, "utf-8", NULL).
I don’t really understand this message (especially “cached into the
object”) :) Maybe in the Misc/NEWS entry you could also add a line to
explain to users the reason/goal/benefit of this change?
Regards
More information about the Python-Dev
mailing list