What parts of string module will disappear in Python 3.0?

Christian Heimes lists at cheimes.de
Mon Apr 14 16:43:44 EDT 2008


python at bdurham.com schrieb:
> I understand that many portions of the string module are redundant with
> the native methods of strings and will removed in Python 3.0. Makes
> sense to me.
> 
> But what will happen to the portions of the string module that are not
> covered by native string methods - like the following:
> 
> - string constants (example: string.punctuation)
> - Template strings
> - maketrans()
> 
> Will some semblance of the string module remain in Python 3.0 under the
> string module name or a new module name?

See for yourself:
http://svn.python.org/projects/python/branches/py3k/Lib/string.py

Christian




More information about the Python-list mailing list