Embedding / Extending Python 2.3
John Paquin
SquatLittleElvis_spammenot at netscape.net
Wed Aug 27 11:47:47 EDT 2003
I wrote about this briefly in a previous post, but I thought I'd put it
out there seperately.
Has anyone else noticed that the tp_methods field of the PyTypeObject
class no longer seems to do anything?
In previous versions, you would make a list of the methods and attach
them to the tp_methods ptr and the interpreter would find them
automatically.
Now, however, you have to explicitly check for them in the getattr callback.
Is this what was intended? anyone know?
More information about the Python-list
mailing list