[Python-3000] Method descriptors

Christian Heimes lists at cheimes.de
Wed Dec 12 20:08:49 CET 2007


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



More information about the Python-3000 mailing list