Andrei Kulakov <andrei....@gmail.com> added the comment:
To clarify with pseudocode, this is how it could work: '' => [] # sep=None, keep_single_empty=False '' => [''] # sep=None, keep_single_empty=True '' => [] # sep=',', keep_single_empty=False 'a,,' => ['a','',''] # sep=',', keep_single_empty=False I guess `keepempty=False` could be too easily confused for filtering out all empties. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue28937> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com