Menu

#324 del x[:] causes an internal error

open
nobody
None
5
2013-03-03
2013-03-03
Anonymous
No

$ cat t.py
def f(x):
del x[:]
$ pychecker t.py
Processing module t (t.py)...

Warnings...

t.py:2: INTERNAL ERROR -- STOPPED PROCESSING FUNCTION --
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/pychecker/warn.py", line 242, in _checkFunction
_checkCode(code, codeSource)
File "/usr/local/lib/python2.6/dist-packages/pychecker/warn.py", line 155, in _checkCode
raise NotImplementedError('No DISPATCH member for op %r' % op)
NotImplementedError: No DISPATCH member for op 50
$ pychecker -V
0.8.18

Discussion


Log in to post a comment.