Skip to content Skip to sidebar Skip to footer
Showing posts with the label Descriptor

Python Resettable Instance Method Memoization Decorator

I'm attempting to build a decorator for an instance method of a class that will memoize the res… Read more Python Resettable Instance Method Memoization Decorator

When And Why Might I Assign An Instance Of A Descriptor Class To A Class Attribute In Python Rather Than Use A Property?

I'm aware that a property is a descriptor, but are there specific examples of when using a desc… Read more When And Why Might I Assign An Instance Of A Descriptor Class To A Class Attribute In Python Rather Than Use A Property?