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 Wheerd, gvanrossum, levkivskyi
Date 2017-01-26.23:06:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> but an isinstance test seems pretty redundant.

Tests are never redundant :-) Just add one-two asserts that you think should be true about issubclass and isinstance with these types (like self.assertIsInstance(''.__add__, types.MethodWrapperType)). String representation on the contrary is less important.

For some reason your patch is still not recognized by review tool. But don't worry about this, if it will not work, I will try to fix it.
Date User Action Args
2017-01-26 23:06:13levkivskyisetrecipients: + levkivskyi, gvanrossum, Wheerd
2017-01-26 23:06:13levkivskyisetmessageid: <>
2017-01-26 23:06:13levkivskyilinkissue29377 messages
2017-01-26 23:06:13levkivskyicreate