# Pastebin xSGP1Mkh *sys-package-mgr*: can't create package cache dir, '/usr/share/jython/cachedir/packages' Jython 2.5.3 (, Feb 22 2017, 10:52:18) [OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0_121 dType "help", "copyright", "credits" or "license" for more information. >>> def foo(): ... pass ... >>> foo() >>> foo.__code__ Traceback (most recent call last): File "", line 1, in AttributeError: 'function' object has no attribute '__code__' >>> import dis >>> dis.dis(foo) Traceback (most recent call last): File "", line 1, in File "/usr/share/jython/Lib/dis.py", line 42, in dis disassemble(x) File "/usr/share/jython/Lib/dis.py", line 64, in disassemble linestarts = dict(findlinestarts(co)) File "/usr/share/jython/Lib/dis.py", line 183, in findlinestarts byte_increments = [ord(c) for c in code.co_lnotab[0::2]] AttributeError: 'tablecode' object has no attribute 'co_lnotab'