Georg Brandl <[EMAIL PROTECTED]> added the comment: What good is a comparison with InstanceType for? If you want to check whether it's an instance of a custom class, you'll have to check for instances of new-style classes anyway. If you want to check for UserList instances, use isinstance().
---------- nosy: +georg.brandl _______________________________________ 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