[issue1651] Limit the max size of PyUnicodeObject->defenc?

Marc-Andre Lemburg report at bugs.python.org
Wed Jan 23 00:41:33 CET 2008


Marc-Andre Lemburg added the comment:

For Py3k you can get rid of the cached default encoded version of the
Unicode object altogether:

This was only needed to make the Unicode/string auto-coercion mechanism
efficient in Python 2.x. In Py3k, you'll only do such conversions at the
IO-boundaries and explicitly, so caching the converted value is no
longer necessary.

----------
nosy: +lemburg

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1651>
__________________________________


More information about the Python-bugs-list mailing list