[Python-Dev] module extension search order - can it be changed?

Mark Hammond mhammond@skippinet.com.au
Thu, 27 Feb 2003 23:19:26 +1100


[Michael]
> It Would Be Nice (tm) if the code that printed tracebacks could be
> made cleverer in some fashion.

I guess this could be a 2-stage thing:
* Delegate the dumping of tracebacks in C code back to the traceback module.
I guess that the existing code would need to remain if an error is raised
printing it, but in general, traceback does a fine job.

* Give linecache some additional smarts.  Once we are back in Python land,
the possibilities become vast.

Mark.