[issue5758] fileinput.hook_compressed returning bytes from gz file

Éric Araujo report at bugs.python.org
Tue Mar 13 01:30:36 CET 2012

Éric Araujo <merwok at netwok.org> added the comment:

Thanks for the patch.  I commented on not-so-important things on the code review site (which should have sent an email to Tatiana) and wanted to raise an issue here.

Is it best that the encoding used defaults to Python’s default encoding (UTF-8) or the I/O default encoding (depends on the OS and locale), like what open does?

nosy: +eric.araujo, haypo

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list