Fixes #7853 (comment)
Rationale:
- The type of
inputmust bebytesor, ifuniversal_newlineswasTrue, astring. [1] universal_newlinesis set toTrue[2]
So this pull reverts to the old behavior of using strings on py3 as well as on py2. No changes to this file were necessary, as it is already compatible. (At this point, I am not sure why I changed this in the first place)
Edit: The reason this went unnoticed on travis was that travis still runs py2.7 but other systems will choose python3 if available since 18f05c765c800126b74a6d5b7f33cef7c9aae1b7