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 jackdied
Recipients BreamoreBoy, ajaksu2, amaury.forgeotdarc, benjamin.peterson, flox, jackdied, pitrou, stutzbach
Date 2010-08-05.15:51:07
SpamBayes Score 9.055659e-05
Marked as misclassified No
Message-id <1281023471.15.0.953827632544.issue2521@psf.upfronthosting.co.za>
In-reply-to
Content
This is a change in the codepath for instances that don't have __class__ defined.
         subclass = getattr(instance, '__class__', None)
-        if subclass in cls._abc_cache:
+        if subclass is not None and subclass in cls._abc_cache:

I think the same thing happens in either case (from visual inspection of the code) but I'd rather not change it if we don't need to.
History
Date User Action Args
2010-08-05 15:51:11jackdiedsetrecipients: + jackdied, amaury.forgeotdarc, pitrou, ajaksu2, benjamin.peterson, stutzbach, flox, BreamoreBoy
2010-08-05 15:51:11jackdiedsetmessageid: <1281023471.15.0.953827632544.issue2521@psf.upfronthosting.co.za>
2010-08-05 15:51:07jackdiedlinkissue2521 messages
2010-08-05 15:51:07jackdiedcreate