[Python-Dev] String module

Raymond Hettinger python@rcn.com
Wed, 29 May 2002 22:25:50 -0400


From: "Guido van Rossum" <guido@python.org>
> > I like the read-only dictionary better than the boolean test
> > methods.  It minimizes the effort in upgrading existing code of the
> > form:
> > 
> > for c in string.lowercase:
> >     do something
> > if c in string.lowercase:
> >     do something
> > 

> Maybe you can do a patch for isxxx() methods instead?

Will do.


Raymond Hettinger