Serhiy Storchaka <[email protected]> added the comment:
Okay. As a workaround we can explicitly specify the dispatching type:
@f.register(list)
def _(a: list[int]) -> None:
pass
----------
resolution: -> rejected
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46191>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com