On 3/2/2010 3:57 AM, Bruno Desthuilliers wrote:

With the instance object (if any) and class object available,
it's easy to create a method object that wraps the function object.

That's perfect.


Fixed.

But there's also a typo to fix in the Python implementation of the
Method object: in the call method, it should inject self.im_self as
first arg, not self.im_func. This had been spotted by someone named John
Posner, IIRC !-)


Fixed (oops!).

I've updated the text at this location:

>   http://cl1p.net/bruno_0301.rst/

I think the ball is back in your court, Bruno. I'd be happy to help more -- feel free to contact me off-list, at jjpos...@optimum.net.

Best,
John

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to