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

Guido van Rossum report at bugs.python.org
Fri Nov 30 16:07:49 CET 2007


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 fix, there are tons of other situations where
confusion between class and instance (or between metaclass and class)
causes confusing error messages.

----------
assignee: gvanrossum -> tiran
status: closed -> open

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1109>
__________________________________


More information about the Python-bugs-list mailing list