Author mark
Recipients mark
Date 2007-09-05.15:22:17
SpamBayes Score 0.0889856
Marked as misclassified No
Message-id <>
GvR asked me to add this to the bug tracker.

If you do this:

    class A(ABCMeta): pass


you get this error message:

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: maximum recursion depth exceeded in __instancecheck__

This is not very helpful.

You probably meant to write:

    class A(metaclass=ABCMeta): pass

Perhaps a warning message like this would be better:

"register() should not be called on an ABCMeta subclass; maybe you
forgot the metaclass keyword argument when declaring the class?"
Date User Action Args
2007-09-05 15:22:18marksetspambayes_score: 0.0889856 -> 0.0889856
recipients: + mark
2007-09-05 15:22:18marksetspambayes_score: 0.0889856 -> 0.0889856
messageid: <>
2007-09-05 15:22:18marklinkissue1109 messages
2007-09-05 15:22:17markcreate