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 chris.jerdonek
Recipients chris.jerdonek, mark.dickinson, python-dev, serhiy.storchaka
Date 2012-12-27.22:32:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356647526.02.0.997315228151.issue16792@psf.upfronthosting.co.za>
In-reply-to
Content
You can use assertIs() in 2.7 as well, no?

+    @test_support.cpython_only
+    def test_small_ints(self):
+        self.assertTrue(int('10') is 10)
History
Date User Action Args
2012-12-27 22:32:06chris.jerdoneksetrecipients: + chris.jerdonek, mark.dickinson, python-dev, serhiy.storchaka
2012-12-27 22:32:06chris.jerdoneksetmessageid: <1356647526.02.0.997315228151.issue16792@psf.upfronthosting.co.za>
2012-12-27 22:32:05chris.jerdoneklinkissue16792 messages
2012-12-27 22:32:05chris.jerdonekcreate