List prepend triggers : INTERNAL ERROR -- STOPPED PROCESSING FUNCTION
===== FILE: bad_pychecker.py =====
import sys
import os
try:
mydir=os.path.dirname(os.path.realpath(file))
except:
try:
mydir=os.path.dirname(os.path.realpath(sys.argv[0]))
except:
mydir='.'
sys.path[0:0] = [mydir, os.path.join(mydir,'..','cli_lib'),]
print('PYTHON_PATH=\n %s' % '\n '.join(sys.path))
===== OUTPUT =====
shell> pychecker --version
0.8.18
shell> pychecker bad_pychecker.py
Processing module bad_pychecker (bad_pychecker.py)...
PYTHON_PATH=
/export/home/tibco/qa_helper
/export/home/tibco/qa_helper/../cli_lib
/usr/lib/python26.zip /usr/lib/python2.6 /usr/lib/python2.6/plat-sunos5 /usr/lib/python2.6/lib-tk /usr/lib/python2.6/lib-old /usr/lib/python2.6/lib-dynload /usr/lib/python2.6/site-packages /usr/lib/python2.6/vendor-packages /usr/lib/python2.6/vendor-packages/gst-0.10 /usr/lib/python2.6/vendor-packages/gtk-2.0
Warnings...
bad_pychecker.py:15: INTERNAL ERROR -- STOPPED PROCESSING FUNCTION --
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pychecker/warn.py", line 242, in _checkFunction
_checkCode(code, codeSource)
File "/usr/lib/python2.6/site-packages/pychecker/warn.py", line 155, in _checkCode
raise NotImplementedError('No DISPATCH member for op %r' % op)
NotImplementedError: No DISPATCH member for op 43