Message208640
Serhiy:
Your arguments 1 and 2 are pretty weak. (So what if an import is required? It's still 2 lines. I thought that "Not every two line function are worth to be added to the stdlib.")
Regarding stat being used much more often than read: I disagree. I've done whole-file reads much more often than I've done stat. Different people might have different habits, but I definitely think that reading an entire file is a common operation with files. And we can all agree that other trivial Path method like `lstat` are much less common than both stat and whole-file read, yet they've earned their place in the stdlib, while we are still arguing whether `Path.read` and `path.write` should have a place too.
Regarding `Path.readline` and `Path.readlines`: I don't have an opinion on whether they should be implemented or not, since I rarely use them. But I definitely think that they have no bearing on the decision of whether to include `Path.read` and `Path.write` or not.
Your argument 5 also looks weak to me. It looks to me like you're looking for arguments. |
|
Date |
User |
Action |
Args |
2014-01-21 11:21:26 | cool-RR | set | recipients:
+ cool-RR, pitrou, serhiy.storchaka, cjwelborn |
2014-01-21 11:21:26 | cool-RR | set | messageid: <1390303286.21.0.939759817013.issue20218@psf.upfronthosting.co.za> |
2014-01-21 11:21:26 | cool-RR | link | issue20218 messages |
2014-01-21 11:21:25 | cool-RR | create | |
|