Message399929
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. |
|
Date |
User |
Action |
Args |
2021-08-19 18:07:35 | JelleZijlstra | set | recipients:
+ JelleZijlstra, gvanrossum, farcat, lukasz.langa, serhiy.storchaka, pablogsal, miss-islington, uriyyo, BvB93, kj, lars2 |
2021-08-19 18:07:35 | JelleZijlstra | set | messageid: <1629396455.36.0.0373576411335.issue44524@roundup.psfhosted.org> |
2021-08-19 18:07:35 | JelleZijlstra | link | issue44524 messages |
2021-08-19 18:07:35 | JelleZijlstra | create | |
|