[Python-Dev] "funny".split("")

Andrew Koenig ark@research.att.com
Tue, 12 Mar 2002 14:08:15 -0500 (EST)


Christian> Sure. The single rule "split whenever you can, but don't
Christian> return the separator" make this operation closed.
Christian> Although split and join can never be true friends,
Christian> since they aren't real counterparts:
Christian> join() does accept strings which contain the concatenator.

Christian> Maybe somebody will use this to kill the argument.

But that's true already, so allowing a null separator wouldn't change it.