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:09:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412248185.25.0.288020173273.issue12029@psf.upfronthosting.co.za>
In-reply-to
Content
Agreed.

Since type has __subclasscheck__ (why I don't know) this might result in a slowdown since all checks have to go through calling it in PyObject_IsSubclass.

Just noticed that given_exception_matches_inner can be simplified a bit since PyObject_IsSubclass already checks for tuples by itself.
History
Date User Action Args
2014-10-02 11:09:45georg.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:09:45georg.brandlsetmessageid: <1412248185.25.0.288020173273.issue12029@psf.upfronthosting.co.za>
2014-10-02 11:09:45georg.brandllinkissue12029 messages
2014-10-02 11:09:45georg.brandlcreate