W
Wolfram Hinderer
After some off-list discussion with Ethan Furman (many thanks!), the
Python Doc bug is submitted: #9536 at bugs.python.org.
-John
This is probably nitpicking, but the patch calls __missing__ a special
method. However, unlike special methods, it is not invoked by "special
syntax" but by the dict's __getitem__ method. (len() invokes __len__
on any object - you can't do something similar with __missing__.)
__missing__ is also not listed as a special method on
http://docs.python.org/py3k/reference/datamodel.html#special-method-names
However, "normal" special method lookup seems to be used.