New submission from Antoine Pitrou <pit...@free.fr>: The use of sys.setdefaultencoding() has always been discouraged, and it has become a no-op in py3k (the encoding is hard-wired to utf-8 and changing it raises an error). It is time to remove this function entirely.
The state of PyUnicode_SetDefaultEncoding() should be also considered, since it has become useless for the same reasons. ---------- components: Interpreter Core, Library (Lib) messages: 113461 nosy: pitrou priority: low severity: normal stage: needs patch status: open title: Remove sys.setdefaultencoding() type: behavior versions: Python 3.2, Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9549> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com