[Cython] relative_path_in_code_position_comments

Robert Bradshaw robertwb at math.washington.edu
Tue Nov 15 10:23:13 CET 2011


On Wed, Sep 21, 2011 at 2:48 AM, Brett Calcott <brett.calcott at gmail.com> wrote:
> Hi all,
> 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?
> Thanks,
> Brett

This was fixed with https://github.com/cython/cython/pull/55 , wasn't
it? (I'm not sure if this has been released yet.)

- Robert


More information about the cython-devel mailing list