Marc-Andre Lemburg <m...@egenix.com> added the comment: Antoine Pitrou wrote: > > 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.
+1 on removing both. ---------- nosy: +lemburg _______________________________________ 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