[issue19512] Avoid most calls to PyUnicode_DecodeUTF8Stateful() in Python interactive mode

STINNER Victor report at bugs.python.org
Wed Nov 6 18:08:33 CET 2013


STINNER Victor added the comment:

pysys_getobjectid.patch:

- add _PySys_GetObjectId() and _PyDict_GetItemId() functions
- add global identifiers for most common strings: "argv", "path", "stdin", "stdout", "stderr"
- use these new functions and identifiers

----------
keywords: +patch
Added file: http://bugs.python.org/file32517/pysys_getobjectid.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19512>
_______________________________________


More information about the Python-bugs-list mailing list