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 larry
Recipients bfroehle, larry, loewis, vstinner
Date 2014-01-31.11:49:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391168972.01.0.919110466169.issue17162@psf.upfronthosting.co.za>
In-reply-to
Content
I was thinking of a subclass of an existing class, both implemented in C.  collections.Counter does that, but it uses _PyType_LookupId() which is in the limited API.

Would it be possible to achieve equivalent functionality by using _PyType_LookupId()?  If so, maybe instead of the proposed new function PyType_GetSlot, we should make _PyType_Lookup and _PyType_LookupId part of the public API.
History
Date User Action Args
2014-01-31 11:49:32larrysetrecipients: + larry, loewis, vstinner, bfroehle
2014-01-31 11:49:32larrysetmessageid: <1391168972.01.0.919110466169.issue17162@psf.upfronthosting.co.za>
2014-01-31 11:49:31larrylinkissue17162 messages
2014-01-31 11:49:31larrycreate