[issue1109] Warning required when calling register() on an ABCMeta subclass

2007-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: Please roll this back. The error message you added is inappropriate when the parameter to a legitimate register() call is omitted, e.g. collections.Sequence.register() Since we got rid of unbound methods, the infinite recursion is gone; that's a good enough

[issue1109] Warning required when calling register() on an ABCMeta subclass

2007-11-30 Thread Christian Heimes
Christian Heimes added the comment: Fixed in r59233. Please adjust the error message if you don't like it. TypeError: register() cannot be called on an ABCMeta subclass, use class Example(metaclass=abc.ABCMeta) instead. -- resolution: - fixed status: open - closed

[issue1109] Warning required when calling register() on an ABCMeta subclass

2007-11-30 Thread Christian Heimes
Christian Heimes added the comment: I've reverted the changes. -- status: open - closed __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1109 __ ___ Python-bugs-list

[issue1109] Warning required when calling register() on an ABCMeta subclass

2007-11-21 Thread Guido van Rossum
Guido van Rossum added the comment: This would be easier to fix if we didn't have unbound methods. I'm going to ask the py3k list if anybody really cares about having those. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1109

[issue1109] Warning required when calling register() on an ABCMeta subclass

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- assignee: - gvanrossum nosy: +gvanrossum priority: - normal __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1109 __ ___

[issue1109] Warning required when calling register() on an ABCMeta subclass

2007-09-05 Thread Mark Summerfield
New submission from Mark Summerfield: GvR asked me to add this to the bug tracker. If you do this: class A(ABCMeta): pass A.register(list) you get this error message: Traceback (most recent call last): File stdin, line 1, in module RuntimeError: maximum recursion depth exceeded in