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

Greg Ewing greg@cosc.canterbury.ac.nz
Wed, 26 Feb 2003 12:59:21 +1300 (NZDT)


Guido:
> Someone:
> > Speaking entirely from a point of ignorance, why are the source line #s 
> > not shown for frames that are implemented in modules loaded from 
> > zipimport?
> 
> Because the code printing the tracebacks doesn't know how to look
> inside a zip file.

Maybe, if the source file can't be found, it could
decompile the bytecode?

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+