Author levkivskyi
Recipients Wheerd, gvanrossum, levkivskyi
Date 2017-01-26.23:06:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485471973.77.0.280282766673.issue29377@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2017-01-26 23:06:13levkivskyisetrecipients: + levkivskyi, gvanrossum, Wheerd
2017-01-26 23:06:13levkivskyisetmessageid: <1485471973.77.0.280282766673.issue29377@psf.upfronthosting.co.za>
2017-01-26 23:06:13levkivskyilinkissue29377 messages
2017-01-26 23:06:13levkivskyicreate