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 pitrou
Recipients Robin.Schreiber, asvetlov, gregory.p.smith, gstein, loewis, pitrou
Date 2012-08-18.20:02:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345319985.4150.5.camel@localhost.localdomain>
In-reply-to <1345224630.27.0.0367899548305.issue15653@psf.upfronthosting.co.za>
Content
> So I'd propose that it is actually the leaf subtype which decrefs
> ob_type. The check whether you are the leaf type is then done by
> checking whether tp_dealloc is the one you are "in" right now.

By leaf, you mean the derived subtype? That sounds a bit quirky (you
need the aforementioned "if"), how about the base heap type instead?

Speaking of which, what does this refactoring bring exactly? The type
declarations are slightly less verbose, but other than that, is there a
point? (using the stable ABI doesn't seem to provide any benefit for
standard extension modules; besides, using PyType_FromSpec is only a
small part of complying with the stable ABI)
History
Date User Action Args
2012-08-18 20:02:50pitrousetrecipients: + pitrou, loewis, gstein, gregory.p.smith, asvetlov, Robin.Schreiber
2012-08-18 20:02:49pitroulinkissue15653 messages
2012-08-18 20:02:49pitroucreate