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 georg.brandl
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.11:15:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412248529.86.0.0443287329089.issue12029@psf.upfronthosting.co.za>
In-reply-to
Content
Quick microbenchmark:

try:
    {}["a"]                       
except KeyError:
    pass

original tip:  1.35 usec
with patch v3: 1.55 usec

so it's about 15% slowdown for catching a simple exception on my machine.
History
Date User Action Args
2014-10-02 11:15:29georg.brandlsetrecipients: + georg.brandl, gvanrossum, barry, jamesh, ncoghlan, pitrou, benjamin.peterson, jwilk, eric.araujo, Trundle, cvrebert, daniel.urban, yorik.sar, ethan.furman, Yury.Selivanov, Jim.Jewett, gcbirzan, Antony.Lee
2014-10-02 11:15:29georg.brandlsetmessageid: <1412248529.86.0.0443287329089.issue12029@psf.upfronthosting.co.za>
2014-10-02 11:15:29georg.brandllinkissue12029 messages
2014-10-02 11:15:29georg.brandlcreate