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/2003-June/036152.html below:

[Python-Dev] Re: PEP-317

[Python-Dev] Re: PEP-317 [Python-Dev] Re: PEP-317Steven Taschuk staschuk@telusplanet.net
Tue, 10 Jun 2003 16:07:10 -0600
Quoth Walter Dörwald:
> Steven Taschuk wrote:
> > [...]
> > I would also like the traceback to be an attribute of the
> > exception object (circular references be damned!), specified by
> > optional keyword argument to Exception.__init__.  [...]
> 
> Wouldn't it make more sense to associate the traceback with the
> exception instance when the exception is raised, not when the
> exception is instantiated? As long as the exception isn't raised
> it's just a normal object without a traceback attached.

Absolutely; my notion to use __init__ above actually makes no
sense, I subsequently realized.  Consider it withdrawn.

-- 
Steven Taschuk                                                 o- @
staschuk@telusplanet.net                                      7O   )
                                                               "  (



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