[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread miss-islington
miss-islington added the comment: New changeset 9f9a3028e3bb923e726789ab3ea5ce298b596bc6 by Miss Islington (bot) in branch '3.9': bpo-45752: Remove "array" from list of things that cannot be copied in `copy` module docstring (GH-29555) https://github.com/python/cpython/commit/9f9a3028e3bb923

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread miss-islington
miss-islington added the comment: New changeset 55d24edaadba4ee90f464d88b44075649788f128 by Miss Islington (bot) in branch '3.10': bpo-45752: Remove "array" from list of things that cannot be copied in `copy` module docstring (GH-29555) https://github.com/python/cpython/commit/55d24edaadba4e

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +27806 pull_request: https://github.com/python/cpython/pull/29558 ___ Python tracker ___ __

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +27805 pull_request: https://github.com/python/cpython/pull/29557 ___ Python tracker ___ __

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread miss-islington
miss-islington added the comment: New changeset c2c4fdf5ea6e9cba4ef469d08a52abb9cfa756a5 by Alex Waygood in branch 'main': bpo-45752: Remove "array" from list of things that cannot be copied in `copy` module docstring (GH-29555) https://github.com/python/cpython/commit/c2c4fdf5ea6e9cba4ef469

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread miss-islington
miss-islington added the comment: New changeset 2081f9fe75a3a990394fbccd0c1c91c229c6289e by M. Mostafa Farzan in branch '3.10': [3.10] bpo-45752: Fix no-support examples in 'copy' docs (GH-29548) (GH-29556) https://github.com/python/cpython/commit/2081f9fe75a3a990394fbccd0c1c91c229c6289e --

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread Mohammad Mostafa Farzan
Change by Mohammad Mostafa Farzan : -- pull_requests: +27804 pull_request: https://github.com/python/cpython/pull/29556 ___ Python tracker ___ _

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +AlexWaygood nosy_count: 7.0 -> 8.0 pull_requests: +27803 pull_request: https://github.com/python/cpython/pull/29555 ___ Python tracker ___ __

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread miss-islington
miss-islington added the comment: New changeset 6073920fcdb5a36d20a6a7c6ee204f74f00e1cb4 by Miss Islington (bot) in branch '3.9': bpo-45752: Fix no-support examples in 'copy' docs (GH-29548) https://github.com/python/cpython/commit/6073920fcdb5a36d20a6a7c6ee204f74f00e1cb4 -- __

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +27802 pull_request: https://github.com/python/cpython/pull/29554 ___ Python tracker _

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-14 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset b7360ae395e9e633d384d16064c5dc04a9841e19 by M. Mostafa Farzan in branch 'main': bpo-45752: Fix no-support examples in 'copy' docs (GH-29548) https://github.com/python/cpython/commit/b7360ae395e9e633d384d16064c5dc04a9841e19 -- nosy: +as

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-13 Thread Stefan Pochmann
Stefan Pochmann added the comment: Just saw that it's in copy.py's docstring as well: "This version does not copy types like module, class, function, method, nor stack trace, stack frame, nor file, socket, window, nor array, nor any similar types." https://github.com/python/cpython/blob/3.10/

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-13 Thread Mohammad Mostafa Farzan
Change by Mohammad Mostafa Farzan : -- keywords: +patch nosy: +m2_farzan nosy_count: 4.0 -> 5.0 pull_requests: +27797 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29548 ___ Python tracker

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: Should we just remove ' array,' from things that cannot be copied, or does this need more discussion? -- keywords: +easy, newcomer friendly nosy: +lukasz.langa, terry.reedy versions: -Python 3.6, Python 3.7, Python 3.8 __

[issue45752] copy module doc wrongly says it doesn't copy arrays

2021-11-08 Thread Stefan Pochmann
New submission from Stefan Pochmann : The doc https://docs.python.org/3/library/copy.html says: "This module does not copy types like module, method, stack trace, stack frame, file, socket, window, array, or any similar types." But it does copy arrays just fine: import copy, array a = array.