Author cool-RR
Recipients cjwelborn, cool-RR, pitrou, serhiy.storchaka
Date 2014-01-21.11:21:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390303286.21.0.939759817013.issue20218@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-01-21 11:21:26cool-RRsetrecipients: + cool-RR, pitrou, serhiy.storchaka, cjwelborn
2014-01-21 11:21:26cool-RRsetmessageid: <1390303286.21.0.939759817013.issue20218@psf.upfronthosting.co.za>
2014-01-21 11:21:26cool-RRlinkissue20218 messages
2014-01-21 11:21:25cool-RRcreate