[issue23364] integer overflow in itertools.product

Serhiy Storchaka report at bugs.python.org
Mon Feb 2 08:01:42 CET 2015


Serhiy Storchaka added the comment:

+        with self.assertRaises(OverflowError):
+            product(["a"]*(2**16), repeat=2**16)

The test needs 16GiB. May be use repeat=2**13?

----------
nosy: +serhiy.storchaka
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23364>
_______________________________________


More information about the Python-bugs-list mailing list