Message282926
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:40 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, abarry |
2016-12-11 15:32:40 | serhiy.storchaka | set | messageid: <1481470360.74.0.839213636317.issue28937@psf.upfronthosting.co.za> |
2016-12-11 15:32:40 | serhiy.storchaka | link | issue28937 messages |
2016-12-11 15:32:40 | serhiy.storchaka | create | |
|