[issue35766] Merge typed_ast back into CPython

Anthony Sottile report at bugs.python.org
Sat Jan 19 16:15:42 EST 2019


Anthony Sottile <asottile at umich.edu> added the comment:

Seems also related to https://bugs.python.org/issue24119

with python2 / python3.5 (hopefully) rapidly falling off in usage I would assume the specialized treatment of `# type: ...` comments would become less and less necessary

Though I guess there's still `# type: ignore`, though if I recall correctly ignores are bubbled up to the module level and are applied on a line-by-line basis and wouldn't necessarily need specialized AST treatment (though a second parse over the token stream is a bit unfortunate)

----------

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


More information about the Python-bugs-list mailing list