[Python-Dev] Death to string functions!
M.-A. Lemburg
mal@lemburg.com
Fri, 15 Dec 2000 23:49:01 +0100
Guido van Rossum wrote:
>
> Ideally, I would like to deprecate the entire string module, so that I
> can place a single warning at its top. This will cause a single
> warning to be issued for programs that still use it (no matter how
> many times it is imported). Unfortunately, there are a couple of
> things that still need it: string.letters etc., and
> string.maketrans().
Can't we come up with a module similar to unicodedata[.py] ?
string.py could then still provide the interfaces, but the
implementation would live in stringdata.py
[Perhaps we won't need stringdata by then... Unicode will have
taken over and the discussion be mood ;-)]
--
Marc-Andre Lemburg
______________________________________________________________________
Company: http://www.egenix.com/
Consulting: http://www.lemburg.com/
Python Pages: http://www.lemburg.com/python/