pylint #8355 undetected unreachable code [open]

Vincent Legoll on python-projects:

def a():
      try:
              return
      except:
              return

      raise Exception('a')

Pylint does not report unreachable code, whereas if we remove the try / except from around the return, it does...

prioritynormal
typebug
done in<not specified>
load0.300
load left0.300
closed by<not specified>