Message228209
| Author |
pitrou |
| Recipients |
Antony.Lee, Jim.Jewett, Trundle, Yury.Selivanov, barry, benjamin.peterson, cvrebert, daniel.urban, eric.araujo, ethan.furman, gcbirzan, georg.brandl, gvanrossum, jamesh, jwilk, ncoghlan, pitrou, yorik.sar |
| Date |
2014年10月02日.10:51:08 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1412247069.0.0.603896242633.issue12029@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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: <1412247069.0.0.603896242633.issue12029@psf.upfronthosting.co.za> |
| 2014年10月02日 10:51:08 | pitrou | link | issue12029 messages |
| 2014年10月02日 10:51:08 | pitrou | create |
|