Comment Comment by nomel Oddly enough, "except" variables don't remain bound! try: x = int('cat') except Exception as e: pass print(e) # <- NameError: name 'e' is not defined So, it appears Python actually has three variable scopes (global, local, exception block)? parent nomel 1 year ago