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 jogo
Recipients jogo
Date 2020-01-02.19:10:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1577992258.0.0.878269321128.issue39196@roundup.psfhosted.org>
In-reply-to
Content
Python 3 fails to encode dictionary view objects. Assuming this is an expected behavior, what is the thinking behind it? I was unable to find any documentation around this.

> import json; json.dumps({}.values())
"TypeError: Object of type dict_values is not JSON serializable"
History
Date User Action Args
2020-01-02 19:10:58jogosetrecipients: + jogo
2020-01-02 19:10:58jogosetmessageid: <1577992258.0.0.878269321128.issue39196@roundup.psfhosted.org>
2020-01-02 19:10:57jogolinkissue39196 messages
2020-01-02 19:10:57jogocreate