[Python-bugs-list] [ python-Bugs-591586 ] Get rid of etype struct

noreply@sourceforge.net noreply@sourceforge.net
Tue, 06 Aug 2002 08:16:31 -0700


Bugs item #591586, was opened at 2002-08-06 11:16
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=591586&group_id=5470

Category: Type/class unification
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Guido van Rossum (gvanrossum)
Assigned to: Guido van Rossum (gvanrossum)
Summary: Get rid of etype struct

Initial Comment:
The 'etype' struct in typeobject.c prevents people like
David Abrahams and Christian Tismer from defining
C-level metatypes that add slots to the end of the type
structure. It should be possible for type_new() to
place the additional structures after an offset
determined by tp_basicsize of the metatype, rather than
at a fixed offset.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=591586&group_id=5470