Python 3 removes name binding from outer scope

Paul Rubin no.email at nospam.invalid
Tue Jul 25 02:03:32 EDT 2017


Ben Finney <ben+python at benfinney.id.au> writes:
> How can I stop Python from deleting a name binding, when that name is
> used for binding the exception that is caught?

Use sys.exc_info()



More information about the Python-list mailing list