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 dmkulazhenko
Recipients dmkulazhenko
Date 2021-06-16.07:50:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Based on what I've read, workaround:

from functools import singledispatchmethod

def _register(self, cls, method=None):
    if hasattr(cls, "__func__"):
        setattr(cls, "__annotations__", cls.__func__.__annotations__)
    return self.dispatcher.register(cls, func=method)

singledispatchmethod.register = _register
Date User Action Args
2021-06-16 07:50:42dmkulazhenkosetrecipients: + dmkulazhenko
2021-06-16 07:50:42dmkulazhenkosetmessageid: <>
2021-06-16 07:50:42dmkulazhenkolinkissue39679 messages
2021-06-16 07:50:41dmkulazhenkocreate