New submission from Raymond Hettinger <raymond.hettin...@gmail.com>:
gzip.open() should parallel file.open() so that that zipped files can be read in the same way as regular files: for line in gzip.open('notes.txt', 'r', encoding='latin-1'): print(line.rstrip()) ---------- components: Library (Lib) messages: 140341 nosy: rhettinger priority: normal severity: normal status: open title: gzip.open() needs an optional encoding argument type: feature request versions: Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12559> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com