Search code examples
What are metaclasses in Python?...


pythonoopmetaclasspython-classpython-datamodel

Read More
Which Python dunder/magic methods do you need to implement to correctly proxy an object?...


pythonpython-3.xmagic-methodspython-datamodelproxy-object

Read More
best way to create serializable data model...


pythonpython-dataclassespython-datamodel

Read More
Python: Magic method for when the object's reference count changes?...


pythonooppython-datamodel

Read More
Setting a class __name__ declaratively...


pythonmetaclasspython-datamodelpython-descriptorspython-object

Read More
Is there a built-in function to print all the current properties and values of an object?...


pythondebuggingintrospectionpretty-printpython-datamodel

Read More
Why doesn't Python have a "__req__" (reflected equality) method?...


pythonnumpypython-internalspython-datamodel

Read More
How do you check whether a python method is bound or not?...


pythonpython-datamodel

Read More
Python dunder methods wrapped as property...


pythonpython-descriptorspython-datamodel

Read More
Prevent creating new attributes outside __init__...


pythonpython-3.xclassooppython-datamodel

Read More
Get class that defined method...


pythonpython-2.6python-datamodel

Read More
When where and how can i change the __class__ attr of an object?...


pythonpython-datamodel

Read More
How to get method parameter names?...


pythondecoratorintrospectionpython-datamodel

Read More
Getting the class name of an instance...


pythonintrospectioninstanceofpython-datamodel

Read More
Implementing slicing in __getitem__...


pythonslicepython-datamodel

Read More
Get fully qualified class name of an object in Python...


pythonpython-datamodel

Read More
Are there any unique features provided only by metaclasses in Python?...


pythonoopmetaclasspython-datamodel

Read More
classmethods and data model methods, implementing operands over classes or types...


pythonpython-datamodel

Read More
How can I access the weakref object of the class itself through the class?...


pythonclassweak-referencespython-internalspython-datamodel

Read More
Is everything greater than None?...


pythonpython-datamodel

Read More
Usage of __setattr__ to rewrite whole method of library class issue: missing 1 required positional a...


python-3.xpython-datamodel

Read More
Python introspection: How to get an 'unsorted' list of object attributes?...


pythonintrospectionpython-datamodel

Read More
Create class and represent it without quotation marks...


pythonoverridingalgebraic-data-typespython-datamodel

Read More
Should __ne__ be implemented as the negation of __eq__?...


pythoncomparisonoperatorsinequalitypython-datamodel

Read More
How is the 'is' keyword implemented in Python?...


pythonpython-datamodelbuilt-in

Read More
Multiply operator applied to list(data structure)...


pythonlistmultiplicationshallow-copypython-datamodel

Read More
Why are the class __dict__ and __weakref__ never re-defined in Python?...


pythonclassattributespython-datamodel

Read More
Why do __setattr__ and __delattr__ raise an AttributeError in this case?...


pythonattributeslookuppython-descriptorspython-datamodel

Read More
imported variable update is not reflecting in the parent module...


pythonpython-importpython-datamodel

Read More
Python: Filter iterable class...


pythonpython-3.xpython-datamodel

Read More
BackNext