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.foord
Recipients eric.araujo, ezio.melotti, flox, georg.brandl, michael.foord, rhettinger
Date 2011-11-12.17:49:15
SpamBayes Score 1.2743021e-05
Marked as misclassified No
Message-id <1321120155.74.0.924742740232.issue13387@psf.upfronthosting.co.za>
In-reply-to
Content
I think your proposed workaround is good enough and no extra effort to type than the suggested change to assertIsInstance.

-1 on a new method

I think the behaviour of isinstance is clear enough that people who misunderstand what assertIsInstance is doing have a problem with basic Python - and will continue to make the mistake whatever we do to assertIsInstance.
History
Date User Action Args
2011-11-12 17:49:15michael.foordsetrecipients: + michael.foord, georg.brandl, rhettinger, ezio.melotti, eric.araujo, flox
2011-11-12 17:49:15michael.foordsetmessageid: <1321120155.74.0.924742740232.issue13387@psf.upfronthosting.co.za>
2011-11-12 17:49:15michael.foordlinkissue13387 messages
2011-11-12 17:49:15michael.foordcreate