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 AlexWaygood
Recipients AlexWaygood, lukasz.langa, rhettinger
Date 2021-11-01.18:23:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635790981.47.0.0130236033988.issue45684@roundup.psfhosted.org>
In-reply-to
Content
`functools.singledispatchmethod` is marked as being a generic class in `typeshed`, but does not define `__class_getitem__`, so cannot be parameterized at runtime.

cpython source code: https://github.com/python/cpython/blob/e2063d6a1ebc3568e90a14ed163fa291b5977ae8/Lib/functools.py#L891

typeshed stub: https://github.com/python/typeshed/blob/f4143c40e85db42dc98549e09329e196668395ee/stdlib/functools.pyi#L94
History
Date User Action Args
2021-11-01 18:23:01AlexWaygoodsetrecipients: + AlexWaygood, rhettinger, lukasz.langa
2021-11-01 18:23:01AlexWaygoodsetmessageid: <1635790981.47.0.0130236033988.issue45684@roundup.psfhosted.org>
2021-11-01 18:23:01AlexWaygoodlinkissue45684 messages
2021-11-01 18:23:01AlexWaygoodcreate