Skip to content Skip to sidebar Skip to footer
Showing posts with the label Abstract Class

Strange Behaviour When Mixing Abstractmethod, Classmethod And Property Decorators

I've been trying to see whether one can create an abstract class property by mixing the three d… Read more Strange Behaviour When Mixing Abstractmethod, Classmethod And Property Decorators

Python's Super(), Abstract Base Classes, And Notimplementederror

Abstract base classes can still be handy in Python. In writing an abstract base class where I want … Read more Python's Super(), Abstract Base Classes, And Notimplementederror

Can I Prevent Class Definition Unless A Method Is Implemented?

I'm trying to figure out how to provide a base class to plugin writers so that they provide def… Read more Can I Prevent Class Definition Unless A Method Is Implemented?