[issue19858] Make pickletools.optimize aware of the MEMOIZE opcode.

Alexandre Vassalotti report at bugs.python.org
Tue Dec 3 05:41:53 CET 2013


Alexandre Vassalotti added the comment:

MEMOIZE and PUT can be used together. They just need to not step on each other toes when they write to the memo table. As specified by PEP 3154, the memo index used by MEMOIZE is the number of elements currently in the memo table. This obviously means functions like, pickletools.optimize, have to be more careful when they rewrite pickles.

----------

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


More information about the Python-bugs-list mailing list