Two articles on new-style objects
Shalabh Chaturvedi
shalabh@cafepy.com
Sat, 03 Apr 2004 16:23:00 -0800
I would like to announce that two articles explaining in detail the
working of new-style (v2.2 and up) objects have been released as final
versions.
1. Python Types and Objects
http://www.cafepy.com/articles/python_types_and_objects/
Explains different Python new-style objects, starting with <type 'type'>
and <type 'object'>, and going all the way to user defined classes and
instances. The system described is sometimes called the Python type
system, or the object model.
2. Python Attributes and Methods
http://www.cafepy.com/articles/python_attributes_and_methods/
Explains the mechanics of attribute access, how functions become
methods, descriptors, properties, MRO and the like for new-style Python
objects.
Any and all feedback is appreciated, and can be sent to shalabh@cafepy.com.
--
Shalabh Chaturvedi