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/2005-September/056116.html below:

[Python-Dev] Asynchronous use of Traceback objects

[Python-Dev] Asynchronous use of Traceback objects [Python-Dev] Asynchronous use of Traceback objectsPhillip J. Eby pje at telecommunity.com
Sat Sep 3 20:09:09 CEST 2005
At 06:24 PM 9/3/2005 +1000, Christopher Armstrong wrote:
>For example, perhaps a better idea would be to
>change the traceback-printing functions to use Python attribute lookup
>instead of internal structure lookup, and then change raise to accept
>arbitrary Python objects as its third argument, as long as it matches
>the traceback interface.

Given that traceback printing isn't a performance-critical activity, there 
probably isn't a reason any more for requiring a particular C layout.  On 
the other hand, being able to create frame or traceback instances or 
subclasses would probably also solve your problem, without having to do too 
much hacking on the C code that expects a particular layout.

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