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 ncoghlan
Recipients asvetlov, gvanrossum, ncoghlan, python-dev, scoder, vstinner, yselivanov
Date 2015-05-28.05:35:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432791353.73.0.128998767255.issue24017@psf.upfronthosting.co.za>
In-reply-to
Content
Given that tp_call is just "ternaryfunc", my guess would be "because when the iterator protocol was added, someone went with function-pointer-type-per-slot rather than function-pointer-type-per-call-signature".

We *are* a little inconsistent here (e.g. "reprfunc" could also just use the "unaryfunc" signature), but Stefan's right that that isn't a good reason to *add* to the inconsistency.
History
Date User Action Args
2015-05-28 05:35:53ncoghlansetrecipients: + ncoghlan, gvanrossum, scoder, vstinner, asvetlov, python-dev, yselivanov
2015-05-28 05:35:53ncoghlansetmessageid: <1432791353.73.0.128998767255.issue24017@psf.upfronthosting.co.za>
2015-05-28 05:35:53ncoghlanlinkissue24017 messages
2015-05-28 05:35:53ncoghlancreate