参考文献(len()関数がオブジェクトの長さを手にいれる仕組み)
blog等 (slide=52)
len が関数になっている理由
len が py3k でも 関数のままである理由
CPython code (slide=53)
slot_sq_length
https://github.com/python/cpython/blob/1f06a680d/Objects/typeobject.c#L5920-L5944
https://github.com/python/cpython/blob/v3.12.1/Objects/typeobject.c#L8438-L8463
その他 (slide=54)
結城浩にインタビュー Java言語で学ぶデザインパターン入門