This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: typo / missing word in docs.python.org/2/library/copy.html
Type: Stage:
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, paulkilley, python-dev, r.david.murray, vstinner
Priority: normal Keywords:

Created on 2016-06-29 15:04 by paulkilley, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (6)
msg269512 - (view) Author: Paul Killey (paulkilley) Date: 2016-06-29 15:04
I wonder if the word 'not' is missing between 'that' and 'should' in this sentence in https://docs.python.org/2/library/copy.html?

Because deep copy copies everything it may copy too much, e.g., administrative data structures that should be shared even between copies.
msg269514 - (view) Author: Paul Killey (paulkilley) Date: 2016-06-29 15:06
I'm sorry, 'not' could be missing between 'should' and 'be' --- 'should not be shared'
msg269522 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2016-06-29 15:23
No, the text is correct.  Perhaps it would be clearer if the 'even' were moved to the front of the phrase?

"...it may copy too much, even data structures that should be shared between copies."
msg269531 - (view) Author: Paul Killey (paulkilley) Date: 2016-06-29 16:40
Ah, I see now -- your comment clarified it for me.  Thanks.
msg269568 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-06-30 09:51
New changeset 9efe0e718914 by Victor Stinner in branch '2.7':
Issue #27416: clarify copy doc
https://hg.python.org/cpython/rev/9efe0e718914

New changeset 54e9ca0a1639 by Victor Stinner in branch '3.5':
Issue #27416: clarify copy doc
https://hg.python.org/cpython/rev/54e9ca0a1639
msg269569 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2016-06-30 09:52
> Because deep copy copies everything it may copy too much, e.g., administrative data structures that should be shared even between copies.

I agree that the sentence sounds wrong. I applied David's patch, it also helped me to understand. Thanks :-)
History
Date User Action Args
2022-04-11 14:58:33adminsetgithub: 71603
2016-06-30 09:52:01vstinnersetstatus: open -> closed

nosy: + vstinner
messages: + msg269569

resolution: fixed
2016-06-30 09:51:09python-devsetnosy: + python-dev
messages: + msg269568
2016-06-29 16:40:37paulkilleysetmessages: + msg269531
2016-06-29 15:23:59r.david.murraysetnosy: + r.david.murray
messages: + msg269522
2016-06-29 15:06:12paulkilleysetmessages: + msg269514
2016-06-29 15:04:30paulkilleycreate