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 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 <>
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\", 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:56ammar2setrecipients: + ammar2, vstinner, methane, serhiy.storchaka, xtreak
2020-01-20 06:08:56ammar2setmessageid: <>
2020-01-20 06:08:56ammar2linkissue39377 messages
2020-01-20 06:08:56ammar2create