Author serhiy.storchaka
Recipients benjamin.peterson, gpolo, loewis, python-dev, serhiy.storchaka, vstinner
Date 2015-04-07.20:20:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428438050.23.0.973350816426.issue16840@psf.upfronthosting.co.za>
In-reply-to
Content
It is important that the result is an int at least for small ints. So I prefer to keep limited test.

-            self.assertIsInstance(result, type(int(result)))
+            if abs(result) < 2**31:
+                self.assertIsInstance(result, int)
History
Date User Action Args
2015-04-07 20:20:50serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, vstinner, benjamin.peterson, gpolo, python-dev
2015-04-07 20:20:50serhiy.storchakasetmessageid: <1428438050.23.0.973350816426.issue16840@psf.upfronthosting.co.za>
2015-04-07 20:20:50serhiy.storchakalinkissue16840 messages
2015-04-07 20:20:50serhiy.storchakacreate