This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients amaury.forgeotdarc, ronaldoussoren
Date 2013-06-10.15:08:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370876896.42.0.155961425001.issue18181@psf.upfronthosting.co.za>
In-reply-to
Content
I didn't, but the attached script should do the trick. The code suffers badly from copy&paste editing, but more or less has the same behavior as PyObjC.

It defines a subclass of list (MyList) with an append method, and more importantly also defines 3 "proxy" classes: ProxyObject, ProxyList and ProxyMyList that are proxy types for object, list and MyList.

At the end I try to access methods on instances of a proxy objects for MyList, and finally try to access super(MyList, v).append. That only works when "append" is in the __dict__ for ProxyList (for example by uncommenting the 3 lines just above the use of super()).
History
Date User Action Args
2013-06-10 15:08:16ronaldoussorensetrecipients: + ronaldoussoren, amaury.forgeotdarc
2013-06-10 15:08:16ronaldoussorensetmessageid: <1370876896.42.0.155961425001.issue18181@psf.upfronthosting.co.za>
2013-06-10 15:08:16ronaldoussorenlinkissue18181 messages
2013-06-10 15:08:16ronaldoussorencreate