Robert Collins added the comment: Post merge review: looks like data_as_list = read_data.splitlines(True) would be a little cleaner. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23004> _______________________________________