[Python-Dev] deleting setdefaultencoding iin site.py is evil

"Martin v. Löwis" martin at v.loewis.de
Thu Aug 27 08:53:02 CEST 2009

>> In retrospect, it should have been called sys._setdefaultencoding().
>> That sends an extra signal that it's not meant for general use.
> Crazy idea: how about mutating it into sys._setdefaultencoding rather
> than deleting it?

Please don't post crazy ideas unless you really mean them.

This specific crazy idea must be rejected; it would break backwards
compatibility, for no good reason.


More information about the Python-Dev mailing list