[issue18999] Support different contexts in multiprocessing

2020-04-27 Thread STINNER Victor
STINNER Victor added the comment: It seems like this issue has been fixed, so I set its status to closed. -- nosy: +vstinner status: open -> closed ___ Python tracker ___

[issue18999] Support different contexts in multiprocessing

2014-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset b941a320601a by R David Murray in branch 'default': whatsnew: multiprocessing start methods and context (#8713 and #18999) http://hg.python.org/cpython/rev/b941a320601a -- ___ Python tracker

[issue18999] Support different contexts in multiprocessing

2013-10-19 Thread Lars Buitinck
Lars Buitinck added the comment: Strange, I can't actually get it to work: from multiprocessing import Pool, get_context forkserver = get_context('forkserver') Pool(context=forkserver) Traceback (most recent call last): File stdin, line 1, in module TypeError: Pool() got an unexpected

[issue18999] Support different contexts in multiprocessing

2013-10-19 Thread Lars Buitinck
Lars Buitinck added the comment: I also tried from multiprocessing.pool import Pool but that died with ImportError: cannot import name get_context -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999

[issue18999] Support different contexts in multiprocessing

2013-10-19 Thread Richard Oudkerk
Richard Oudkerk added the comment: I guess this should be clarified in the docs, but multiprocessing.pool.Pool is a *class* whose constructor takes a context argument, where as multiprocessing.Pool() is a *bound method* of the default context. (In previous versions multiprocessing.Pool was a

[issue18999] Support different contexts in multiprocessing

2013-10-16 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - pending title: Robustness issues in multiprocessing.{get,set}_start_method - Support different contexts in multiprocessing type: behavior - enhancement

[issue18999] Support different contexts in multiprocessing

2013-10-16 Thread Lars Buitinck
Lars Buitinck added the comment: Thanks, much better than my solution! -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___

[issue18999] Support different contexts in multiprocessing

2013-10-16 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18999 ___ ___