[Python-Dev] Extending types in C (original) (raw)

[Python-Dev] Extending types in C - help needed

Thomas Heller thomas.heller@ion-tof.com
Thu, 7 Feb 2002 22:10:18 +0100


[Guido]

> A better solution is to store additional information in the dict. [Thomas] You loose nice features: access these (new) slots from Python by providing tpmembers entries for them (for example).

This thread is IMO closed, just for completenes I want to mention that the same effect can be accomplished easily with tp_getset.

Thomas