On 5/18/2013 3:46 PM, Peter Otten wrote:
Dan Stromberg wrote:
python 2.x, python 3.x and pypy all give this same error, though jython
errors out at a different point in the same method.
By the way, 3.x doesn't have unbound methods, so that should work.
It does for this example (3.3.1)
>>> c = C()
>>> c.m()
<__main__.C object at 0x00000000033FC5F8>
>>> C.m(c)
<__main__.C object at 0x00000000033FC5F8>
>>> C.m(self=c)
<__main__.C object at 0x00000000033FC5F8>
--
http://mail.python.org/mailman/listinfo/python-list