[Python-ideas] Add pathlib.Path.write_json and pathlib.Path.read_json

Donald Stufft donald at stufft.io
Mon Mar 27 10:33:24 EDT 2017


> On Mar 27, 2017, at 8:50 AM, Ram Rachum <ram at rachum.com> wrote:
> 
> What do you think about adding methods pathlib.Path.write_json and pathlib.Path.read_json , similar to write_text, write_bytes, read_text, read_bytes?
> 


-1, I also think that write_* and read_* were mistakes to begin with.

—
Donald Stufft



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170327/d9e39e4f/attachment.html>


More information about the Python-ideas mailing list