New submission from Evan Allrich <p...@allri.ch>:

At present the note [0] appears under the documentation for `json.dumps` (which 
does not use the `fp` argument). It seems the note would be better placed with 
the documentation for the affected function.

[0] 
> Note
> 
> Unlike pickle and marshal, JSON is not a framed protocol, so trying to > 
> serialize multiple objects with repeated calls to dump() using the same > fp 
> will result in an invalid JSON file.

----------
assignee: docs@python
components: Documentation
messages: 323396
nosy: docs@python, eallrich
priority: normal
severity: normal
status: open
title: Move note about repeated calls to json.dump using the same fp to the 
json.dump section
type: enhancement
versions: Python 3.7

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

Reply via email to