[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-10-22 Thread Nikita Sobolev
Nikita Sobolev added the comment: Thanks everyone. It is now fixed -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-10-01 Thread miss-islington
miss-islington added the comment: New changeset fc3511f18e92ea345092aa59a4225218bd19e153 by Miss Islington (bot) in branch '3.10': bpo-45125: Improves pickling docs and tests for `shared_memory` (GH-28294) https://github.com/python/cpython/commit/fc3511f18e92ea345092aa59a4225218bd19e153 ---

[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-10-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27041 pull_request: https://github.com/python/cpython/pull/28675 ___ Python tracker _

[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 746d648d47d12d16c2afedaeff626fc6aaaf6a46 by Nikita Sobolev in branch 'main': bpo-45125: Improves pickling docs and tests for `shared_memory` (GH-28294) https://github.com/python/cpython/commit/746d648d47d12d16c2afedaeff626fc6aaaf6a46 ---

[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-09-11 Thread Nikita Sobolev
Change by Nikita Sobolev : -- keywords: +patch pull_requests: +26710 stage: -> patch review pull_request: https://github.com/python/cpython/pull/28294 ___ Python tracker ___ _

[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-09-07 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Go ahead. Fix also other issues in tests: * All pickling tests should test with all supported protocols, not just with the default one. * self.assertTrue( isinstance(deserialized_sl, shared_memory.ShareableList) ) assertIsinstance() can

[issue45125] Improve tests and docs of how `pickle` works with `SharedMemory` obejcts

2021-09-07 Thread Nikita Sobolev
New submission from Nikita Sobolev : As we've discussed in https://bugs.python.org/msg401146 we need to improve how `SharedMemory` is documented and tested. Right now docs do not cover `pickle` at all (https://github.com/python/cpython/blob/main/Doc/library/multiprocessing.shared_memory.rst).