[issue26075] typing.Union unifies types too broadly

Guido van Rossum report at bugs.python.org
Sun Jan 10 13:25:26 EST 2016


Guido van Rossum added the comment:

Oh, this is yet another reason to finally rip out the issubclass() support...  We're tracking that at https://github.com/ambv/typehinting/issues/136

In the meantime, just don't do this!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26075>
_______________________________________


More information about the Python-bugs-list mailing list