New submission from Ronald Oussoren <ronaldousso...@mac.com>:
The requirements on a freezing tool to work with the freeze support in the multiprocessing library are unclear. In particular, I'm trying to support multiprocessing in py2app and cannot rely on the documentation to implement that support. The particular issue I run into: - With py2app "sys.executable" points to a regular interpreter - py2app sets sys.frozen to "macosx_app" or "macosx_plugin" - Multiprocessing.spawn.get_command_line() assumes that a special command-line should be used when "sys.frozen" is set and there is no way to disable this. The easiest way for me to fix this issue is to drop setting sys.frozen in py2app, although I have no idea what other code this might break. ---------- components: Library (Lib) messages: 400354 nosy: ronaldoussoren priority: normal severity: normal status: open title: Multiprocessing freeze support unclear versions: Python 3.10, Python 3.11, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45016> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com