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

Antoine Pitrou report at bugs.python.org
Thu Jan 23 15:55:51 CET 2014


Antoine Pitrou added the comment:

> If we do separate out the binary versions, what do you have in mind
> for the method names and signatures?

Perhaps we should look at what other Path APIs do here, and how they
name it.

Realistically, we need at least read_bytes() and read_text() methods.
The write() method may stay unique if it's polymorphic.

----------

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


More information about the Python-bugs-list mailing list