"Tim Peters" firstname.lastname@example.org writes:
On the deprecation of the string module: where did this idea come from? I've never seen anything saying that the string module is deprecated.
I thought this, and went looking. I found on http://www.python.org/1.6/, about four fifths of the way down:
string - most of this module is deprecated now that strings have methods. This no longer uses the built-in strop module, but takes advantage of the new string methods to provide transparent support for both Unicode and ordinary strings.
I hope (and believe) this is Wrong.
The old string module is still around for backwards compatibility, but it mostly acts as a front-end to the new string methods.
which is IMHO better.