Ezio Melotti <ezio.melo...@gmail.com> 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 a "container protocol" (can I 
use one? where can I find it? is there a default one for JSON?).

I think it's clearer to just say that you can't do json.dump(obj1, f); 
dump(obj2, f).
I also omitted the note on `load`, because if you can't add more objects to the 
same file using json.dump you won't even try to use json.load to extract them 
one by one.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4783>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to