Changes by Kristján Valur Jónsson krist...@ccpgames.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
___
Kristján Valur Jónsson added the comment:
Reopening this since this it needs backporting to 2.7
--
nosy: +kristjan.jonsson
status: closed - open
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
Roundup Robot added the comment:
New changeset 37f52e71f4cd by Kristján Valur Jónsson in branch '2.7':
Issue #12098: multiprocessing on Windows now starts child processes
http://hg.python.org/cpython/rev/37f52e71f4cd
--
___
Python tracker
R. David Murray added the comment:
Early indications are that this backport broke test running on the buildbots:
http://buildbot.python.org/all/builders/AMD64%20OpenIndiana%202.7/builds/1614
--
nosy: +r.david.murray
___
Python tracker
Kristján Valur Jónsson added the comment:
The buildbots page has been down for a while now, I can't see what's going on.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
Roundup Robot added the comment:
New changeset b0b507268d7c by Kristján Valur Jónsson in branch '2.7':
Issue #12098 : Fix a missing import in the unittests.
http://hg.python.org/cpython/rev/b0b507268d7c
--
___
Python tracker rep...@bugs.python.org
Changes by Richard Oudkerk shibt...@gmail.com:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 347735ec92eb by Richard Oudkerk in branch 'default':
#12098: Make multiprocessing's child processes inherit sys.flags on Windows
http://hg.python.org/cpython/rev/347735ec92eb
--
nosy: +python-dev
Richard Oudkerk shibt...@gmail.com added the comment:
Failure to build _multiprocessing will mean that multiprocessing cannot
be imported. So if the function goes somewhere in multiprocessing then
it makes running the test suite with multiple processes dependent on the
building of
Antoine Pitrou pit...@free.fr added the comment:
Since multiprocessing also depends on threading, the change has broken
the AMD64 Fedora without threads 3.x buildbot. I had not realized
that the buildbots ran the test suite using multiple processes.
They don't. It's only the import failing,
Antoine Pitrou pit...@free.fr added the comment:
Since multiprocessing also depends on threading, the change has broken
the AMD64 Fedora without threads 3.x buildbot. I had not realized
that the buildbots ran the test suite using multiple processes.
They don't. It's only the import
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2034b3de1144 by Antoine Pitrou in branch 'default':
Move private function _args_from_interpreter_flags() to subprocess.py, so
http://hg.python.org/cpython/rev/2034b3de1144
--
Richard Oudkerk shibt...@gmail.com added the comment:
- the function generating the flags should be exported (with a private
name), so that it can be reused by Lib/test/[test_]support.py. Duplicate
code is error-prone, especially when enumerating command-line flags,
attribute names...
Antoine Pitrou pit...@free.fr added the comment:
Failure to build _multiprocessing will mean that multiprocessing cannot
be imported. So if the function goes somewhere in multiprocessing then
it makes running the test suite with multiple processes dependent on the
building of
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +sbt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
___
Python-bugs-list mailing list
Antoine Pitrou pit...@free.fr added the comment:
Ok, thanks for the patches. Some further comments:
- the function generating the flags should be exported (with a private name),
so that it can be reused by Lib/test/[test_]support.py. Duplicate code is
error-prone, especially when enumerating
Antoine Pitrou pit...@free.fr added the comment:
Thanks for the patches.
One comment: I'm not sure a frozen interpreter can take regular Python flags.
As for the test, you could run a function returning sys.flags from the child to
the parent, and check that the returned value is equal to the
Changes by Sergey Mezentsev theb...@yandex.ru:
Removed file: http://bugs.python.org/file22021/Issue12098.branch-2.6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
Changes by Sergey Mezentsev theb...@yandex.ru:
Removed file: http://bugs.python.org/file22022/Issue12098.branch-default.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
Changes by Sergey Mezentsev theb...@yandex.ru:
Added file: http://bugs.python.org/file22041/Issue12098.branch-2.6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
Changes by Sergey Mezentsev theb...@yandex.ru:
Added file: http://bugs.python.org/file22042/Issue12098.branch-default.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
Sergey Mezentsev theb...@yandex.ru added the comment:
I updated the patch.
Added a test and remove arguments for frozen interpreter.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
STINNER Victor victor.stin...@haypocalc.com added the comment:
I think that the problem is in Popen.get_command_line() of
multiprocessing.forking.
There are other options changing Python behaviour: -b, -B, -E, -u, etc.
--
___
Python tracker
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
--
nosy: +jnoller
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
___
Python-bugs-list
Antoine Pitrou pit...@free.fr added the comment:
We already have some logic for that:
http://hg.python.org/cpython/file/default/Lib/test/support.py#l1398
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
Sergey Mezentsev theb...@yandex.ru added the comment:
I create patch for Popen.get_command_line() ('2.6' and 'default' branches).
I don't know how to write the test. The sys.flags structure are read only.
--
keywords: +patch
Added file:
Changes by Sergey Mezentsev theb...@yandex.ru:
Added file: http://bugs.python.org/file22022/Issue12098.branch-default.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
title: Child process running as debug - Child process running as debug on
Windows
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
Changes by Antoine Pitrou pit...@free.fr:
--
type: behavior - feature request
versions: +Python 3.3 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12098
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This happens only on Windows, where multiprocessing has to spawn a new
intepreter; the -O parameter is certainly omitted.
Unix platforms fork() the current interpreter with all its state and don't have
this issue.
--
nosy:
30 matches
Mail list logo