Alex Waygood <alex.wayg...@gmail.com> added the comment:
Guido: Serhiy fixed this very recently in Issue46032. The documentation should probably be improved, however, in my opinion; there's currently nothing officially stating that GenericAlias/NewType/typing aliases are unsupported. Support for singledispatch.register(union_type) was also recently added in Issue46014, but has yet to be documented. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34498> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com