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

Descriptors And Direct Access: Python Reference

The python 3.3 documentation tells me that direct access to a property descriptor should be possibl… Read more Descriptors And Direct Access: Python Reference

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

Behaviour Of Descriptor Concept In Python (confusing)

I understood python descriptor but I have a little confusion about this.. if you have a class descr… Read more Behaviour Of Descriptor Concept In Python (confusing)

Use Cases For Property Vs. Descriptor Vs. __getattribute__

The question refers to which one is preferable to be used in which use case, not about the technica… Read more Use Cases For Property Vs. Descriptor Vs. __getattribute__

Class Attribute Changing Value For No Reason

I have a problem with a program I am writing and i cannot for the life of me figure out what I am d… Read more Class Attribute Changing Value For No Reason