Author Jelle Zijlstra
Recipients BvB93, Jelle Zijlstra, farcat, gvanrossum, kj, lars2, lukasz.langa, miss-islington, pablogsal, serhiy.storchaka, uriyyo
Date 2021-08-19.18:07:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629396455.36.0.0373576411335.issue44524@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-08-19 18:07:35Jelle Zijlstrasetrecipients: + Jelle Zijlstra, gvanrossum, farcat, lukasz.langa, serhiy.storchaka, pablogsal, miss-islington, uriyyo, BvB93, kj, lars2
2021-08-19 18:07:35Jelle Zijlstrasetmessageid: <1629396455.36.0.0373576411335.issue44524@roundup.psfhosted.org>
2021-08-19 18:07:35Jelle Zijlstralinkissue44524 messages
2021-08-19 18:07:35Jelle Zijlstracreate