[issue33246] Note in 18.2. json — JSON encoder and decoder is incorrect

2018-04-09 Thread INADA Naoki
INADA Naoki added the comment: > "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. This sentence can be read as "JSON is subset of

[issue33246] Note in 18.2. json — JSON encoder and decoder is incorrect

2018-04-09 Thread Markus Järvisalo
New submission from Markus Järvisalo : 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