Greg Ewing wrote: > I put forward a possible reason recently -- so that > Pyrex-defined functions could be used as methods > without requiring any special trickery.
http://svn.python.org/view?rev=59469&view=rev PyObject *wrapped = PyInstanceMethod_New(PyObject *callable); The API isn't exposed to Python programs yet but it implements all necessary bits and pieces for Python code. Christian _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com