New submission from Bosko Vukov bvu...@users.sourceforge.net:
For some reason functions PyDict_GetItem ( and PyDict_GetItemString )
don't try to check for '__missing__' on subclass, but
dict_subscript(dictobject *mp, register PyObject *key) does.
Only in this function a failure to get a value
Benjamin Peterson benja...@python.org added the comment:
Yes, this is intended. PyDict_GetItem already bypasses user __getitem__
methods, so it's logical it would do the same for __missing__.
--
nosy: +benjamin.peterson
resolution: - wont fix
status: open - closed