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: class multiprocessing.Value calls set_start_method
Type: behavior Stage:
Components: Documentation Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Kernel Plevitsky, docs@python, iritkatriel
Priority: normal Keywords:

Created on 2020-06-20 12:00 by Kernel Plevitsky, last changed 2022-04-11 14:59 by admin.

Files
File name Uploaded Description Edit
test.py Kernel Plevitsky, 2020-06-20 12:00 throws an exception code
Messages (2)
msg371933 - (view) Author: Kernel Plevitsky (Kernel Plevitsky) Date: 2020-06-20 12:00
I'm not sure if this is a bug or my carelessness.

I cannot call set_start_method () if multiprocessing.Value() is declared in the class above than "if __name__ ==" __main__ ""

The documentation for Value did not describe this.

I have attached a code playing this moment.

Sorry for my English
msg404703 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-10-21 23:11
Reproduced on 3.11.
History
Date User Action Args
2022-04-11 14:59:32adminsetgithub: 85222
2021-10-21 23:11:14iritkatrielsetnosy: + iritkatriel

messages: + msg404703
versions: + Python 3.11, - Python 3.5, Python 3.8
2020-06-20 12:00:55Kernel Plevitskycreate