On Fri, 02 Jul 2010 06:28:59 -0700, kedra marbun wrote: > hello, friendliest prog lang community on earth ;) > > i'm feeling that > (0) delegation pattern thru descriptor encourages dedicated delegate for > each task, if feeling: print(benefits) (1) the delegate is designed to > be blind about the class on which the delegate is attached to > > isn't that the two strengthen the coupling between delegator & delegate > obviously __getattribute__ & his 2 friends of 'object' & 'type' have > what it takes to make it not like that, it's just that they're not > designed to pass it. thus i think it is by design > > yes i know there's a way around it, the most obvious to me is defining > your own hooks (which is not trival, at least to me) , but like i said, > it's encouraged
I'm sorry, I don't understand a thing you're saying there. Can you explain what you mean? -- Steven -- http://mail.python.org/mailman/listinfo/python-list