[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-11-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Thank you Chris for your patch.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-11-27 Thread Berker Peksag

Changes by Berker Peksag :


--
resolution:  -> fixed
stage: commit review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-11-27 Thread Chris Rebert

Chris Rebert added the comment:

Thanks Serhiy!

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-11-27 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 7e534e18a99a by Serhiy Storchaka in branch '2.7':
Issue #21514: The documentation of the json module now refers to new JSON RFC
https://hg.python.org/cpython/rev/7e534e18a99a

New changeset 89bb4384f1e1 by Serhiy Storchaka in branch '3.4':
Issue #21514: The documentation of the json module now refers to new JSON RFC
https://hg.python.org/cpython/rev/89bb4384f1e1

New changeset aced2548345a by Serhiy Storchaka in branch 'default':
Issue #21514: The documentation of the json module now refers to new JSON RFC
https://hg.python.org/cpython/rev/aced2548345a

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-11-26 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Serhiy, can you take this one.  The patch passes both mine and Bob's review; 
however, it doesn't apply cleanly to 2.7 and 3.4.  I haven't had the time to do 
the needed backports.

--
assignee: rhettinger -> serhiy.storchaka
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-11-11 Thread Berker Peksag

Changes by Berker Peksag :


--
nosy: +berker.peksag

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-11-11 Thread Chris Rebert

Chris Rebert added the comment:

Ping! It's been about 3 months since this was given the green light...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-08-11 Thread Berker Peksag

Changes by Berker Peksag :


--
stage: needs patch -> commit review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-08-10 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Soonish.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-08-10 Thread Chris Rebert

Chris Rebert added the comment:

So, when might I expect to see this patch merged, since it's now been approved?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Bob Ippolito

Changes by Bob Ippolito :


--
assignee: bob.ippolito -> rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Raymond Hettinger

Raymond Hettinger added the comment:

Thanks Bob.  If you want me to apply the patch, just assign this back to me.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Bob Ippolito

Bob Ippolito added the comment:

Good call, I was just doing a quick review of the patch in isolation. Now I 
don't have anything at all to comment on :)

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Chris Rebert

Chris Rebert added the comment:

Thanks for the speedy review!

Those NaN-related arguments are already mentioned in the docs (see last 2 
sentences of 
https://docs.python.org/3/library/json.html#infinite-and-nan-number-values ), 
and this patch doesn't touch that subsection.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Bob Ippolito

Bob Ippolito added the comment:

This patch looks reasonable to me as-is.

With regard to "Infinite and NaN number values are accepted and output;" 
there's an option for that (allow_nan=False in encoding, 
parse_constant=some_function_that_raises in decoding). Since an exception can't 
be raised in a lambda there's no simple one-liner to ensure compliant decode.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-14 Thread Raymond Hettinger

Changes by Raymond Hettinger :


--
assignee: docs@python -> bob.ippolito
nosy: +bob.ippolito

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-07-13 Thread Chris Rebert

Chris Rebert added the comment:

Here's a draft patch against the default branch that updates the json module's 
docs accordingly.

Note that under "Implementation Limitations", the statement "This module does 
not impose any such limits beyond those of the relevant Python datatypes 
themselves or the Python interpreter itself." is just a guess; I need someone 
who's familiar with the implementation to verify/correct this.

--
keywords: +patch
Added file: http://bugs.python.org/file35945/json-rfc-7159_1.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-05-16 Thread Ezio Melotti

Changes by Ezio Melotti :


--
nosy: +ezio.melotti, pitrou, rhettinger
stage:  -> needs patch
type:  -> enhancement
versions: +Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21514] update json module docs in light of RFC 7159 & ECMA-404

2014-05-15 Thread Chris Rebert

New submission from Chris Rebert:

json module docs: https://docs.python.org/3/library/json.html

New superseding JSON RFC: https://tools.ietf.org/html/rfc7159
Errata to the new RFC: http://www.rfc-editor.org/errata_search.php?rfc=7159
ECMA-404: http://www.ecma-international.org/publications/standards/Ecma-404.htm

These updated specs are of particular relevance to the Standard Compliance 
section of the json module docs. There are also a bunch of new interoperability 
notes in the RFC that could probably bear repeating in the module's docs.

--
assignee: docs@python
components: Documentation
messages: 218644
nosy: cvrebert, docs@python
priority: normal
severity: normal
status: open
title: update json module docs in light of RFC 7159 & ECMA-404
versions: Python 2.7, Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com