why the string function / module change

Sean 'Shaleh' Perry shaleh at valinux.com
Sat Feb 17 00:20:02 EST 2001


On Fri, Feb 16, 2001 at 08:12:23PM -0800, Sean 'Shaleh' Perry wrote:
> 
> split(foo) worked just as well.  I understand there were problems making the
> string module do this, but still.  Could they have not been _split() or
> something to dissuade their use?
> 

example of recent code I have seen:

keys[keyname] = ": ".join(s.split(": ")[1:])

foo.join(sequence) # that logic is just odd




More information about the Python-list mailing list