Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> Maybe we need to add an API (e.g. a flag to compile()) so that we can ask the 
> actual parser the question we're interested in, rather than having to use 
> hacks and heuristics?

I was thinking about that, but we need to fix some inconsistencies along the 
way first. I am currently already doing that work (starting with 
https://github.com/python/cpython/pull/24763) and once that is fixed we can 
pass that down with some flags to the compiler.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to