Is there a __getattribute__ work-alike in Cython?

Essentially I need direct control over an objects tp_getattro and
tp_setattro slots to implement a wrapper class. Specificly
wrapped.__class__ should go to the wrapped objects class attribute, not
the wrapping objects __class__ attribute.

__getattr__ outputs C-source that includes a call to
PyObject_GenericGetAttr first, and won't run my code if that call
succeeds.

Thanks,

Peter

-- 
http://petertodd.org 'peter'[:[EMAIL PROTECTED] 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to