Message15413
Logged In: YES
user_id=80475
Hmm. I'm not sure that counts as a bug. In an OO
language, it's a feature that objects can be made to look
like and be substituable for other types. In this case,
you've taught your object to be able to fake some classlike
behavior (having a __bases__ attribute).
OTOH, inspect could have a stronger test for classhood:
type(object) in (types.TypeType, types.ClassType) |
|
Date |
User |
Action |
Args |
2007-08-23 14:12:23 | admin | link | issue718532 messages |
2007-08-23 14:12:23 | admin | create | |
|