Brett Calcott, 21.09.2011 11:48:
The path in cython's error output is insensitive to the cwd where cython in
invoked. It seems to be based on this variable in Cython/Compiler/Main.py:

   relative_path_in_code_position_comments = True,

If I understand it right, the path output is relative to module it is in,
instead of relative to the cwd.

This plays havoc with my editor (Vim), as it attempts to try and load the
file that caused the error based on parsing the output. I've just changed
this variable to False in my install, and it works fine.

Is there a reason for this? Am I missing some easy way around this?

Hi,

note that the best place to discuss usage related questions is the cython-users mailing list.

Stefan
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to