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

Maximum Recursion Depth Error With Getattr

I have this code; class NumberDescriptor(object): def __get__(self, instance, owner): n… Read more Maximum Recursion Depth Error With Getattr

Python Descriptor Vs Property

Possible Duplicate: When and why might I assign an instance of a descriptor class to a class attrib… Read more Python Descriptor Vs Property