[issue41022] AST sum types is unidentifiable after ast.Constant became a base class
Batuhan Taskaya
report at bugs.python.org
Fri Jun 26 14:11:19 EDT 2020
Batuhan Taskaya <isidentical at gmail.com> added the comment:
> Where they were identifable in such way? It is incorrect way, because user can create a subclass of every AST class.
You are right, I didn't consider that while I was opening the issue. Also from 3.9>= can be searched "|" in the ASDL signature to identify these types.
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41022>
_______________________________________
More information about the Python-bugs-list
mailing list