• Tim Peters's avatar
    dis(): This had a problem with proto 0 pickles, in that POP sometimes · c1c2b3e0
    Tim Peters yazdı
    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.
    c1c2b3e0
pickletools.py 70.1 KB