[issue22526] file iteration SystemError for huge lines (2GiB+)

Serhiy Storchaka report at bugs.python.org
Sat Oct 4 09:43:15 CEST 2014


Serhiy Storchaka added the comment:

Test should be marked with dry_run=False, otherwise it is false passed. Allocation of growing buffer needs extra memory, in my experiments memuse=2.5 is enough. And I think this test should require the largefile resource. Here is a patch. It also significantly speeds up a test on Linux.

----------
keywords: +patch
nosy: +serhiy.storchaka
Added file: http://bugs.python.org/file36797/issue22526_test.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22526>
_______________________________________


More information about the Python-bugs-list mailing list