Message75898
but for a user define class we have:
>class AAA:
>... pass
>
>a = AAA()
>type(a)
<type 'instance'>
and you can compare this with types.InstanceType
and it says True
where for the UserList instance the comparison with
types.InstanceType says False
it is just not homogenous. and it make the comparison with
types.InstanceType unusable !!!
are you sure this is not breaking the API ? |
|
Date |
User |
Action |
Args |
2008-11-14 23:54:54 | chafporte | set | recipients:
+ chafporte, rhettinger, benjamin.peterson |
2008-11-14 23:54:53 | chafporte | set | messageid: <1226706893.91.0.962403203412.issue4326@psf.upfronthosting.co.za> |
2008-11-14 23:54:52 | chafporte | link | issue4326 messages |
2008-11-14 23:54:52 | chafporte | create | |
|