bpoaugust added the comment: The patch can be simplified by just looking for b'\n' in the last 6 chars, and caching from b'\n' if found.
This would mean more file seeking in exchange for less buffer matching. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29053> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com