Antoine Pitrou <pit...@free.fr> added the comment: Looking at the patch, the recorded seek points will probably be wrong if some newlines were translated (e.g. '\r\n' -> '\n') when reading the file.
I'm also not sure not what the use case for very big files is. linecache is primarily used for printing tracebacks, the API isn't really general-purpose. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue1708> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com