<div>It seems to me like spliting an empty string is something that makes little sense to do,</div><div>similar to dividing by zero in terms of an analogy.</div><div>How about str.split, partition and friends just raise ValueError exception when the value is the empty string?</div>
<div><br></div><div>Regards,</div><div>Matt<br><br><div class="gmail_quote">2008/12/11 Terry Reedy <span dir="ltr"><<a href="mailto:tjreedy@udel.edu" target="_blank">tjreedy@udel.edu</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>Guido van Rossum wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, Dec 11, 2008 at 6:18 AM,  <<a href="mailto:skip@pobox.com" target="_blank">skip@pobox.com</a>> wrote:<br>
</blockquote>
<br>
</div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If anything it's wrong, it's that they share the same name. This<br>
wasn't always the case. Do you really want to go back to .split() and<br>
.splitfields(sep)?<br>
</blockquote>
<br></div>
I hope not.  I consider the current situation to be a definite improvement.  I sometimes forgot which was which.<div><div></div><div><br>
<br>
_______________________________________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-ideas" target="_blank">http://mail.python.org/mailman/listinfo/python-ideas</a><br>
</div></div></blockquote></div><br><br clear="all"><br>
</div>