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 David E. Franco G., Spencer Brown, gvanrossum, levkivskyi, yselivanov
Date 2016-10-22.14:05:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477145128.5.0.154053492481.issue27989@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2016-10-22 14:05:28levkivskyisetrecipients: + levkivskyi, gvanrossum, yselivanov, Spencer Brown, David E. Franco G.
2016-10-22 14:05:28levkivskyisetmessageid: <1477145128.5.0.154053492481.issue27989@psf.upfronthosting.co.za>
2016-10-22 14:05:28levkivskyilinkissue27989 messages
2016-10-22 14:05:28levkivskyicreate