2011/11/14 blaaaa <babiucandreea@gmail.com>

I have the following line  in a java file that doesn't seem to work.

interp.exec("import inspect");

I get  ImportError: no module named inspect.

It seems like the inspect module has been made compatible with Jython so
what should I do to get it to work?

Thanks in advance!

It works well on my Jython console. OpenSuse 11.4, AMD64, Jython 2.5.2.

Pierre Thibault

Python Developer/Développeur Python
Montréal, QC