Bryan wrote:
i'm also curious if it's possible to write this recipe using the new class style for the Deffered class. it appears you can nolonger delegate all attributes including special methods to the contained object by using the __getattr__ or the new __getattribute__ methods. does anyone know how to port this recipe to the new class style?

Override __getattribute__. I don't know why you think it doesn't let you override all attribute accesses, as that's exactly what it is for.


Cheers,
Nick.

--
Nick Coghlan   |   [EMAIL PROTECTED]   |   Brisbane, Australia
---------------------------------------------------------------
            http://boredomandlaziness.skystorm.net
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to