[Python-apps-team] Bug#641320: pyflakes: please detect string exceptions

Jakub Wilk jwilk at debian.org
Mon Sep 12 15:54:02 UTC 2011


Package: pyflakes
Version: 0.5.0-1
Severity: wishlist

I'd nice if pyflakes could emit a warning on code like this:

     raise "shouldn't happen"

or

     raise 'Cannot determine type of callable: '+repr(callableObject)

or 

     raise "Can't read input parameters file : %s" % options.input_file

-- 
Jakub Wilk





More information about the Python-apps-team mailing list