diferences between 22 and python 23
Fredrik Lundh
fredrik at pythonware.com
Wed Dec 3 13:35:52 EST 2003
Enrique wrote:
> running a script that works fine in python 22 in python 23 i find something
> like:
>
> unicodedecodeerror: "ascii" codec dan+t decode byte 0xed in position
> 37:ordinal not in range (128)
>
> Usually major versions of python were courteus with the previous versions...
0xED has never been a valid 7-bit ASCII character.
you've probably used a modified 2.2 interpreter; most likely, someone
has hacked the site.py or sitecustomize.py files to make Python use a
non-standard default encoding.
you should either fix your program, or figure out how 2.2 was modified,
and modify 2.3 in the same way.
</F>
More information about the Python-list
mailing list