• Tim Peters's avatar
    dis(): This had a problem with proto 0 pickles, in that POP sometimes · 5fdb6e61
    Tim Peters authored
    popped a MARK, but without stack emulation the disassembler couldn't
    know that, and subsequent indentation got hosed.
    
    Now the disassembler does do enough stack emulation to catch this.  While
    I was at it, also added lots of sanity checks for other stack operations,
    and correct use of the memo.  This goes (I think) a long way toward being
    a "pickle verifier" now too.
    5fdb6e61
pickletools.py 70.1 KB