> 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/)