Message394128
| Author |
mrabarnett |
| Recipients |
Catherine.Devlin, Mark.Bell, Philippe Cloutier, ZackerySpytz, barry, cheryl.sabella, corona10, gvanrossum, karlcow, mrabarnett, serhiy.storchaka, syeberman, veky |
| Date |
2021年05月21日.17:13:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1621617193.97.0.273667044687.issue28937@roundup.psfhosted.org> |
| In-reply-to |
| Content |
I've only just realised that the test cases don't cover all eventualities: none of them test what happens with multiple spaces _between_ the letters, such as:
' a b c '.split(maxsplit=1) == ['a', 'b c ']
Comparing that with:
' a b c '.split(' ', maxsplit=1)
you see that passing None as the split character does not mean "any whitespace character". There's clearly a little more to it than that. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2021年05月21日 17:13:14 | mrabarnett | set | recipients:
+ mrabarnett, gvanrossum, barry, syeberman, karlcow, serhiy.storchaka, Catherine.Devlin, Mark.Bell, veky, cheryl.sabella, corona10, ZackerySpytz, Philippe Cloutier |
| 2021年05月21日 17:13:13 | mrabarnett | set | messageid: <1621617193.97.0.273667044687.issue28937@roundup.psfhosted.org> |
| 2021年05月21日 17:13:13 | mrabarnett | link | issue28937 messages |
| 2021年05月21日 17:13:13 | mrabarnett | create |
|