[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: bob.ippolito -> ezio.melotti resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8dbf072556b9 by Ezio Melotti in branch '2.7': #4783: document that is not possible to use json.dump twice on the same stream. http://hg.python.org/cpython/rev/8dbf072556b9 New changeset 2ec08aa2c566 by Ezio Melotti in branch '3.1': #4783: document

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: I saw that and found it not clear, that's why I rephrased it. In order to understand that one has to know what is a "framed protocol", what can be considered a "JSON document" (is a single object a JSON document? or does it need to be serialized first?), what is

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-13 Thread Bryce Verdier
Bryce Verdier added the comment: Not to nitpick, but what about the wording used in the simplejson documentation that Bob wrote almost 3 years ago? Note JSON is not a framed protocol so unlike pickle or marshal it does not make sense to serialize more than one JSON document without some cont

[issue4783] document that json.load/dump can’t be used twice on the same stream

2011-04-13 Thread Ezio Melotti
Ezio Melotti added the comment: Attached patch adds a note about the effects of using dump several times on the same file. -- keywords: +easy, needs review, patch nosy: +ezio.melotti stage: -> patch review Added file: http://bugs.python.org/file21645/issue4783.diff __

[issue4783] document that json.load/dump can’t be used twice on the same stream

2010-08-24 Thread Éric Araujo
Éric Araujo added the comment: Bob, what is the status of this bug? -- nosy: +d...@python, eric.araujo -georg.brandl title: json documentation needs a BAWM (Big A** Warning Message) -> document that json.load/dump can’t be used twice on the same stream versions: +Python 2.7, Python 3.1