[Python-Dev] other "magic strings" issues

Bill Janssen janssen at parc.com
Fri Nov 7 18:58:17 EST 2003


> > But there are probably more useful combinations like
> > 
> >     string.letters + string.digits + "_"
> > 
> > than there should be isxxx() tests.
> 
> We don't need to invent anything for that.  You can use a regular
> expression with \w.
> 
> --Guido van Rossum (home page: http://www.python.org/~guido/)

That's replacing the "clear" with the "arcane" (or perhaps the "fairly
incomprehensible").  Is that really a good ultimate direction for Python?

Bill



More information about the Python-Dev mailing list