[issue18003] lzma module very slow with line-oriented reading.
Serhiy Storchaka
report at bugs.python.org
Tue Jun 9 22:16:29 CEST 2015
Serhiy Storchaka added the comment:
The patch is not so harmless. First, my change in BZ2File is not correct, because reading every line should be guarded with a lock (BZ2File is threading-safe). Second, for now all three compressing files are not only iterables, but iterators. iter(f) returns f, and changing this can have non-obvious effects. I think the patch is too complex for 3.5, we should have more time to analyze all consequences.
----------
stage: commit review -> patch review
versions: -Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18003>
_______________________________________
More information about the Python-bugs-list
mailing list