[Cython] relative_path_in_code_position_comments

Stefan Behnel stefan_ml at behnel.de
Tue Nov 15 10:42:29 CET 2011


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


More information about the cython-devel mailing list