[Python-Dev] Re: String module

Martin v. Loewis martin@v.loewis.de
30 May 2002 08:49:25 +0200

Guido van Rossum <guido@python.org> writes:

> > > I think all of the unicode methods should be added to 8-bit strings,
> > > even if they are just aliases for others (what's title case applied to
> > > Latin-1?  I suppose same as upper case?).
> > 
> > So those would be locale dependent? (the Unicode ones are not).
> Yes.  isalpha() etc. for 8-bit strings are already locale dependent
> aren't they?

Yes, certainly. I'm just confirming, since this *is* a notable
difference to Unicode strings.

> BTW, how about deprecating strop while we're at it?

That seems acceptable to me, once string.py stops importing it.

I wonder how much time after deprecating a builtin or extension module
we should stop building it automatically in setup.py.