Discussions on Python.org
Make abc.ABC a regular class by making __instancecheck__ and __subclasscheck__ class methods
Ideas
MegaIng
(Cornelius Krupp)
March 6, 2024, 1:28pm
50
Protocols still have a metaclass
Protocols imply structural subtyping, which isn’t applicable to quite a few usecases of ABCs (see
this post
)
4 Likes
show post in topic