This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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?
Date User Action Args
2016-12-11 15:32:40serhiy.storchakasetrecipients: + serhiy.storchaka, barry, abarry
2016-12-11 15:32:40serhiy.storchakasetmessageid: <>
2016-12-11 15:32:40serhiy.storchakalinkissue28937 messages
2016-12-11 15:32:40serhiy.storchakacreate