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.

Author sobolevn
Recipients sobolevn
Date 2021-09-21.07:49:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632210576.65.0.316213829461.issue45254@roundup.psfhosted.org>
In-reply-to
Content
`HAS_SHMEM` is defined in `multiprocessing.managers` module https://github.com/python/cpython/blob/0bfa1106acfcddc03590e1f5d6789dbad3affe70/Lib/multiprocessing/managers.py#L35-L40

Later the same logic is duplicated in `_test_multiprocessing`: https://github.com/python/cpython/blob/0bfa1106acfcddc03590e1f5d6789dbad3affe70/Lib/test/_test_multiprocessing.py#L52-L56

We can just use `multiprocessing.managers.HAS_SHMEM` instead.

I am going to send a PR with the fix.
History
Date User Action Args
2021-09-21 07:49:36sobolevnsetrecipients: + sobolevn
2021-09-21 07:49:36sobolevnsetmessageid: <1632210576.65.0.316213829461.issue45254@roundup.psfhosted.org>
2021-09-21 07:49:36sobolevnlinkissue45254 messages
2021-09-21 07:49:36sobolevncreate