March 19, 2014
10:01 p.m.
On Thu, 20 Mar 2014 07:54:39 +1000 Nick Coghlan <ncoghlan@gmail.com> wrote:
Graeme Dumpleton has also subsequently written a library to handle easier creation of correct proxy types: https://pypi.python.org/pypi/wrapt
(is "Graeme" another spelling for "Graham"?)
It isn't as simple as changing one lookup function though - abstract.c reads the type slots directly, and those are already hairy performance critical code paths (especially the binary operator type dispatch).
Oh indeed, you're right. I think my proposal is taking water. Regards Antoine.