homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:09pitrousetrecipients: + 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:09pitrousetmessageid: <1412247069.0.0.603896242633.issue12029@psf.upfronthosting.co.za>
2014年10月02日 10:51:08pitroulinkissue12029 messages
2014年10月02日 10:51:08pitroucreate

AltStyle によって変換されたページ (->オリジナル) /