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 <>
I'm worried about the runtime cost of this. Code like this is an extremely common idiom and should remain fast:

    x = d[key]
except KeyError:
    # do something else
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: <>
2014-10-02 10:51:08pitroulinkissue12029 messages
2014-10-02 10:51:08pitroucreate