Message235225
An overflow in n * sizeof(Py_ssize_t) is not possible because n is the length of already allocated array of pointers.
+ with self.assertRaises(OverflowError):
+ permutations("A", 2**30)
The test needs 4GiB. May be use 2**29?
+ with self.assertRaises(OverflowError):
+ permutations("A", 2, 2**30)
permutations() takes at most 2 arguments. |
|
Date |
User |
Action |
Args |
2015-02-02 06:59:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, Arfrever, python-dev, pkt |
2015-02-02 06:59:29 | serhiy.storchaka | set | messageid: <1422860369.55.0.577257672854.issue23363@psf.upfronthosting.co.za> |
2015-02-02 06:59:29 | serhiy.storchaka | link | issue23363 messages |
2015-02-02 06:59:29 | serhiy.storchaka | create | |
|