Message360292
Do you mean to say we should or shouldn't be raising an error? With Inada-san's change you get this:
>>> json.loads("true", encoding='utf8')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\ammar\workspace\cpython\lib\json\__init__.py", line 359, in loads
return cls(**kw).decode(s)
TypeError: __init__() got an unexpected keyword argument 'encoding' |
|
Date |
User |
Action |
Args |
2020-01-20 06:08:56 | ammar2 | set | recipients:
+ ammar2, vstinner, methane, serhiy.storchaka, xtreak |
2020-01-20 06:08:56 | ammar2 | set | messageid: <1579500536.63.0.89294476675.issue39377@roundup.psfhosted.org> |
2020-01-20 06:08:56 | ammar2 | link | issue39377 messages |
2020-01-20 06:08:56 | ammar2 | create | |
|