This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients evan_, flying sheep, gvanrossum, levkivskyi
Date 2017-01-15.22:17:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484518622.74.0.62147159137.issue29262@psf.upfronthosting.co.za>
In-reply-to
Content
Hm, maybe isinstance(t, Union) should actually be allowed? (Though isinstance(x, Union[int, str]) should not be!)  After all we can write isinstance(t, Callable) as well, even though isinstance(x, Callable[[int], int]) is disallowed.
History
Date User Action Args
2017-01-15 22:17:02gvanrossumsetrecipients: + gvanrossum, flying sheep, levkivskyi, evan_
2017-01-15 22:17:02gvanrossumsetmessageid: <1484518622.74.0.62147159137.issue29262@psf.upfronthosting.co.za>
2017-01-15 22:17:02gvanrossumlinkissue29262 messages
2017-01-15 22:17:02gvanrossumcreate