chafporte <[EMAIL PROTECTED]> added the comment: 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 ? _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4326> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com