Jack Diederich <jackd...@gmail.com> added the comment:

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.

----------
nosy: +jackdied

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue2521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to