why did string.py change in 1.6?

Fredrik Lundh effbot at telia.com
Sat Apr 1 09:23:24 EST 2000


Andrew Dalke <dalke at acm.org> wrote:
> In the CVS version (1.6a1) I see that string.py has been
> The function strop.join still exists (so there is duplicated
> code between that and the string module).  Given the extra
> method call overhead, can anyone tell me why this change was
> made?

python 1.6 has two string types.  the 'strop' module
only supports one of them.

(the 'strop' module is obsolete.  the 'string' module should be
considered as "mostly deprecated", at least for anything that
is better done via string methods :-)

</F>





More information about the Python-list mailing list