[issue26881] modulefinder should reuse the dis module
Serhiy Storchaka
report at bugs.python.org
Wed May 11 15:30:44 EDT 2016
Serhiy Storchaka added the comment:
Thank you Victor. Fixed.
> IMHO it's worth to add an optional argument to skip extended opcodes in
_unpack_opcodes() to simplify the code in modulefinder.
But this would complicate the code in dis.
If the disassembler would changed to skip extended opcodes, we would add this option in _unpack_opargs().
If there would be some Python 3 analogue of PEP 291, modulefinder would be changed to use public dis API.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26881>
_______________________________________
More information about the Python-bugs-list
mailing list