This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Robin.Schreiber
Recipients Robin.Schreiber
Date 2012-06-22.22:34:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340404481.13.0.60159663995.issue15146@psf.upfronthosting.co.za>
In-reply-to
Content
Enhancement to the currently existing PyType_FromSpec() which creates and returns a heap type from a given spec. PyType_FromSpecWithBases() works similar to PyType_FromSpec(), however it sets the bases of the newly created heap type to the types contained inside the passed bases-tuple.
This allows the programmer to reference other heap-types as base types of  a new heap type. This is necessary as the slot-API, which is used for static declarations of the type-spec, currently relies on statically declared type objects as tp_base or tp_bases entries.
History
Date User Action Args
2012-06-22 22:34:41Robin.Schreibersetrecipients: + Robin.Schreiber
2012-06-22 22:34:41Robin.Schreibersetmessageid: <1340404481.13.0.60159663995.issue15146@psf.upfronthosting.co.za>
2012-06-22 22:34:40Robin.Schreiberlinkissue15146 messages
2012-06-22 22:34:40Robin.Schreibercreate