Antoine Pitrou added the comment: > Alternative patch (readall-chunks.patch) which delegates to > RawIOBase.readall() if the file cannot be stat-ed or appears to have > size zero.
It seems we could do both (fix the resizing logic, and fallback on chunks if the size is unknown). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15758> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com