[issue20218] Add `pathlib.Path.write` and `pathlib.Path.read`

Antoine Pitrou report at bugs.python.org
Thu Jan 23 15:43:39 CET 2014


Antoine Pitrou added the comment:

> Which parts of the API merit discussion? The method names? Whether to
> include readlines/writelines? The arguments?

I think the readlines/writelines methods, as well as the size argument,
should be dropped.
Furthermore, there also should be distinct text/binary variants.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20218>
_______________________________________


More information about the Python-bugs-list mailing list