rocky / python-xdis

Python cross-version bytecode library and disassembler
GNU General Public License v2.0
292 stars 95 forks source link

Correct stack info for IMPORT_NAME #79

Closed rocky closed 3 years ago

rocky commented 3 years ago

In particular before Python 2.6 we don't pop TOS and TOS1.

Also in we got the number of arguments pushed wrong: should be 1, not 2.