[Python-Dev] METH_CLASS
Thomas Heller
thomas.heller@ion-tof.com
Thu, 25 Apr 2002 17:20:47 +0200
From: "Guido van Rossum" <guido@python.org>
> > But this doesn't answer my question. I still think that
> > the docs and the code disagree. (and also I _hope_ that
> > the docs are correct and the code is wrong ;-)
>
> Fred & I had a little whiteboard session. The docs indeed disagree
> with the code, and we agree that the code should be fixed. This
> requires some work: we'll have to introduce a new kind of descriptor
> that wraps a PyMethodDef pointer and creates a PyCFunction in response
> to the tp_descr_get call with the type as self. Fred will do this.
>
Great. I filed a bug report http://www.python.org/sf/548651.
From: "Fred L. Drake, Jr." <fdrake@acm.org>
>
> Thanks for reading the development docs and bringing this up!
I do this for pure egoistic reasons ;-)
Thomas