Message338422
@veky - Thank you for pointing out splitlines(keepends=True). If we wanted consistency, then we'd change the sense and use something like .split(keepempty=True), however:
* I don't like run-on names, so I would suggest keep_empty
* Maybe just `keep` is enough
* Either way, this should be a keyword only argument
* The default would still be None (i.e. current behavior), but keep_empty=True would be equivalent to prune=False and keep_empty=False would be equivalent to prune=True in the previous discussion. |
|
Date |
User |
Action |
Args |
2019-03-19 23:41:08 | barry | set | recipients:
+ barry, gvanrossum, rhettinger, syeberman, mrabarnett, serhiy.storchaka, veky, abarry, cheryl.sabella |
2019-03-19 23:41:08 | barry | set | messageid: <1553038868.79.0.240263727589.issue28937@roundup.psfhosted.org> |
2019-03-19 23:41:08 | barry | link | issue28937 messages |
2019-03-19 23:41:08 | barry | create | |
|