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 serhiy.storchaka
Recipients Arfrever, pkt, python-dev, serhiy.storchaka
Date 2015-02-02.16:44:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422895496.87.0.9515512734.issue23364@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, and actually the test is wrong. It fails on 32-bit with -M2G. Should be:

-        with self.assertRaises(OverflowError):
-            product(["a"]*(2**16), repeat=2**16)
+        with self.assertRaises((OverflowError, MemoryError)):
+            product(*(['ab']*2**5), repeat=2**25)
History
Date User Action Args
2015-02-02 16:44:56serhiy.storchakasetrecipients: + serhiy.storchaka, Arfrever, python-dev, pkt
2015-02-02 16:44:56serhiy.storchakasetmessageid: <1422895496.87.0.9515512734.issue23364@psf.upfronthosting.co.za>
2015-02-02 16:44:56serhiy.storchakalinkissue23364 messages
2015-02-02 16:44:56serhiy.storchakacreate