[issue9549] Remove sys.setdefaultencoding()

2010-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Done in r84397. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 3.3 ___ Python tracker _

[issue9549] Remove sys.setdefaultencoding()

2010-09-01 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue9549] Remove sys.setdefaultencoding()

2010-09-01 Thread STINNER Victor
STINNER Victor added the comment: Ok to remove it from Python 3.2. I don't think that it is necessary to update Python 2.7 code/doc. -- ___ Python tracker ___ __

[issue9549] Remove sys.setdefaultencoding()

2010-09-01 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue9549] Remove sys.setdefaultencoding()

2010-08-10 Thread Éric Araujo
Éric Araujo added the comment: Is it possible to add a deprecation warning in 2.7 too? If not, at least a recommendation not to use it in the 2.7 docs? I am willing to write one or two paragraphs to explain why it’s a terrible idea. -- nosy: +merwok __

[issue9549] Remove sys.setdefaultencoding()

2010-08-09 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Antoine Pitrou wrote: > > New submission from Antoine Pitrou : > > 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

[issue9549] Remove sys.setdefaultencoding()

2010-08-09 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue9549] Remove sys.setdefaultencoding()

2010-08-09 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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(