Can multiprocessing.Process() use a different version of the interpreter?
Robert Kern
robert.kern at gmail.com
Mon Oct 4 13:57:43 EDT 2010
On 10/4/10 12:43 PM, Scott Pigman wrote:
> On Oct 4, 1:41 pm, Scott Pigman<pigmart... at gmail.com> wrote:
>
>> _python.exe variable is built from sys.exec_prefix. So, I think that
>
> sorry, _python_exe.
Personally, I think that subclassing is cleaner, but if you must monkeypatch,
then you should monkeypatch the multiprocessing.forking._python_exe variable,
not sys.exec_prefix.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list