On Jul 10, 12:06 am, crow <wen...@gmail.com> wrote: > On Jul 10, 12:04 am, Steven D'Aprano <st...@remove-this- > > > > > > cybersource.com.au> wrote: > > On Fri, 09 Jul 2010 08:58:35 -0700, crow wrote: > > > So, my questions: why there is no setdefaultencoding in sys module? if I > > > want to change system's default encoding, what should I do? > > > I think the answer is: > > > Don't. > > > If you do, you will break built-ins. > > >http://tarekziade.wordpress.com/2008/01/08/syssetdefaultencoding-is-e... > > > Googling will find many discussions about this. > > > -- > > Steven > > Interesting, so it has been removed from python? then why it's still > in document... It's really misleading. > > Thanks for your quick answer
oh, I take back my words, it's still there, just I need to reload(sys). -- http://mail.python.org/mailman/listinfo/python-list