Message289660
> I think an OverflowError is appropriate here for denoting the platform and implementation limitation.
It's common that integer overflow on memory allocation in C code raises a MemoryError, not an OverflowError.
>>> "x" * (2**60)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
I suggest to raise a MemoryError. |
|
Date |
User |
Action |
Args |
2017-03-15 10:03:27 | vstinner | set | recipients:
+ vstinner, mark.dickinson, serhiy.storchaka, Oren Milman |
2017-03-15 10:03:27 | vstinner | set | messageid: <1489572207.58.0.0701001006655.issue29816@psf.upfronthosting.co.za> |
2017-03-15 10:03:27 | vstinner | link | issue29816 messages |
2017-03-15 10:03:27 | vstinner | create | |
|