Message112991
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. |
|
Date |
User |
Action |
Args |
2010-08-05 15:51:11 | jackdied | set | recipients:
+ jackdied, amaury.forgeotdarc, pitrou, ajaksu2, benjamin.peterson, stutzbach, flox, BreamoreBoy |
2010-08-05 15:51:11 | jackdied | set | messageid: <1281023471.15.0.953827632544.issue2521@psf.upfronthosting.co.za> |
2010-08-05 15:51:07 | jackdied | link | issue2521 messages |
2010-08-05 15:51:07 | jackdied | create | |
|