Open dwvisser opened 5 years ago
I see that in Python 3 that raise
has been changed to only accept a single argument, which must be an expression that resolves to something that is BaseException
or derived from it. I think that python-modernize should emit warning messages at least on these refactorings.
Wow. Yeah, that's really broken code :/...
This is similar to issue #180, which appears to have been closed without any justification given. Here's the relevant portion of the output of python-modernize (v0.7) which illustrates the bug: