Nathaniel Gaertner added the comment:
Hey sorry for the delay in responding.
My thought with forcing 'rt' mode is that it would actually reduce the
flexibility of the FileInput class. For 5758, I suspect the issue arose out of
a confusion about what strings meant in python 2
New submission from Nathaniel Gaertner :
While looking at https://bugs.python.org/issue5758 I noticed that 'rt' support
had been added to gzip and bz2 in 3.3, but FileInput still limited its mode
options to 'r', 'rb', 'rU', and 'U'. It seem
Change by Nathaniel Gaertner :
--
keywords: +patch
pull_requests: +13131
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue36865>
___
_