Message359212
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" |
|
Date |
User |
Action |
Args |
2020-01-02 19:10:58 | jogo | set | recipients:
+ jogo |
2020-01-02 19:10:58 | jogo | set | messageid: <1577992258.0.0.878269321128.issue39196@roundup.psfhosted.org> |
2020-01-02 19:10:57 | jogo | link | issue39196 messages |
2020-01-02 19:10:57 | jogo | create | |
|