[issue7792] Errors registering non-classes with ABCs

2010-01-27 Thread Chris Withers
Chris Withers added the comment: ...and for the second feature, Andrew may wish to look at zope.component, which provides for this already. -- nosy: +cjw296 ___ Python tracker _

[issue7792] Errors registering non-classes with ABCs

2010-01-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed first bug in r77789. The second issue is a separate feature request. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker __

[issue7792] Errors registering non-classes with ABCs

2010-01-26 Thread andrew cooke
New submission from andrew cooke : There are two related issues here. The first is, I think, a simple bug: When I try to register a function as a subclass of an ABC I get the error: TypeError: issubclass() arg 2 must be a class or tuple of classes Looking at the code - http://svn.python.org