Nick Coghlan added the comment: __new__ is a little weird - it's actually special cased as a staticmethod.
Your questions is still valid, though. For existing versions, documenting the requirement is the only option. For future versions, we could conceivably implement a "decorate it if it isn't already decorated" fallback, but for backwards compatibility we'd have to avoid double-decorating explicitly decorated implementations. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17352> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com