[Python-Dev] Divorcing str and unicode (no more implicit conversions).
blais at furius.ca
Mon Oct 17 02:26:43 CEST 2005
On 10/15/05, Reinhold Birkenfeld <reinhold-birkenfeld-nospam at wolke7.net> wrote:
> Martin Blais wrote:
> > On 10/3/05, Michael Hudson <mwh at python.net> wrote:
> >> Martin Blais <blais at furius.ca> writes:
> >> > How hard would that be to implement?
> >> import sys
> >> reload(sys)
> >> sys.setdefaultencoding('undefined')
> > Hmmm any particular reason for the call to reload() here?
> Yes. setdefaultencoding() is removed from sys by site.py. To get it
> again you must reload sys.
More information about the Python-Dev