Inada Naoki <songofaca...@gmail.com> added the comment:
I don't think we should support "text for regular file but binary for compressed file" mode in FileInput. So no need to add 't'. We should just fix #5758. ---------- nosy: +methane resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> fileinput.hook_compressed returning bytes from gz file _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36865> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com