[issue18077] dis.dis throws IndexError

Ronald Oussoren report at bugs.python.org
Tue May 28 08:32:52 CEST 2013


Ronald Oussoren added the comment:

AFAIK dis.dis only decompiles bytecode in python 2, as is mentioned in the documentation at <http://docs.python.org/2/library/dis.html?highlight=dis#dis.dis>.  In Python 3 dis.dis can compile a string with Python source to bytecode and decompile that (see <http://docs.python.org/3/library/dis.html?highlight=dis#dis.dis>).

Thus this is IMHO not a bug.

----------
nosy: +ronaldoussoren

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18077>
_______________________________________


More information about the Python-bugs-list mailing list