Author serhiy.storchaka
Recipients abarry, barry, serhiy.storchaka
Date 2016-12-11.15:32:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481470360.74.0.839213636317.issue28937@psf.upfronthosting.co.za>
In-reply-to
Content
Current behavior is consistent with str.count():

    len(string.split(sep)) == string.count(sep) + 1

and re.split():

    re.split(re.escape(sep), string) == string.split(sep)

May be the behavior when sep is None should be changed for consistency with the behavior when sep is not None?
History
Date User Action Args
2016-12-11 15:32:40serhiy.storchakasetrecipients: + serhiy.storchaka, barry, abarry
2016-12-11 15:32:40serhiy.storchakasetmessageid: <1481470360.74.0.839213636317.issue28937@psf.upfronthosting.co.za>
2016-12-11 15:32:40serhiy.storchakalinkissue28937 messages
2016-12-11 15:32:40serhiy.storchakacreate