Package: pychecker
Version: 0.8.17-9
Severity: normal

pychecker is not 2.5-fit, it seems. On the following code

try:
    pass
except (KeyboardInterrupt, SystemExit):
    pass

pychecker warns

except.py:5: Catching a non-Exception object (KeyboardInterrupt)
except.py:5: Catching a non-Exception object (SystemExit)

Probably because those two are derived from BaseException, while
everything else is derived from Exception in Python 2.5. There
is a patch around, which I did not test:
https://thomas.apestaart.org/thomas/trac/changeset/938?format=diff&new=938

According to the CHANGELOG
http://pychecker.cvs.sourceforge.net/pychecker/pychecker/CHANGELOG?view=markup
pychecker CVS does support Python 2.5. Again, I did not test.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to