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

Emanuel Barry report at bugs.python.org
Sun Dec 11 11:01:56 EST 2016


Emanuel Barry added the comment:

That would work for my case, but it wouldn't for Barry's (unless I missed something). He wants a non-None argument to not leave empty strings, but I want a None argument to leave empty strings... I don't think there's a one-size-fits-all solution in this case, but feel free to prove me wrong :)

----------

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


More information about the Python-bugs-list mailing list