Benjamin Peterson 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
__
New submission from Bosko Vukov :
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 using
ma_lookup checks afterwar