Nick Coghlan added the comment:

Ah, excellent point about "encoding='utf-8'" already being a less cryptic 
replacement for universal_newlines=True, so consider my questions withdrawn :)

As far as universal_newlines goes, that needs to remain documented for the sake 
of folks reading code that uses it, and folks that need compatibility with 
older versions, but +1 for recommending specifying an encoding over using that 
flag for new 3.6+ code.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6135>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to