[Python-Dev] PEP 447: add type.__locallookup__

Eric Snow ericsnowcurrently at gmail.com
Thu Sep 19 22:23:12 CEST 2013


On Thu, Sep 19, 2013 at 4:04 AM, Ronald Oussoren <ronaldoussoren at mac.com>wrote:

> The C code uses PyDict_GetItem and AFAIK that doesn't look for a
> __getitem__
> implementation in a subclass.
>

Yeah, the PyDict_* API is definitely not subclass friendly. :(

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130919/19f7f5c4/attachment.html>


More information about the Python-Dev mailing list