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

Ram Rachum report at bugs.python.org
Thu Jan 23 10:06:38 CET 2014


Ram Rachum added the comment:

Hi Christopher,

I like your patch. One thing I modified is returning to use `file` as the variable instead of `f`, since `file` is no longer a builtin in Python 3, and descriptive variable names are important. Attached as `pathlib.readwrite2.patch`.

----------
Added file: http://bugs.python.org/file33647/pathlib.readwrite2.patch

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


More information about the Python-bugs-list mailing list