[New-bugs-announce] [issue4326] type of UserList instance returns class instead of instance

chafporte report at bugs.python.org
Fri Nov 14 22:36:32 CET 2008


New submission from chafporte <junk at ysengrin.com>:

from UserList import UserList
lu = UserList()
type(lu)

python2.6 prints: <class 'UserList.UserList'>
python2.5 prints: <type 'instance'>

----------
components: None
messages: 75885
nosy: chafporte
severity: normal
status: open
title: type of UserList instance returns class instead of instance
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4326>
_______________________________________


More information about the New-bugs-announce mailing list