Serhiy Storchaka <storch...@gmail.com> added the comment: I know how to remove universal newline support, I know how after this correct these functions (with issue14371 they partially corrected), but I don't know how to deprecate universal newline support. What should be done? Can you initiate a discussion in Python-Ideas or Python-Dev? Now only zipfile trying to implement this PEP (and failed), io ignores 'U' mode, gzip checks and raises.
With regard to this issue, I note that there are tests that check that read() returns unmodified data (UniversalNewlineTests.read_test in Lib/test/test_zipfile.py). It looks weird, but apparently, this behavior is expected and deliberate. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6759> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com