Nick Coghlan added the comment: Revised patch that avoids doing multiple lookups of the same codec name while creating the stream.
Absent any comments, I'll commit this version with appropriate NEWS and What's New updates tomorrow. ---------- Added file: http://bugs.python.org/file33856/issue20404_check_valid_textio_codec_v2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20404> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com