[issue44409] compile raises SyntaxError with undocumented lineno attribute None

Pablo Galindo Salgado report at bugs.python.org
Sun Jun 13 17:31:33 EDT 2021


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

Well, in both cases this means that the line number is not available. I think None is a bit cleaner in this regard.

----------

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


More information about the Python-bugs-list mailing list