[issue33246] Note in 18.2. json — JSON encoder and decoder is incorrect
Markus Järvisalo
report at bugs.python.org
Mon Apr 9 03:14:29 EDT 2018
New submission from Markus Järvisalo <markus.jarvisalo at gmail.com>:
The note in https://docs.python.org/2/library/json.html section "18.2. json — JSON encoder and decoder".
The note says incorrectly that JSON is a subset of YAML 1.2 but if you follow the text written in YAML 1.2 specification it states that:
"The primary objective of this revision is to bring YAML into compliance with JSON as an official subset."
So it should be that YAML is a subset of JSON and not the other way around.
----------
assignee: docs at python
components: Documentation
messages: 315111
nosy: Markus Järvisalo, docs at python
priority: normal
severity: normal
status: open
title: Note in 18.2. json — JSON encoder and decoder is incorrect
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33246>
_______________________________________
More information about the Python-bugs-list
mailing list