Hi Victor,

> PyDict_GetItem() and PyDict_SetItem() 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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to