[PEAK] ObjectWrapper subclasses always callable

Marcin Tustin marcin.tustin at gmail.com
Wed May 23 10:39:38 EDT 2012


I've found that instances of ObjectWrapper (and any subclasses) are always
callable (the callable function returns True), notwithstanding that the
__subject__ is not callable. Is there a way to remedy this?

I've tried deleting the __call__ method, creating empty slots, creating my
own call method, then trying to delete, using del or delattr on the
subclass object, and creating a custom __getattribute__, all to no avail.


-- 
Marcin Tustin
Tel: 07773 787 105
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.eby-sarna.com/pipermail/peak/attachments/20120523/b0bc3155/attachment.html


More information about the PEAK mailing list