Serhiy Storchaka added the comment: 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) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23364> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com