[Python-3000] string module trimming

Guido van Rossum guido at python.org
Thu Apr 19 00:34:06 CEST 2007


On 4/18/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Christian Heimes wrote:
>
> > What do you think about replacing the definitions by information from
> > the unicode character properties database.
>
> I'm not sure I like the idea of pulling a rather large
> database into the basic string module.

Agreed. Though most of the database is loaded as part of the unicode
string object anyway, to support isupper() etc.

> Also, even in a unicode world, it can be useful to
> deal just with ascii letters and digits, e.g. when
> processing a programming language.

Right, I like having ascii_letters etc. (though I don't care about
where it lives or this particular name -- only about the
functionality).

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list