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 gvanrossum
Recipients barry, gvanrossum, scoder, serhiy.storchaka
Date 2015-06-19.19:12:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434741172.2.0.761053868062.issue24469@psf.upfronthosting.co.za>
In-reply-to
Content
(1) Just look at the examples of other builtin types with a similar structure but no free_list.

(2) I guess the intention is for classes that subclass int to also override tp_alloc.

Note that much of this code is written pretty much assuming that subclasses are created using class statements (in a regular Python module, not Cython) which take care of all these details. That doesn't mean Cython is wrong to try this, but it does mean there isn't a lot of documentation, and it also means I don't think the thing you reported qualifies as a bug in CPython.
History
Date User Action Args
2015-06-19 19:12:52gvanrossumsetrecipients: + gvanrossum, barry, scoder, serhiy.storchaka
2015-06-19 19:12:52gvanrossumsetmessageid: <1434741172.2.0.761053868062.issue24469@psf.upfronthosting.co.za>
2015-06-19 19:12:52gvanrossumlinkissue24469 messages
2015-06-19 19:12:52gvanrossumcreate