Author ammar2
Recipients ammar2, methane, serhiy.storchaka, vstinner, xtreak
Date 2020-01-20.06:08:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1579500536.63.0.89294476675.issue39377@roundup.psfhosted.org>
In-reply-to
Content
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'
History
Date User Action Args
2020-01-20 06:08:56ammar2setrecipients: + ammar2, vstinner, methane, serhiy.storchaka, xtreak
2020-01-20 06:08:56ammar2setmessageid: <1579500536.63.0.89294476675.issue39377@roundup.psfhosted.org>
2020-01-20 06:08:56ammar2linkissue39377 messages
2020-01-20 06:08:56ammar2create