Michael Foord <[email protected]> added the comment: 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. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue13387> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
