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