[Python-Dev] Extending types in C
[Python-Dev] Extending types in C - help needed
Guido van Rossum guido@python.orgThu, 07 Feb 2002 22:03:14 -0500
- Previous message: [Python-Dev] Extending types in C - help needed
- Next message: [Python-Dev] Mixing memory management APIs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> > A better solution is to store additional information in the __dict__. > > You loose nice features: access these (new) slots from Python > by providing tp_members entries for them (for example). I'm not sure I understand what you mean. Why would you need a tp_members entry for something that's in __dict__? > Are you planning to address this issue in the future? David Abrahams (of Boost++ fame) is also interested in a solution for this problem, so I may have to. Not in 2.2.1, though -- this will have to be rearchitected so it's a 2.3 issue. --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] Extending types in C - help needed
- Next message: [Python-Dev] Mixing memory management APIs
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]