Message331373
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. |
|
Date |
User |
Action |
Args |
2018-12-08 03:01:12 | josh.r | set | recipients:
+ josh.r, eelizondo |
2018-12-08 03:01:12 | josh.r | set | messageid: <1544238072.86.0.788709270274.issue35438@psf.upfronthosting.co.za> |
2018-12-08 03:01:12 | josh.r | link | issue35438 messages |
2018-12-08 03:01:11 | josh.r | create | |
|