Author pitrou
Recipients alexey-smirnov, cvrebert, ezio.melotti, pitrou, socketpair
Date 2012-05-24.10:30:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> class pseudo_list(object):
>     __class__ = list # fake isinstance

Why not inherit from list directly?
Setting __class__ to something else isn't widely supported in the Python code base. It may work or may not work, depending on the API, but it's not something we design or test for.
Date User Action Args
2012-05-24 10:30:42pitrousetrecipients: + pitrou, ezio.melotti, cvrebert, socketpair, alexey-smirnov
2012-05-24 10:30:42pitrousetmessageid: <>
2012-05-24 10:30:41pitroulinkissue14886 messages
2012-05-24 10:30:41pitroucreate