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

2018-08-10 Thread Evan Allrich


New submission from Evan Allrich :

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 
<https://bugs.python.org/issue34379>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2018-08-10 Thread Evan Allrich


Change by Evan Allrich :


--
keywords: +patch
pull_requests: +8215
stage:  -> patch review

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