commit | d0f7c86a20e9cef8cbf2c8fb676fcc8d8a7000b4 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Jan 28 15:27:57 2003 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Jan 28 15:27:57 2003 +0000 |
tree | dbb687921cbbff2baf04022d02361e2a153eaa69 | |
parent | 1be31759929c67a3f0b8d11ac8a48ab881760fa8 [diff] |
dis(): Not all opcodes are printable anymore, so print the repr of the opcode character instead (but stripping the quotes). Added a proto 2 test section for the canonical recursive-tuple case. Note that since pickle's save_tuple() takes different paths depending on tuple length now, beefier tests are really needed (but not in pickletools); the "short tuple" case tried here was actually broken yesterday, and it's subtle stuff so needs to be tested.