[Python-Dev] other "magic strings" issues
Fred L. Drake, Jr.
fdrake at acm.org
Fri Nov 7 12:40:31 EST 2003
On Fri, 2003-11-07 at 12:05, Guido van Rossum wrote:
> Yes, that would be good. Is there anything besides maketrans() in the
> string module worth saving? (IMO letters and digits etc. are not --
> you can use s.isletter() etc. for that.)
Yikes! Are you assuming those are only used for "in" tests???
Barry Warsaw writes:
> I'm not following, are you saying we don't need string.ascii_letters and
> friends any more?
We definately need these still. I don't see any reason to remove
them, and they're definately still used.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation
More information about the Python-Dev
mailing list