Message228209
I'm worried about the runtime cost of this. Code like this is an extremely common idiom and should remain fast:
try:
x = d[key]
except KeyError:
# do something else |
|
| Date |
User |
Action |
Args |
| 2014-10-02 10:51:09 | pitrou | set | recipients:
+ pitrou, gvanrossum, barry, georg.brandl, jamesh, ncoghlan, benjamin.peterson, jwilk, eric.araujo, Trundle, cvrebert, daniel.urban, yorik.sar, ethan.furman, Yury.Selivanov, Jim.Jewett, gcbirzan, Antony.Lee |
| 2014-10-02 10:51:09 | pitrou | set | messageid: <[email protected]> |
| 2014-10-02 10:51:08 | pitrou | link | issue12029 messages |
| 2014-10-02 10:51:08 | pitrou | create | |
|