Steve Dower added the comment: > universal_newlines uses the locale encoding which is a good choice in most cases.
Well, some cases, and only really by accident. I won't hide the parameter, but it is promoted as "frequently used" and I'll make sure to document encoding before universal_newlines. Call it a very weak deprecation. The new patch also removes the openers, which I think were solving a problem we don't have right now. ---------- Added file: http://bugs.python.org/file44398/6135_3.patch _______________________________________ 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