Xiang Zhang added the comment:

Yes, ignoring exceptions is due to historical reasons. Although it's used 
rarely but I am still afraid changing it may break knowledge of devs that are 
already familiar with dict APIs. And what's more is there already exists two 
versions of getitem, one version with no exceptions and one version propagates 
exceptions (witherror), maybe we can also introduce a 


Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list

Reply via email to