bpo-36378: Added support to strings and Path objects to json.load by DaniFojo · Pull Request #12465 · python/cpython

@DaniFojo

@DaniFojo

@the-knights-who-say-ni

Hello, and thanks for your contribution!

I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA).

Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue.

You can check yourself to see if the CLA has been received.

Thanks again for your contribution, we look forward to reviewing it!

@DaniFojo DaniFojo deleted the enhancement-issue-36378 branch

March 20, 2019 09:00

@AmitAronovitch

Question: would you consider a new indepent PR from someone else who is willing to sign the CLA?

The reason I am asking is because the issue https://bugs.python.org/issue36378 was rejected with the following message

I close this because PR is closed already, and same idea
was discussed on -ideas ML.

BUT:

  • Seems that the PR was closed due to legal reason, as opposed to principle/technical one.
  • The discussion which I find in ideas-ML is not directly about this idea, but a related one (different solution to same problem)

(While I agree that support for json in pathlib might be inadequate, the converse - pathlike support in the json module does make sense to me)