Message122740
Amaury, I am aware of what `issubclass` does and what `isinstance` does. I am not manually feeding `[]` into `issubclass`. I have an object which can be either a list, or a string, or a callable, or a type. And I want to check whether it's a sub-class of some base class.
So I don't think I should be taking extra precautions before using `issubclass`: If my object is not a subclass of the given base class, I should just get `False`. |
|
Date |
User |
Action |
Args |
2010-11-28 22:22:20 | cool-RR | set | recipients:
+ cool-RR, amaury.forgeotdarc |
2010-11-28 22:22:20 | cool-RR | set | messageid: <1290982940.03.0.614838221075.issue10569@psf.upfronthosting.co.za> |
2010-11-28 22:22:16 | cool-RR | link | issue10569 messages |
2010-11-28 22:22:16 | cool-RR | create | |
|