Message163502
| 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:41 | Robin.Schreiber | set | recipients:
+ Robin.Schreiber |
| 2012年06月22日 22:34:41 | Robin.Schreiber | set | messageid: <1340404481.13.0.60159663995.issue15146@psf.upfronthosting.co.za> |
| 2012年06月22日 22:34:40 | Robin.Schreiber | link | issue15146 messages |
| 2012年06月22日 22:34:40 | Robin.Schreiber | create |
|