[Python-Dev] PEP 447: add type.locallookup (original) (raw)
Eric Snow ericsnowcurrently at gmail.com
Thu Sep 19 22:23:12 CEST 2013
- Previous message: [Python-Dev] PEP 447: add type.__locallookup__
- Next message: [Python-Dev] PEP 447: add type.__locallookup__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Sep 19, 2013 at 4:04 AM, Ronald Oussoren <ronaldoussoren at mac.com>wrote:
The C code uses PyDictGetItem 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>
- Previous message: [Python-Dev] PEP 447: add type.__locallookup__
- Next message: [Python-Dev] PEP 447: add type.__locallookup__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]