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 Michael McCoy
Recipients Jim.Jewett, Michael McCoy, Trundle, Yury.Selivanov, alex, barry, benjamin.peterson, berker.peksag, cvrebert, daniel.urban, eric.araujo, fijal, gcbirzan, georg.brandl, gvanrossum, jamesh, josh.r, jwilk, martin.panter, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, yorik.sar
Date 2018-04-13.21:12:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523653941.73.0.682650639539.issue12029@psf.upfronthosting.co.za>
In-reply-to
Content
Amalgamating the patch history here, I've updated the tests on Github (PR6160) to include tests for both the recursive case and ensure the correct error is propagated up if an exception occurs during the subclass check. 

I've also added a check to ensure that unittest's assertRaises behaves as expected. (The test currently passes on master, which is a bug if this doesn't get merged.)

Finally, the PR updates the documentation for try/except.
History
Date User Action Args
2018-04-13 21:12:21Michael McCoysetrecipients: + Michael McCoy, gvanrossum, barry, georg.brandl, jamesh, ncoghlan, pitrou, fijal, benjamin.peterson, jwilk, eric.araujo, alex, r.david.murray, Trundle, cvrebert, daniel.urban, yorik.sar, Yury.Selivanov, berker.peksag, martin.panter, Jim.Jewett, serhiy.storchaka, gcbirzan, josh.r
2018-04-13 21:12:21Michael McCoysetmessageid: <1523653941.73.0.682650639539.issue12029@psf.upfronthosting.co.za>
2018-04-13 21:12:21Michael McCoylinkissue12029 messages
2018-04-13 21:12:21Michael McCoycreate