Message276681
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 _PyDict_GetItem_KnownHashWithError? |
|
Date |
User |
Action |
Args |
2016-09-16 07:24:14 | xiang.zhang | set | recipients:
+ xiang.zhang, vstinner, methane |
2016-09-16 07:24:14 | xiang.zhang | set | messageid: <1474010654.77.0.721096312675.issue28123@psf.upfronthosting.co.za> |
2016-09-16 07:24:14 | xiang.zhang | link | issue28123 messages |
2016-09-16 07:24:14 | xiang.zhang | create | |
|