Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue33461

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:json.loads(encoding=) does not emit deprecation warning.
Type:Stage:resolved
Components:Versions:Python 3.8
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: bob.ippolito, ezio.melotti, mbussonn, methane, pitrou, rhettinger, serhiy.storchaka
Priority:normalKeywords:patch

Created on2018-05-11 02:31 bymbussonn, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.

Pull Requests
URLStatusLinkedEdit
PR 6762mergedmbussonn,2018-05-11 02:44
PR 6784closedmbussonn,2018-05-13 21:22
Messages (5)
msg316384 -(view)Author: Matthias Bussonnier (mbussonn)*Date: 2018-05-11 02:31
The `encoding` keyword of json.loads is ignored and deprecated. AFAICT this is since Python 3.1. Passing a value for encoding does not emit a deprecation warning.
msg316393 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2018-05-11 11:42
I'm wondering if it can be removed at all. Maybe it was left inissue4136 due to oversight.
msg316479 -(view)Author: Matthias Bussonnier (mbussonn)*Date: 2018-05-13 21:25
I've openedhttps://github.com/python/cpython/pull/6784 as an alternative that removes it. I was worried to remove it so close to 3.7.
msg339600 -(view)Author: Inada Naoki (methane)*(Python committer)Date: 2019-04-08 08:28
Since we didn't raise DeprecationWarning, I think at least one version with DeprecationWarning is preferable.
msg339710 -(view)Author: Inada Naoki (methane)*(Python committer)Date: 2019-04-09 07:17
New changeseta8abe097c1165db25b429ca02a65c4f8acbc062b by Inada Naoki (Matthias Bussonnier) in branch 'master':bpo-33461: emit DeprecationWarning when json.loads(encoding=...) is used (GH-6762)https://github.com/python/cpython/commit/a8abe097c1165db25b429ca02a65c4f8acbc062b
History
DateUserActionArgs
2022-04-11 14:59:00adminsetgithub: 77642
2019-04-09 07:17:58methanesetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2019-04-09 07:17:27methanesetmessages: +msg339710
2019-04-08 08:28:49methanesetnosy: +methane

messages: +msg339600
versions: + Python 3.8
2018-05-13 21:25:15mbussonnsetmessages: +msg316479
2018-05-13 21:22:34mbussonnsetpull_requests: +pull_request6471
2018-05-11 11:42:18serhiy.storchakasetnosy: +bob.ippolito,pitrou,serhiy.storchaka,rhettinger,ezio.melotti
messages: +msg316393
2018-05-11 02:44:21mbussonnsetkeywords: +patch
stage: patch review
pull_requests: +pull_request6449
2018-05-11 02:31:13mbussonncreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp