Author levkivskyi
Recipients evan_, flying sheep, gvanrossum, levkivskyi
Date 2017-01-15.22:07:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1484518046.1.0.299878740158.issue29262@psf.upfronthosting.co.za>
In-reply-to
Content
In principle, such a function could be added if it is not called ``isinstance``. For example, we could add a helper ``is_union(tp)`` (or maybe also ``is_generic(tp)`` etc). Such function(s) will be simple one-liners wrapping private API in a right way (e.g. using _gorg instead of __origin__ where needed etc).

Guido, what do you think?
History
Date User Action Args
2017-01-15 22:07:26levkivskyisetrecipients: + levkivskyi, gvanrossum, flying sheep, evan_
2017-01-15 22:07:26levkivskyisetmessageid: <1484518046.1.0.299878740158.issue29262@psf.upfronthosting.co.za>
2017-01-15 22:07:26levkivskyilinkissue29262 messages
2017-01-15 22:07:25levkivskyicreate