Message147512
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. |
|
Date |
User |
Action |
Args |
2011-11-12 17:49:15 | michael.foord | set | recipients:
+ michael.foord, georg.brandl, rhettinger, ezio.melotti, eric.araujo, flox |
2011-11-12 17:49:15 | michael.foord | set | messageid: <1321120155.74.0.924742740232.issue13387@psf.upfronthosting.co.za> |
2011-11-12 17:49:15 | michael.foord | link | issue13387 messages |
2011-11-12 17:49:15 | michael.foord | create | |
|