[issue32146] multiprocessing freeze_support needed outside win32

2021-03-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2021-03-27 Thread Oliver Newman
Change by Oliver Newman : -- nosy: +onew ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: @bbayles Hopefully a Windows user could test if you give a step-by-step guide of what to check for. -- nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-15 Thread Ronald Oussoren
Change by Ronald Oussoren : -- nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-12 Thread bbayles
bbayles added the comment: I'm currently having difficulty getting either cx_Freeze or PyInstaller to work with Python 3.8, which is hindering testing. I also no longer have easy access to a Windows environment. If I change the implementation to use -m instead of -c would you be able to

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-11 Thread Antoine Pitrou
Antoine Pitrou added the comment: The key here would be to replace function execution with module execution and command-line arguments. So instead of: python -c 'from multiprocessing.forkserver import main; main(ARG1, ARG2...)' you would do: python -m multiprocessing.forkserver ARG1

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread bbayles
bbayles added the comment: Thanks for the note. I've merged in master and fixed a conflict in the test file. In an earlier rev I tried to do the argument parsing without ast.literal_eval, but found it awkward to support all the ways [1] can manifest. You might have a better idea? [1]

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread miss-islington
miss-islington added the comment: New changeset b9cd38f928f7eb4e18ad4b63e5c49c05c626c33e by Miss Islington (bot) in branch '3.7': bpo-32146: Add documentation about frozen executables on Unix (GH-5850) https://github.com/python/cpython/commit/b9cd38f928f7eb4e18ad4b63e5c49c05c626c33e

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11064, 11065, 11066 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11064, 11065 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +11064 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d by Victor Stinner (Bo Bayles) in branch 'master': bpo-32146: Add documentation about frozen executables on Unix (GH-5850) https://github.com/python/cpython/commit/bab4bbb4c9cd5d25ede21a1b8c99d56e3b8dae9d

[issue32146] multiprocessing freeze_support needed outside win32

2019-01-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm sorry about not seeing your PR before. Would you like to update it against current git master? (note I'm not thrilled by the use of the "ast" module; I hope we can change the command-line args so that this isn't needed) --

[issue32146] multiprocessing freeze_support needed outside win32

2018-02-24 Thread bbayles
Change by bbayles : -- pull_requests: +5626 ___ Python tracker ___ ___ Python-bugs-list

[issue32146] multiprocessing freeze_support needed outside win32

2018-01-30 Thread bbayles
bbayles added the comment: I presume it's too late to get my pull request in for 3.7, but perhaps we could get a note in the documentation for this before release? That could be as simple as: .. warning:: The ``'spawn'`` and ``'forkserver'`` start methods

[issue32146] multiprocessing freeze_support needed outside win32

2018-01-15 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5049 stage: needs patch -> patch review ___ Python tracker ___

[issue32146] multiprocessing freeze_support needed outside win32

2018-01-12 Thread bbayles
bbayles added the comment: I ran into this issue, and found references to it on StackOverflow [1] and GitHub [2] as well. I found that the problem applies to both the 'spawn' and 'forkserver' start methods on Linux. I made an attempt to implement dancol's fix above. (1)

[issue32146] multiprocessing freeze_support needed outside win32

2017-12-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thank you for reporting this. Would you like to submit a PR? -- nosy: +davin, pitrou stage: -> needs patch versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.8 ___ Python tracker

[issue32146] multiprocessing freeze_support needed outside win32

2017-11-27 Thread Daniel Colascione
New submission from Daniel Colascione : multiprocessing's freeze_support makes freshly-launched subprocesses integrate correctly until the multiprocessing ecosystem even when the main executable is some application binary instead of a Python interpreter. The documentation