[Python-Dev] METH_CLASS (original) (raw)
Guido van Rossum guido@python.org
Thu, 25 Apr 2002 10:54:06 -0400
- Previous message: [Python-Dev] METH_CLASS
- Next message: [Python-Dev] METH_CLASS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
--Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] METH_CLASS
- Next message: [Python-Dev] METH_CLASS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]