24 Jan
2021
24 Jan
'21
7:26 a.m.
On Sat, Jan 23, 2021, at 22:43, Matt Wozniski wrote:
1. Deprecate calling `open` for text mode (the default) unless an `encoding=` is specified,
I have a suggestion, if this is going to be done: If the third positional argument to open is a string, accept it as encoding instead of buffering. Maybe even allow the fourth to be errors. It might be worthwhile to consider making the other arguments keyword-only - are they ever used positionally in real-world code?