[issue45249] Syntax error location range indicator does not work in doctests

Andrei Kulakov report at bugs.python.org
Mon Sep 20 22:17:16 EDT 2021


Andrei Kulakov <andrei.avk at gmail.com> added the comment:

Thinking a bit more on this, I'm not sure this can be closed, as SyntaxError indicators seems not to be working. I'm not sure if this is limited to doctests or not. I've updated the title to narrow it down to SyntaxErrors.

I can look more into this if needed. If it's just doctests, it doesn't matter because the doctests ignore the indicators anyway, but if it can happen in some other cases, perhaps it's worth fixing.

However I don't have experience with the C parts of python, so I'm not sure where / how to look.

Pablo: let me know if you have any pointers on how to debug this, or if you think this should be closed.

----------
title: Fine grained error locations do not work in doctests -> Syntax error location range indicator does not work in doctests

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45249>
_______________________________________


More information about the Python-bugs-list mailing list