Message409275
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 |
|
Date |
User |
Action |
Args |
2021-12-29 00:50:49 | gvanrossum | set | recipients:
+ gvanrossum, rhettinger, lukasz.langa, serhiy.storchaka, techdragon, levkivskyi, selik, Dutcho, enedil, iritkatriel, AlexWaygood |
2021-12-29 00:50:49 | gvanrossum | set | messageid: <1640739049.55.0.927638793372.issue34498@roundup.psfhosted.org> |
2021-12-29 00:50:49 | gvanrossum | link | issue34498 messages |
2021-12-29 00:50:49 | gvanrossum | create | |
|