Message264799
On android x86:
>>> import resource
>>> resource.setrlimit(resource.RLIMIT_FSIZE, (2**31, 2**31))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: Python int too large to convert to C long
>>> resource.setrlimit(resource.RLIMIT_FSIZE, (2**31-1, 2**31-1))
>>> resource.getrlimit(resource.RLIMIT_FSIZE)
(2147483647, 2147483647)
>>>
The test_io tests that fail may be skipped by trying first to set this resource limit (if existing) to the max file size tested, in a spawned interpreter. |
|
Date |
User |
Action |
Args |
2016-05-04 10:00:09 | xdegaye | set | recipients:
+ xdegaye, benjamin.peterson, stutzbach, serhiy.storchaka, Alex.Willmer |
2016-05-04 10:00:09 | xdegaye | set | messageid: <1462356009.05.0.799165829877.issue26926@psf.upfronthosting.co.za> |
2016-05-04 10:00:09 | xdegaye | link | issue26926 messages |
2016-05-04 10:00:08 | xdegaye | create | |
|