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, gvanrossum, kj, lukasz.langa, rhettinger, serhiy.storchaka
Date 2021-12-30.07:36:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640849761.4.0.776499257048.issue46191@roundup.psfhosted.org>
In-reply-to
Content
Okay. As a workaround we can explicitly specify the dispatching type:

@f.register(list)
def _(a: list[int]) -> None:
    pass
History
Date User Action Args
2021-12-30 07:36:01serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger, lukasz.langa, kj, AlexWaygood
2021-12-30 07:36:01serhiy.storchakasetmessageid: <1640849761.4.0.776499257048.issue46191@roundup.psfhosted.org>
2021-12-30 07:36:01serhiy.storchakalinkissue46191 messages
2021-12-30 07:36:01serhiy.storchakacreate