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 serhiy.storchaka
Recipients AlexWaygood, Dutcho, enedil, gvanrossum, iritkatriel, levkivskyi, lukasz.langa, rhettinger, selik, serhiy.storchaka, techdragon
Date 2021-12-29.08:29:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640766563.31.0.0273331417877.issue34498@roundup.psfhosted.org>
In-reply-to
Content
The original issue is about dispatching on non-parametrized generics like typing.Sequence. isinstance([], typing.Sequence) works, so it could be possible to support dispatching on typing.Sequence. But I have doubts that it is worth to revive such feature, because it needs some effort, and you can use collections.abc.Sequence instead.

But there is a conflict between using annotations in singledispatch() and MyPy (issue46191).
History
Date User Action Args
2021-12-29 08:29:23serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger, lukasz.langa, techdragon, levkivskyi, selik, Dutcho, enedil, iritkatriel, AlexWaygood
2021-12-29 08:29:23serhiy.storchakasetmessageid: <1640766563.31.0.0273331417877.issue34498@roundup.psfhosted.org>
2021-12-29 08:29:23serhiy.storchakalinkissue34498 messages
2021-12-29 08:29:23serhiy.storchakacreate