[issue28937] str.split(): remove empty strings when sep is not None

Vedran Čačić report at bugs.python.org
Mon Dec 12 12:28:41 EST 2016


Vedran Čačić added the comment:

I think Guido's mistake is relevant here. It tripped me too. Too much negatives, and "prune" is not really well-known verb. Besides, we already have str.splitlines' keepends, which works the opposite way.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28937>
_______________________________________


More information about the Python-bugs-list mailing list