linecache vs egg - reading line of a file in an egg

Robert Kern robert.kern at gmail.com
Sun Dec 21 04:37:28 CET 2008


R. Bernstein wrote:
> Does linecache work with source in Python eggs? If not, is it
> contemplated that this is going to be fixed or is there something else
> like linecache that currently works?

linecache works with eggs and other zipped Python source, but it had to extend 
the API in order to do so. Some of the debuggers don't use the extended API. 
This will be fixed in the next 2.6.x bugfix release, but not in 2.5.3.

http://bugs.python.org/issue4201

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list