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 josh.r
Recipients eelizondo, josh.r
Date 2018-12-08.03:01:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544238072.86.0.788709270274.issue35438@psf.upfronthosting.co.za>
In-reply-to
Content
Batteries-included extension modules aren't limited to the public and/or limited API; they use tons of undocumented internal APIs (everything to do with Py_IDENTIFIERs being an obvious and frequently used non-public API).

_PyObject_LookupSpecial is necessary to lookup special methods on the class of an instance (bypassing the instance itself) when no C level slot is associated with the special method (e.g. the math module using it to look up __ceil__ to implement math.ceil). Sure, each of these modules could reimplement it from scratch, but I'm not seeing the point in doing so.
History
Date User Action Args
2018-12-08 03:01:12josh.rsetrecipients: + josh.r, eelizondo
2018-12-08 03:01:12josh.rsetmessageid: <1544238072.86.0.788709270274.issue35438@psf.upfronthosting.co.za>
2018-12-08 03:01:12josh.rlinkissue35438 messages
2018-12-08 03:01:11josh.rcreate