[Python-Dev] Accepting PEP 3154 for 3.4? (original) (raw)

Serhiy Storchaka storchaka at gmail.com
Mon Nov 18 12:28:00 CET 2013


18.11.13 07:53, Tim Peters написав(ла):

- Some easy sanity checking due to the tiny redundancy (if the byte immediately following the current frame is not a FRAME opcode, the pickle is corrupt; and also corrupt if a FRAME opcode is encountered inside the current frame).

For efficient unpickling a FRAME opcode followed by 8-byte count should be last thing in a frame (unless it is a last frame).



More information about the Python-Dev mailing list