[issue43892] Make match patterns explicit in the AST
Pablo Galindo Salgado
report at bugs.python.org
Thu Apr 22 14:46:30 EDT 2021
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
> I'm not really sure whether we should continue following this old tradition of int? end_* attributes for new sum types like pattern, considering that it was done for supporting the creation of old nodes 3.8< without any change on 3.8>=. pattern subclasses will only be created on 3.10>= so we should be safe by requiring end_* attributes.
Yeah, it will be a requirement very soon actually.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43892>
_______________________________________
More information about the Python-bugs-list
mailing list