Steven D'Aprano <st...@pearwood.info>

When Python starts up, it needs to set the encoding used, but you *cannot*
> set it to arbitrary encodings. Setting it to arbitrary encodings can cause
> all sorts of weird, hard to diagnose bugs, so to prevent that, Python
> deletes the setdefaultencoding function after using it.
>

Oh, I found that out already. I found a trick to set it anyway, using
reload, then discovered python wasn't printing Anything, even "Hello,
world", even after restarting the interpreter  ;')  I had awful visions of
reinstalling python and re downloading python(x,y) on my Really slow
connection, but the problem went away after awhile. So I will have to
concur in not messing with it.

Jim
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to