[docs] [issue34379] Move note about repeated calls to json.dump using the same fp to the json.dump section

Evan Allrich report at bugs.python.org
Fri Aug 10 18:10:19 EDT 2018


New submission from Evan Allrich <psf at 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 at python
components: Documentation
messages: 323396
nosy: docs at 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 <report at bugs.python.org>
<https://bugs.python.org/issue34379>
_______________________________________


More information about the docs mailing list