[Python-Dev] PyDict_Get/SetItem and dict subclasses (original) (raw)
Éric Araujo merwok at netwok.org
Sat Nov 5 17:34:59 CET 2011
- Previous message: [Python-Dev] PyDict_Get/SetItem and dict subclasses
- Next message: [Python-Dev] PyDict_Get/SetItem and dict subclasses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Victor,
PyDictGetItem() and PyDictSetItem() don't call getitem and setitem for dict subclasses. Is there a reason for that?
http://bugs.python.org/issue10977 “Currently, the concrete object C API bypasses any methods defined on subclasses of builtin types.”
Cheers
- Previous message: [Python-Dev] PyDict_Get/SetItem and dict subclasses
- Next message: [Python-Dev] PyDict_Get/SetItem and dict subclasses
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]