pylint #113023 Add support for raise (type, value, traceback) [open]
There are various ways of raising an exception in Python and pylint only supports some of them. This case fails:
pablo@eulogia:/tmp$ cat abc.py
try:
pablo@eulogia:/tmp$
As you can see, pylint shows an error (E: 7,4: Raising tuple while only classes, instances or string are allowed) while Python happily raises the TypeError exception with the provided data. | |
priority | normal |
---|---|
type | bug |
done in | <not specified> |
load | 1.100 |
load left | 1.100 |
closed by | <not specified> |