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
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
Christian Heimes added the comment:
I've reverted the changes.
--
status: open - closed
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1109
__
___
Python-bugs-list
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
Changes by Sean Reifschneider:
--
assignee: - gvanrossum
nosy: +gvanrossum
priority: - normal
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1109
__
___
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