This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, remi.lapeyre, rhettinger, serhiy.storchaka, xtreak, ys19991
Date 2020-07-12.15:52:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594569150.35.0.374635139675.issue41284@roundup.psfhosted.org>
In-reply-to
Content
json.load() is already a high level API. json.JSONDecoder is more low level API.

Not every two lines of code should be added as a function in the stdlib. Also, such API would be too complex because you would need to combine parameters of open() (8 parameters) and json.load() (7 parameters). If you use these two lines many times in your code you can just add a simple function that supports only options needed for you.
History
Date User Action Args
2020-07-12 15:52:30serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, ezio.melotti, remi.lapeyre, xtreak, ys19991
2020-07-12 15:52:30serhiy.storchakasetmessageid: <1594569150.35.0.374635139675.issue41284@roundup.psfhosted.org>
2020-07-12 15:52:30serhiy.storchakalinkissue41284 messages
2020-07-12 15:52:30serhiy.storchakacreate