Bug in Python 1.5.1 (with all patches) on Solaris 7?

Fredrik Nehr frneh at wmdata.com
Fri Apr 16 07:20:39 EDT 1999


I'm experience different behaivors when running the same instructions as
script and interactively, the interactive behaivor is correct.

Example:

603 ~ $ cat foo.py
import string
print string.lower('ABC123ÅÄÖ')
604 ~ $ python foo.py
abc123ÅÄÖ
605 ~ $ python
Python 1.5.1 (#1, Mar 22 1999, 17:07:44)  [GCC 2.8.1] on sunos5
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import string
>>> print string.lower('ABC123ÅÄÖ')
abc123åäö
>>>


Can anyone explain this behaivor?


/FN







More information about the Python-list mailing list