Message279190
Here is the patch according to the discussion (modifying inspect).
I didn't change the rendering of docs for classes (neither stripped 'typing.' nor changed __bases__ to __orig_bases__). First, collections.abc.X are widely used as base classes, so that plain Mapping could be confused with collections.abc.Mapping. Second, seeing the actual runtime type-erased bases suggests that one should use isinstance() and issubclass() with those (not with, e.g., Mapping[int, str], the latter will raise TypeError). |
|
Date |
User |
Action |
Args |
2016-10-22 14:05:28 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum, yselivanov, Spencer Brown, David E. Franco G. |
2016-10-22 14:05:28 | levkivskyi | set | messageid: <1477145128.5.0.154053492481.issue27989@psf.upfronthosting.co.za> |
2016-10-22 14:05:28 | levkivskyi | link | issue27989 messages |
2016-10-22 14:05:28 | levkivskyi | create | |
|