mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
More actionable error message when spawn is incorrectly used. (#102203)
Co-authored-by: Yuxin Wu <ppwwyyxx@users.noreply.github.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
This commit is contained in:
parent
bb456a08a3
commit
a794ebeb02
1 changed files with 5 additions and 1 deletions
|
@ -150,7 +150,11 @@ def _check_not_importing_main():
|
|||
...
|
||||
|
||||
The "freeze_support()" line can be omitted if the program
|
||||
is not going to be frozen to produce an executable.''')
|
||||
is not going to be frozen to produce an executable.
|
||||
|
||||
To fix this issue, refer to the "Safe importing of main module"
|
||||
section in https://docs.python.org/3/library/multiprocessing.html
|
||||
''')
|
||||
|
||||
|
||||
def get_preparation_data(name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue