Ethan Furman a écrit :

Very helpful, thank you. Hopefully my brain will be up to the descriptor protocol this time... the last couple times were, um, less than successful. :)

Well, it's quite simple in fact. Most of the "magic" happens in object.__getattribute__ and object.__setattr__. You'll find a rough description of what happens here:

http://groups.google.com/group/comp.lang.python/browse_frm/thread/a136f7626b2a8b7d/70a672cf7448c68e




--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to