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 <>
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)
Date User Action Args
2015-02-02 16:44:56serhiy.storchakasetrecipients: + serhiy.storchaka, Arfrever, python-dev, pkt
2015-02-02 16:44:56serhiy.storchakasetmessageid: <>
2015-02-02 16:44:56serhiy.storchakalinkissue23364 messages
2015-02-02 16:44:56serhiy.storchakacreate