Message235270
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:56 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, Arfrever, python-dev, pkt |
2015-02-02 16:44:56 | serhiy.storchaka | set | messageid: <1422895496.87.0.9515512734.issue23364@psf.upfronthosting.co.za> |
2015-02-02 16:44:56 | serhiy.storchaka | link | issue23364 messages |
2015-02-02 16:44:56 | serhiy.storchaka | create | |
|