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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com