[issue36865] FileInput does not allow 'rt' mode, but all its existing delegates do

2019-06-06 Thread Nathaniel Gaertner
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

[issue36865] FileInput does not allow 'rt' mode, but all its existing delegates do

2019-05-09 Thread Nathaniel Gaertner
Change by Nathaniel Gaertner : -- keywords: +patch pull_requests: +13131 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36865> ___ _

[issue36865] FileInput does not allow 'rt' mode, but all its existing delegates do

2019-05-09 Thread Nathaniel Gaertner
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