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

2008-12-21 Thread R. Bernstein
Robert Kern writes: > 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 > t

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

2008-12-20 Thread Chris Rebert
On Sat, Dec 20, 2008 at 7:18 PM, 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? I believe it already does. FYI, eggs are just zip files with a certa

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

2008-12-20 Thread Robert Kern
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

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

2008-12-20 Thread R. Bernstein
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? Right now, I think pdb and pydb (and probably other debuggers) are broken when they try to trace into code that is part of an eg