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 levkivskyi
Recipients evan_, flying sheep, gvanrossum, levkivskyi
Date 2017-01-15.22:30:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484519441.21.0.603774787697.issue29262@psf.upfronthosting.co.za>
In-reply-to
Content
This will be a bit unusual since ``isinstance`` is typically called for instances (i.e. not types) as in ``isinstance(func, Callable)``. But on the other hand this is probably what one would expect when one sees ``isinstance(tp, Union)``. Thus I am fine with doing it this way.

If there are no objections/other ideas, then I will make a PR upstream in next few days.
History
Date User Action Args
2017-01-15 22:30:41levkivskyisetrecipients: + levkivskyi, gvanrossum, flying sheep, evan_
2017-01-15 22:30:41levkivskyisetmessageid: <1484519441.21.0.603774787697.issue29262@psf.upfronthosting.co.za>
2017-01-15 22:30:41levkivskyilinkissue29262 messages
2017-01-15 22:30:40levkivskyicreate