This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chafporte
Recipients benjamin.peterson, chafporte, rhettinger
Date 2008-11-14.23:54:52
SpamBayes Score 0.0029343949
Marked as misclassified No
Message-id <1226706893.91.0.962403203412.issue4326@psf.upfronthosting.co.za>
In-reply-to
Content
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 ?
History
Date User Action Args
2008-11-14 23:54:54chafportesetrecipients: + chafporte, rhettinger, benjamin.peterson
2008-11-14 23:54:53chafportesetmessageid: <1226706893.91.0.962403203412.issue4326@psf.upfronthosting.co.za>
2008-11-14 23:54:52chafportelinkissue4326 messages
2008-11-14 23:54:52chafportecreate