Guido van Rossum <gu...@python.org> added the comment:
I don't think that `except A|B` looks better than `except (A, B)`, so I am against this proposal. Exception matching is its own special thing (e.g. it doesn't honor virtual subclasses) and we shouldn't hyper-generalize. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46967> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com