Supporting #line directives

Fredrik Lundh effbot at telia.com
Mon Mar 6 09:58:30 EST 2000


Andrew Csillag <drew.csillag at starmedia.net> wrote:
> I've lately been using python as a target language for various purposes
> and I was wondering if anybody has thought of supporting something like
> C's #line directives which would make it possible to (without hacking an
> exception renderer to badly) show the lines from the original source
> file and not the generated python code.  Looking at the existing code it
> would appear to be nontrivial to implement (or a patch would have been
> attached <wink>).
>
> Or am I the only one?

nope.

</F>





More information about the Python-list mailing list