You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As such, a raise outside an except: block isn't an error per se: it depends on the call stack from which its called. Since we can't know that until runtime I don't think it's something Pyflakes can check.
Original report by jayvdb (@jayvdb?) on Launchpad:
raise
without any arguments inside an exception block can re-raise the exception.outside an exception block it causes the following on at least 2.7:
TypeError: exceptions must be old-style classes or derived from BaseException, not NoneType
The text was updated successfully, but these errors were encountered: