You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many methods raise AbstractMethodError instead of being an abstractmethod. Based on #20363 and #19268 it seems that there might be a performance issue with inheriting from abc.ABC:
This class does not inherit from 'abc.ABCMeta' for performance reasons.
I didn't find a reference of why inheriting from abc.ABC is slow. Is that a python 2 thing? Would it make sense to use abc.ABC+abstractmethod instead of raising AbstractMethodError?
The text was updated successfully, but these errors were encountered:
Many methods raise
AbstractMethodError
instead of being anabstractmethod
. Based on #20363 and #19268 it seems that there might be a performance issue with inheriting fromabc.ABC
:I didn't find a reference of why inheriting from
abc.ABC
is slow. Is that a python 2 thing? Would it make sense to useabc.ABC+abstractmethod
instead of raisingAbstractMethodError
?The text was updated successfully, but these errors were encountered: