This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kerio
Recipients kerio
Date 2011-01-08.23:32:11
SpamBayes Score 8.163095e-05
Marked as misclassified No
Message-id <>
If we make ABCMeta.register() return the registered class, like atexit.register() does for the registered function, we can then use it as a decorator:


class Foo:

With this change:

class Foo:

The only problem this would cause is in code that relies on ABCMeta.register() to return None; I can't think of a reason anyone would rely on this, but...
Date User Action Args
2011-01-08 23:32:13keriosetrecipients: + kerio
2011-01-08 23:32:13keriosetmessageid: <>
2011-01-08 23:32:11keriolinkissue10868 messages
2011-01-08 23:32:11keriocreate