New submission from Nick Coghlan <[EMAIL PROTECTED]>:

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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3747>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to