Re: [Python-Dev] Re: String module

May 30, 2002
11:59 a.m.
Neal Norwitz <neal@metaslash.com> writes:
Guido van Rossum wrote:
BTW, how about deprecating strop while we're at it?
Right now in string.py, there is:
from strop import maketrans, lowercase, uppercase, whitespace letters = lowercase + uppercase
However, lowercase, uppercase, and letters are already defined in string.py. It seems the only function being used from strop is maketrans. Is this correct? Should the others be removed from string.py?
The strop definitions reflect the locale better than the ones in string.py. Cheers, M. -- And then the character-only displays went away (leading to increasingly silly graphical effects and finally to ads on web pages). -- John W. Baxter, comp.lang.python
8449
Age (days ago)
8449
Last active (days ago)
1 comments
2 participants
participants (2)
-
martin@v.loewis.de
-
Michael Hudson