homepage

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 mrabarnett
Recipients Catherine.Devlin, Mark.Bell, Philippe Cloutier, ZackerySpytz, barry, cheryl.sabella, corona10, gvanrossum, karlcow, mrabarnett, serhiy.storchaka, syeberman, veky
Date 2021年05月18日.16:41:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621356101.25.0.766545781253.issue28937@roundup.psfhosted.org>
In-reply-to
Content
The case:
 ' a b c '.split(maxsplit=1) == ['a', 'b c ']
suggests that empty strings don't count towards maxsplit, otherwise it would return [' a b c '] (i.e. the split would give ['', ' a b c '] and dropping the empty strings would give [' a b c ']).
History
Date User Action Args
2021年05月18日 16:41:41mrabarnettsetrecipients: + mrabarnett, gvanrossum, barry, syeberman, karlcow, serhiy.storchaka, Catherine.Devlin, Mark.Bell, veky, cheryl.sabella, corona10, ZackerySpytz, Philippe Cloutier
2021年05月18日 16:41:41mrabarnettsetmessageid: <1621356101.25.0.766545781253.issue28937@roundup.psfhosted.org>
2021年05月18日 16:41:41mrabarnettlinkissue28937 messages
2021年05月18日 16:41:41mrabarnettcreate

AltStyle によって変換されたページ (->オリジナル) /