Re: [Python-ideas] Add pathlib.Path.write_json andpathlib.Path.read_json

2017-03-29 Thread Nick Timkovich
> > I attended a talk at PYCON UK that talked to the point of using object > composition > rather then rich interfaces. I cannot recall the term that was used to > cover this idea. > > Separating things by concern/abstraction (the storage vs. the serialization) results in easier-to-learn code,

Re: [Python-ideas] Add pathlib.Path.write_json andpathlib.Path.read_json

2017-03-29 Thread Barry Scott
7 5:57 > To: Ram Rachum <mailto:r...@rachum.com> > Cc: python-ideas <mailto:python-ideas@python.org> > Subject: Re: [Python-ideas] Add pathlib.Path.write_json > andpathlib.Path.read_json > > On 27 March 2017 at 13:50, Ram Rachum <r...@rachum.com > <mailto:r...@r

Re: [Python-ideas] Add pathlib.Path.write_json andpathlib.Path.read_json

2017-03-27 Thread Steve Dower
17 5:57 To: "Ram Rachum" <r...@rachum.com> Cc: "python-ideas" <python-ideas@python.org> Subject: Re: [Python-ideas] Add pathlib.Path.write_json andpathlib.Path.read_json On 27 March 2017 at 13:50, Ram Rachum <r...@rachum.com> wrote: > This would make writing / r