Title: subprocess doesn't have _args_from_interpreter_flags (blocks support for multiprocessing)
Type: behaviour Severity: normal
Components: Versions: Jython 2.7
Milestone: Jython 2.7.2
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: stefan.richthofer Nosy List: stefan.richthofer, zyasoft
Priority: normal Keywords:

Created on 2017-06-28.16:10:38 by stefan.richthofer, last changed 2017-09-05.20:53:29 by zyasoft.

msg11450 (view) Author: Stefan Richthofer (stefan.richthofer) Date: 2017-06-28.16:10:36
I stumbled upon this blogpost ( that points out missing support for multiprocessing. After some investigation (one has to add '/usr/lib/python2.7/lib-dynload' and '/usr/lib/python2.7' to sys.path), I found that Jython+JyNI is actually capable of importing CPython's
However, "import multiprocessing" fails with
ImportError: cannot import name _args_from_interpreter_flags

I have not looked what it takes to implement it in Jython yet.
msg11473 (view) Author: Stefan Richthofer (stefan.richthofer) Date: 2017-07-10.22:35:07
Fixed as of by adding subprocess._args_from_interpreter_flags from CPython 2.7.13.

multiprocessing does not yet work with JyNI though, but due to different issues.
Date User Action Args
2017-09-05 20:53:29zyasoftsetstatus: pending -> closed
2017-07-10 22:35:08stefan.richthofersetstatus: open -> pending
assignee: stefan.richthofer
resolution: fixed
messages: + msg11473
2017-06-28 16:10:38stefan.richthofercreate