
On Mon, Sep 14, 2020 at 10:00 AM Chris Angelico <rosuav@gmail.com> wrote:
On Tue, Sep 15, 2020 at 2:41 AM Christopher Barker <pythonchb@gmail.com> wrote:
There seems to be a fair bit of support for this idea.
Will it need a PEP ?
I think not; unless there are API details to be hashed out or counterarguments to be rebuffed, I think this is fairly simple and non-controversial.
agreed -- at least the simple part. The only API detail I"ve seen is whether to make json.load() take a "path-like or file-like" object, or to have separate functions. And I think the consensus is to have separate functions. And to name them ``loadf()`` and ``savef``. The other potential API issue is whether to support arbitrary encdoings -- but I think the consensus there is also no. So yes -- pretty simple.
Can you create a PR directly? If not, create a bugs.python.org issue
to track it.
not me -- I'm having enough trouble finding time to srite the inf/nan PEP. But I think the OP offered to do so.
Either way, it's up to the core devs to decide, but it shouldn't need all the overhead of a full PEP.
And if it does, the core devs can tell us then. -CHB -- Christopher Barker, PhD Python Language Consulting - Teaching - Scientific Software Development - Desktop GUI and Web Development - wxPython, numpy, scipy, Cython