python's error numbers are not parsible by emacs' next-error

Dan Jacobson jidanni at deadspam.com
Tue May 7 20:57:34 EDT 2002


Fellas, I can't believe GNU Emacs' next-error command [part of M-x
compile] can't parse python line numbers.  But apparently it is true,
so I just posted this to gnu.emacs.bug :
------------
>>>>> "RMS" == Richard Stallman <rms at gnu.org> writes:

RMS> Could you please show me one complete Python error message?
RMS> That will give me the information I need to handle them properly.

$ echo bla|python /dev/stdin
Traceback (innermost last):
  File "/dev/stdin", line 1, in ?
NameError: bla

or something like that.  You really don't want to be asking me, as
I've only used python for one day.  I will post to the python groups
to tell them to post the real answer to gnu.emacs.bug.
-- 
http://jidanni.org/ Taiwan(04)25854780



More information about the Python-list mailing list