[New-bugs-announce] [issue3747] Fix caching in ABCMeta.__subclasscheck__

Nick Coghlan report at bugs.python.org
Mon Sep 1 12:04:45 CEST 2008

New submission from Nick Coghlan <ncoghlan at gmail.com>:

Two of the return paths from ABCMeta.__subclasscheck__ store the
subclass being checked in _abc_registry instead of _abc_cache.

The attached patch corrects the issue.

files: meta_subclass_fix.diff
keywords: needs review, patch, patch
messages: 72222
nosy: ncoghlan
priority: critical
severity: normal
status: open
title: Fix caching in ABCMeta.__subclasscheck__
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file11322/meta_subclass_fix.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list