[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ideas
Subject:    Re: [Python-ideas] Add pathlib.Path.write_json and pathlib.Path.read_json
From:       "Philipp A." <flying-sheep () web ! de>
Date:       2017-03-27 15:51:19
Message-ID: CAN8d9gm6_LNTfB_YHgnstqHywpA6aa13X+J3WTdc_6O5LQnF7Q () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Ram Rachum <ram@rachum.com> schrieb am Mo., 27. M=C3=A4rz 2017 um 16:42 Uhr=
:

> Another idea: Maybe make json.load and json.dump support Path objects?
>

yes, all string-path expecting stdlib APIs should support PEP 519

https://www.python.org/dev/peps/pep-0519/

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Ram Rachum &lt;<a \
href="mailto:ram@rachum.com">ram@rachum.com</a>&gt; schrieb am Mo., 27. März 2017 um \
16:42  Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" \
class="gmail_msg">Another idea: Maybe make json.load and json.dump support Path \
objects?</div></blockquote><div><br></div><div>yes, all string-path expecting stdlib \
APIs should support PEP 519</div><div><br></div><div><a \
href="https://www.python.org/dev/peps/pep-0519/">https://www.python.org/dev/peps/pep-0519/</a><br></div></div></div>




_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic