Message285522
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. |
|
Date |
User |
Action |
Args |
2017-01-15 22:30:41 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum, flying sheep, evan_ |
2017-01-15 22:30:41 | levkivskyi | set | messageid: <1484519441.21.0.603774787697.issue29262@psf.upfronthosting.co.za> |
2017-01-15 22:30:41 | levkivskyi | link | issue29262 messages |
2017-01-15 22:30:40 | levkivskyi | create | |
|