Commit Graph

49 Commits

Author SHA1 Message Date
Florent Xicluna d034b32f57 On finalize, don't try to join not started process. 2010-03-08 11:01:39 +00:00
Florent Xicluna 52584779a6 Don't fail on a debug() statement, if the worker PID is (still) None. 2010-03-08 07:21:16 +00:00
Florent Xicluna 16cd888dd9 Backport the Popen.poll() protection from subprocess to multiprocessing. See #1731717.
It should fix transient failures on test_multiprocessing.
2010-03-07 23:49:03 +00:00
Florent Xicluna 3bc5cb7e0d #7805: wait until all workers are started before collecting their PIDs 2010-03-04 15:58:54 +00:00
Jesse Noller 654ade3e6a Issue #6963: Added maxtasksperchild argument to multiprocessing.Pool 2010-01-27 03:05:57 +00:00
Benjamin Peterson 27cae34bd0 allow Process name to be unicode #7571 2009-12-24 15:19:40 +00:00
Jesse Noller 7bdd8d946b revert unintended change to multiprocessing/queues.py 2009-11-21 14:06:24 +00:00
Jesse Noller 6c3767445c issue5738: The distribution example was confusing, and out of date. It's too large to include inline in the docs as well. It belongs in an addons module outside the stdlib. Removing. 2009-11-21 14:01:56 +00:00
Antoine Pitrou c562ca4625 Issue #7318: multiprocessing now uses a timeout when it fails to establish
a connection with another process, rather than looping endlessly. The
default timeout is 20 seconds, which should be amply sufficient for
local connections.
2009-11-13 22:31:18 +00:00
Georg Brandl c40e60e5e5 #6938: "ident" is always a string, so use a format code which works. 2009-09-18 09:18:27 +00:00
Jesse Noller 8497efeb40 Fix issue 4660: spurious task_done errors in multiprocessing, remove doc note for from_address 2009-08-06 02:05:56 +00:00
Jesse Noller 7530e47948 Issue 6433: multiprocessing.pool.map hangs on empty list 2009-07-16 14:23:04 +00:00
Jesse Noller 1b90efbdc5 Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes 2009-06-30 17:11:52 +00:00
Georg Brandl 0c6d166479 Typo fix. 2009-06-08 18:41:36 +00:00
Benjamin Peterson eb88cb8cd4 __enter__ and __exit__ must be on the class 2009-05-31 15:00:27 +00:00
Jesse Noller 7152f6d915 Add custom initializer argument to multiprocess.Manager*, courtesy of lekma 2009-04-02 05:17:26 +00:00
Jesse Noller 02cb0eb231 Fix multiprocessing.event to match the new threading.Event API 2009-04-01 03:45:50 +00:00
Jesse Noller b2898e0acb add JoinableQueue to __all__ 2009-03-31 03:31:16 +00:00
Jesse Noller 459a648166 Issue 5177: use socket.SO_REUSEADDR on multiprocessing SocketManager sockets 2009-03-30 15:50:42 +00:00
Jesse Noller b5a4b0abed Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels 2009-01-25 03:36:13 +00:00
Jesse Noller 7314b38168 Issue 5009: multiprocessing: failure in manager._debug_info() 2009-01-21 02:08:17 +00:00
Jesse Noller 438195fc11 issue 4301: patch logging to add processName, remove the old _check_logger_class code 2009-01-18 21:04:36 +00:00
Jesse Noller 6ab22154dd Resolve issue 4449: AssertionError in mp_benchmarks.py 2009-01-18 02:45:38 +00:00
Jesse Noller 1f8b49f517 issue4238: bsd support for cpu_count 2008-11-28 18:59:35 +00:00
Georg Brandl 5ecd7452ec Fix typo. 2008-11-22 08:45:33 +00:00
Jesse Noller 37040cdace issue3770: if SEM_OPEN is 0, disable the mp.synchronize module, rev. Nick Coghlan, Damien Miller 2008-09-30 00:15:45 +00:00
Benjamin Peterson ffb3cca39b use the new threading properties for multiprocessing (reviewed by Jesse #3927) 2008-09-22 21:11:43 +00:00
Benjamin Peterson f7feaec16c revert r66114 for Jesse 2008-09-01 17:10:46 +00:00
Jesse Noller 27cc8e1dd2 Submit Nick's patch for issue 3589, reviewed by jnoller 2008-09-01 16:47:25 +00:00
Neal Norwitz 0c519b3a5e Fix problem reported by pychecker where AuthenticationError wasn't imported.
Add some test coverage to this code.  More tests should be added (TODO added).

R=Brett
TESTED=./python -E -tt ./Lib/test/regrtest.py test_multiprocessing
2008-08-25 01:50:24 +00:00
Jesse Noller 5bc9f4c09c issue3352: clean up the multiprocessing API to remove many get_/set_ methods and convert them to properties. Update the docs and the examples included. 2008-08-19 19:06:19 +00:00
Benjamin Peterson 82aa201022 patch up multiprocessing until it's API can be changed too 2008-08-18 18:31:58 +00:00
Benjamin Peterson a9b2222de4 change a few uses of the threading APIs 2008-08-18 18:01:43 +00:00
Jesse Noller 5d35373706 Fix the connection refused error part of issue 3419, use errno module instead of a static list of possible connection refused messages. 2008-08-11 19:00:15 +00:00
Jesse Noller f8d62d23e9 Remove the fqdn call for issue 3270 2008-08-11 14:28:07 +00:00
Mark Dickinson 9752195a71 Docstring typo 2008-08-06 20:12:30 +00:00
Jesse Noller 13e9d582fd Apply Amaury's patch to multiprocessing for issue 3125, removes the copy_reg and replaces it with ForkingPickler.register(), which should resolve the conflict with the global registry/ctypes 2008-07-16 14:32:36 +00:00
Jesse Noller 9949d6ed4b Revert 3270 patch: self._address is in pretty widespread use, need to revisit 2008-07-15 18:29:18 +00:00
Jesse Noller 9ace15ca25 multiprocessing/connection.py patch to remove fqdn oddness for issue 3270 2008-07-15 13:47:33 +00:00
Benjamin Peterson 80821f7cf4 fix isSet in _exposed 2008-06-26 21:29:19 +00:00
Benjamin Peterson 0adfd93f6f use the new API 2008-06-26 21:24:35 +00:00
Benjamin Peterson 264800822a get rid of 2.6/3.0 switch statements in multiprocessing 2008-06-25 12:44:29 +00:00
Benjamin Peterson b09c9396cd use byte literals in multiprocessing 2008-06-25 12:39:05 +00:00
Benjamin Peterson aa164e1bd3 remove bytes alias in multiprocessing 2008-06-25 03:09:05 +00:00
Benjamin Peterson 7f03ea77bf darn! I converted half of the files the wrong way. 2008-06-13 19:20:48 +00:00
Benjamin Peterson dfd79494ce convert multiprocessing to unix line endings 2008-06-13 19:13:39 +00:00
Benjamin Peterson 0fbcf69455 give the threading API PEP 8 names 2008-06-11 17:27:50 +00:00
Benjamin Peterson e605e4f09a fix import of multiprocessing by juggling imports 2008-06-11 12:26:31 +00:00
Benjamin Peterson 190d56e009 add the multiprocessing package to fulfill PEP 371 2008-06-11 02:40:25 +00:00