delegation pattern via descriptor

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Sat Jul 3 05:15:18 EDT 2010


kedra marbun a écrit :
> if we limit our discussion to py:
> why __{get|set|delete}__ don't receive the 'name' & 'class' from
> __{getattribute|{set|del}attr}__
> 'name' is the name that is searched

While it would have been technically possible, I fail to imagine any use
case for this.




More information about the Python-list mailing list