A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-March/071459.html below:

[Python-Dev] except Exception as err, tb [was: with_traceback]

[Python-Dev] except Exception as err, tb [was: with_traceback] [Python-Dev] except Exception as err, tb [was: with_traceback]Greg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 2 22:42:01 CET 2007
Brett Cannon wrote:

>  except Exception as exc with tb:
>      ...

I was thinking of that too, plus a matching

   raise Exception with tb

The only use for a 'catch' object would then be for
returning from sys.exc_info(), and I'm not sure it's
worth creating one just for that rather than using
a 2-tuple.

--
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4