Internal Debugger Question
Michael Hudson
mwh at python.net
Tue Sep 16 12:32:32 EDT 2003
llothar at web.de (Lothar Scholz) writes:
> i'm currently writing a debugger for python and found that some
> modules store an absolute file path in "co_filename" of there
> methods/functions and some store a relative file path. Because the
> relative file path can never be expanded to an absolute file path
> later (the sys.path may have changed) it is impossible to find the
> source code location.
>
> Is there anything i have missed or is this simply a bug. I would
> highly recommend to fix this bug !
I belive this is one of the oldest open bug reports on SF... I spent a
few minutes looking at it, before deciding I didn't care enough to fix
it. Your point of view may be different:
http://python.org/sf/415492
Be warned, the import code is some of the most frightening (to me,
anyway) code in Python.
Cheers,
mwh
--
48. The best book on programming for the layman is "Alice in
Wonderland"; but that's because it's the best book on
anything for the layman.
-- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html
More information about the Python-list
mailing list