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 gvanrossum
Recipients AlexWaygood, Dutcho, enedil, gvanrossum, iritkatriel, levkivskyi, lukasz.langa, rhettinger, selik, serhiy.storchaka, techdragon
Date 2021-12-29.00:50:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640739049.55.0.927638793372.issue34498@roundup.psfhosted.org>
In-reply-to
Content
There's no point in lamenting the compatibility with Python 3.6, it's water under the bridge. Dispatching on types like list[int] or types generated by NewType is not realistic. Maybe the only thing left to do is to raise an error on registration when the type is e.g. list[int]? Currently that passes, but then attempting to dispatch on *anything* fails with TypeError: issubclass() argument 2 cannot be a parameterized generic
History
Date User Action Args
2021-12-29 00:50:49gvanrossumsetrecipients: + gvanrossum, rhettinger, lukasz.langa, serhiy.storchaka, techdragon, levkivskyi, selik, Dutcho, enedil, iritkatriel, AlexWaygood
2021-12-29 00:50:49gvanrossumsetmessageid: <1640739049.55.0.927638793372.issue34498@roundup.psfhosted.org>
2021-12-29 00:50:49gvanrossumlinkissue34498 messages
2021-12-29 00:50:49gvanrossumcreate