Jelle Zijlstra <jelle.zijls...@gmail.com> added the comment:

I don't think we need to support Annotated as a base class. PEP 593 is titled 
"Flexible function and variable annotations", and base classes are neither of 
those things. None of the examples in the PEP or the implementation use 
Annotated as a base class either.

On the other hand, subclassing Annotated[T, ...] does work at runtime in 3.9, 
so maybe we're bound by backward compatibility now.

----------

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

Reply via email to