Ken Jin <kenjin4...@gmail.com> added the comment:
Thanks for the PR Vivek. Can you please tell me the exact 3.10 version you're running? In earlier 3.10 versions (alpha, beta etc.) types.Union existed, but somewhere later (rc1,rc2) it became types.UnionType. The final 3.10.0 release has types.UnionType, not types.Union. I suspect you might be running an earlier iteration of 3.10. ---------- nosy: +kj status: open -> pending _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46122> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com