Message373559
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. |
|
Date |
User |
Action |
Args |
2020-07-12 15:52:30 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, ezio.melotti, remi.lapeyre, xtreak, ys19991 |
2020-07-12 15:52:30 | serhiy.storchaka | set | messageid: <1594569150.35.0.374635139675.issue41284@roundup.psfhosted.org> |
2020-07-12 15:52:30 | serhiy.storchaka | link | issue41284 messages |
2020-07-12 15:52:30 | serhiy.storchaka | create | |
|