This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients ezio.melotti, lemburg, pitrou
Date 2010-08-09.20:39:41
SpamBayes Score 3.894898e-09
Marked as misclassified No
Message-id <4C60675E.8020801@egenix.com>
In-reply-to <1281383453.04.0.233452795116.issue9549@psf.upfronthosting.co.za>
Content
Antoine Pitrou wrote:
> 
> New submission from Antoine Pitrou <pitrou@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.
History
Date User Action Args
2010-08-09 20:39:43lemburgsetrecipients: + lemburg, pitrou, ezio.melotti
2010-08-09 20:39:41lemburglinkissue9549 messages
2010-08-09 20:39:41lemburgcreate