Message327105
| Author |
nascheme |
| Recipients |
Alexander Schrijver, barry, docs@python, ezio.melotti, gregory.p.smith, jwilk, martin.panter, nascheme, python-dev, r.david.murray, scharron, serhiy.storchaka, terry.reedy, vstinner |
| Date |
2018年10月05日.06:14:04 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1538720044.32.0.545547206417.issue22232@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
If we introduce a keyword parameter, I think the default of str.splitlines() should be changed to match bytes.splitlines (and match Python 2 str.splitlines()). I.e. split on \r and \n by default. I looked through the stdline and I can't find any calls that should actually by splitting on the extra characters. I will check it again though.
Does anyone have an example of where the current behaviour is actually wanted? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2018年10月05日 06:14:04 | nascheme | set | recipients:
+ nascheme, barry, terry.reedy, gregory.p.smith, vstinner, jwilk, ezio.melotti, r.david.murray, docs@python, python-dev, martin.panter, serhiy.storchaka, scharron, Alexander Schrijver |
| 2018年10月05日 06:14:04 | nascheme | set | messageid: <1538720044.32.0.545547206417.issue22232@psf.upfronthosting.co.za> |
| 2018年10月05日 06:14:04 | nascheme | link | issue22232 messages |
| 2018年10月05日 06:14:04 | nascheme | create |
|