New submission from Markus Järvisalo <markus.jarvis...@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@python
components: Documentation
messages: 315111
nosy: Markus Järvisalo, docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue33246>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to