[Python-Dev] Re: [Python-checkins] python/dist/src/Lib textwrap.py,1.18,1.19
Just van Rossum
just@letterror.com
Wed, 11 Dec 2002 18:54:40 +0100
Martin v. L=F6wis wrote:
> I'm confused by Just's observation that it happens *only* with -S, in
> interactive mode. I would have expected that "plain" interactive mode
> behaves the same, but this is not what Just reported.
One more time:
sh-2.05a$ ./python.exe=20
Python 2.3a0 (#42, Dec 11 2002, 10:33:42)=20
[GCC 3.1 20020420 (prerelease)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import string; string.whitespace
'\t\n\x0b\x0c\r '
>>>=20
sh-2.05a$ ./python.exe -S
Python 2.3a0 (#42, Dec 11 2002, 10:33:42)=20
[GCC 3.1 20020420 (prerelease)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import string; string.whitespace
'\t\n\x0b\x0c\r \xa0'
>>>=20
sh-2.05a$ LANG=3DC ./python.exe -S
Python 2.3a0 (#42, Dec 11 2002, 10:33:42)=20
[GCC 3.1 20020420 (prerelease)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import string; string.whitespace
'\t\n\x0b\x0c\r '
>>>=20
Guys, I don't care about enough about this problem (if it is one) to dig =
any
deeper. I just happened to notice the textwrap breakage when I was import=
ing
lots of arbitrary modules to do some import timing...
Just