summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing
Commit message (Collapse)AuthorAgeFilesLines
* Issue #13215: multiprocessing.Connection: don't hammer the remote end withCharles-François Natali2011-11-191-15/+1
| | | | retries in case of ECONNREFUSED.
* Remove unused or redundant imports in concurrent.futures and multiprocessing.Florent Xicluna2011-11-119-24/+5
|
* Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitelyAntoine Pitrou2011-11-091-1/+5
|\ | | | | | | when called with a timeout. Patch by Arnaud Ysmal.
| * Issue #13373: multiprocessing.Queue.get() could sometimes block indefinitelyAntoine Pitrou2011-11-091-1/+5
| | | | | | | | when called with a timeout. Patch by Arnaud Ysmal.
* | Merge 3.2Florent Xicluna2011-10-282-3/+3
|\ \ | |/
| * Closes #13258: Use callable() built-in in the standard library.Florent Xicluna2011-10-282-3/+3
| |
* | Issue #10332: multiprocessing: fix a race condition when a Pool is closedCharles-François Natali2011-10-241-1/+5
|\ \ | |/ | | | | before all tasks have completed.
| * Issue #10332: multiprocessing: fix a race condition when a Pool is closedCharles-François Natali2011-10-241-1/+5
| | | | | | | | before all tasks have completed.
* | Use InterruptedError instead of checking for EINTRAntoine Pitrou2011-10-231-6/+3
| |
* | Merge with 3.2.Ezio Melotti2011-10-191-1/+1
|\ \ | |/
| * Remove duplication.Ezio Melotti2011-10-191-1/+1
| |
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-121-4/+4
| |
* | Issue #12981: rewrite multiprocessing_{sendfd,recvfd} in Python.Charles-François Natali2011-09-241-3/+18
| |
* | Issue #12996: multiprocessing.connection: transmit the header in network byteCharles-François Natali2011-09-201-2/+2
| | | | | | | | order (endpoints machines can have different endianness).
* | Remove indirection in threading (issue #10968).Éric Araujo2011-07-271-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | The public names (Thread, Condition, etc.) used to be factory functions returning instances of hidden classes (_Thread, _Condition, etc.), because (if Guido recalls correctly) this code pre-dates the ability to subclass extension types. It is now possible to inherit from Thread and other classes, without having to import the private underscored names like multiprocessing did. A doc update will follow: a patch is under discussion on the issue.
* | Fix test_multiprocessing failure under Windows.Antoine Pitrou2011-07-201-2/+2
| | | | | | | | (followup to dfaa3a149a92)
* | Silence spurious "broken pipe" tracebacks when shutting down a ↵Antoine Pitrou2011-07-151-2/+7
| | | | | | | | ProcessPoolExecutor.
* | Issue #12573: Add resource checks for dangling Thread and Process objects.Antoine Pitrou2011-07-151-0/+5
|\ \ | |/
| * Issue #12573: Add resource checks for dangling Thread and Process objects.Antoine Pitrou2011-07-151-0/+5
| |
* | Add commentAntoine Pitrou2011-07-081-0/+2
| |
* | Rebind locally the globals which can be looked up at shutdownAntoine Pitrou2011-07-082-7/+11
| | | | | | | | (to avoid the warnings seen on a buildbot)
* | Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block isCharles-François Natali2011-07-021-6/+33
|\ \ | |/ | | | | freed by the garbage collector while the Heap lock is held.
| * Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block isCharles-François Natali2011-07-021-6/+33
| |\ | | | | | | | | | freed by the garbage collector while the Heap lock is held.
| | * Issue #12352: Fix a deadlock in multiprocessing.Heap when a block is freed byCharles-François Natali2011-07-021-6/+33
| | | | | | | | | | | | the garbage collector while the Heap lock is held.
* | | (merge 3.2) Issue #12285: multiprocessing.Pool() raises a ValueError if theVictor Stinner2011-06-201-0/+2
|\ \ \ | |/ / | | | | | | number of processes if negative or null.
| * | Issue #12285: multiprocessing.Pool() raises a ValueError if the number ofVictor Stinner2011-06-201-0/+2
| | | | | | | | | | | | processes if negative or null.
* | | (Merge 3.2) Issue #12310: finalize the old process after _run_after_forkers()Victor Stinner2011-06-171-2/+8
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | multiprocessing: Process._bootstrap() keeps a reference to the old process to delay its finalization until after _run_after_forkers() as been executed. This change should fix a crash on Mac OS X Tiger when a lock is released after a fork. Patch written by Charles-François Nataliv and Antoine Pitrou.
| * | Issue #12310: finalize the old process after _run_after_forkers()Victor Stinner2011-06-171-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | multiprocessing: Process._bootstrap() keeps a reference to the old process to delay its finalization until after _run_after_forkers() as been executed. This change should fix a crash on Mac OS X Tiger when a lock is released after a fork. Patch written by Charles-François Nataliv and Antoine Pitrou.
* | | Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killedAntoine Pitrou2011-06-083-55/+101
| | | | | | | | | | | | | | | children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock.
* | | Whitespace normalizationAntoine Pitrou2011-06-061-1/+0
| | |
* | | Issue #12040: Expose a new attribute `sentinel` on instances ofAntoine Pitrou2011-06-063-14/+53
| | | | | | | | | | | | | | | :class:`multiprocessing.Process`. Also, fix Process.join() to not use polling anymore, when given a timeout.
* | | os.dup()-then-close() can be replaced with detach()Antoine Pitrou2011-05-091-4/+2
| | |
* | | Issue #11743: Rewrite multiprocessing connection classes in pure Python.Antoine Pitrou2011-05-093-22/+311
| | |
* | | Fix #5162. Allow child spawning from Windows services (via pywin32).brian.curtin2011-04-111-2/+3
|\ \ \ | |/ /
| * | Fix #5162. Allow child spawning from Windows services (via pywin32).brian.curtin2011-04-111-2/+3
| |\ \ | | |/
| | * Fix #5162. Allow child spawning from Windows services (via pywin32).brian.curtin2011-04-111-2/+3
| | |
* | | Merge from 3.2 (issue #11814, issue #8428)Antoine Pitrou2011-04-101-3/+8
|\ \ \ | |/ /
| * | Issue #11814: Fix likely typo in multiprocessing.Pool._terminate().Antoine Pitrou2011-04-101-1/+1
| | |
| * | Issue #8428: Fix a race condition in multiprocessing.Pool when terminatingAntoine Pitrou2011-04-101-2/+7
| | | | | | | | | | | | | | | worker processes: new processes would be spawned while the pool is being shut down. Patch by Charles-François Natali.
* | | Merge #11675Mark Dickinson2011-03-261-1/+3
|\ \ \ | |/ /
| * | Merge #11675Mark Dickinson2011-03-261-1/+3
| |\ \ | | |/
| | * Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.Mark Dickinson2011-03-261-1/+3
| | |
* | | Merge with 3.2Ronald Oussoren2011-03-161-1/+4
|\ \ \ | |/ /
| * | Merge with 3.1Ronald Oussoren2011-03-161-1/+4
| |\ \ | | |/
| | * Issue #11569: use absolute path to the sysctl command in multiprocessing toRonald Oussoren2011-03-161-1/+4
| | | | | | | | | | | | | | | ensure that it will be found regardless of the shell PATH. This ensures that multiprocessing.cpu_count works on default installs of MacOSX.
| | * Merged revisions 87225 via svnmerge fromR. David Murray2010-12-1414-13/+352
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87225 | r.david.murray | 2010-12-13 20:38:16 -0500 (Mon, 13 Dec 2010) | 2 lines 9162: fix license in multiprocessing files ........
| | * Merged revisions 86077 via svnmerge fromBrian Curtin2010-11-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86077 | brian.curtin | 2010-11-01 00:10:44 -0500 (Mon, 01 Nov 2010) | 3 lines Fix some ResourceErrors. Use a context manager for os.popen and explicitly close a socket. ........
| | * Merged revisions 83722 via svnmerge fromBrian Curtin2010-08-044-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83722 | brian.curtin | 2010-08-04 10:47:24 -0500 (Wed, 04 Aug 2010) | 7 lines Fix #9513 to remove relative imports from multiprocessing. The test suite currently skips test_multiprocessing on Windows because it fails on finding _multiprocessing in several win32-specific blocks. Removing the relative import lets this through and allows the test to run (and pass). ........
| | * Note: only the relevant parts of r79474 are merged.Florent Xicluna2010-03-283-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merged revisions 78793,78798-78799,78977,79095,79196,79474 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r78793 | florent.xicluna | 2010-03-08 13:25:35 +0100 (lun, 08 mar 2010) | 2 lines Fix macpath to deal with bytes ................ r78798 | florent.xicluna | 2010-03-08 14:32:17 +0100 (lun, 08 mar 2010) | 18 lines Merged revisions 78777,78787,78790 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78777 | florent.xicluna | 2010-03-08 00:49:03 +0100 (lun, 08 mar 2010) | 4 lines Backport the Popen.poll() protection from subprocess to multiprocessing. See #1731717. It should fix transient failures on test_multiprocessing. ........ r78787 | florent.xicluna | 2010-03-08 08:21:16 +0100 (lun, 08 mar 2010) | 2 lines Don't fail on a debug() statement, if the worker PID is (still) None. ........ r78790 | florent.xicluna | 2010-03-08 12:01:39 +0100 (lun, 08 mar 2010) | 2 lines On finalize, don't try to join not started process. ........ ................ r78799 | florent.xicluna | 2010-03-08 15:44:41 +0100 (lun, 08 mar 2010) | 2 lines Fix ntpath abspath to deal with bytes. ................ r78977 | florent.xicluna | 2010-03-15 14:14:39 +0100 (lun, 15 mar 2010) | 2 lines Fix \xhh specs, #1889. (an oversight of r60193, r60210). ................ r79095 | florent.xicluna | 2010-03-19 15:40:31 +0100 (ven, 19 mar 2010) | 2 lines Rename test.test_support to test.support for 3.x. ................ r79196 | florent.xicluna | 2010-03-21 13:29:50 +0100 (dim, 21 mar 2010) | 9 lines Merged revisions 79195 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79195 | florent.xicluna | 2010-03-21 13:27:20 +0100 (dim, 21 mar 2010) | 2 lines Issue #8179: Fix macpath.realpath() on a non-existing path. ........ ................ r79474 | florent.xicluna | 2010-03-28 01:25:02 +0100 (dim, 28 mar 2010) | 33 lines Merged revisions 79297,79310,79382,79425-79427,79450 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79297 | florent.xicluna | 2010-03-22 18:18:18 +0100 (lun, 22 mar 2010) | 2 lines #7668: Fix test_httpservers failure when sys.executable contains non-ASCII bytes. ........ r79310 | florent.xicluna | 2010-03-22 23:52:11 +0100 (lun, 22 mar 2010) | 2 lines Issue #8205: Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only). ........ r79382 | florent.xicluna | 2010-03-24 20:33:25 +0100 (mer, 24 mar 2010) | 2 lines Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available. ........ r79425 | florent.xicluna | 2010-03-25 21:32:07 +0100 (jeu, 25 mar 2010) | 2 lines Syntax cleanup `== None` -> `is None` ........ r79426 | florent.xicluna | 2010-03-25 21:33:49 +0100 (jeu, 25 mar 2010) | 2 lines #8207: Fix test_pep277 on OS X ........ r79427 | florent.xicluna | 2010-03-25 21:39:10 +0100 (jeu, 25 mar 2010) | 2 lines Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest" ........ r79450 | florent.xicluna | 2010-03-26 20:32:44 +0100 (ven, 26 mar 2010) | 2 lines Ensure that the failed or unexpected tests are sorted before printing. ........ ................
| | * Merged revisions 76247 via svnmerge fromAntoine Pitrou2009-11-131-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76247 | antoine.pitrou | 2009-11-13 23:35:18 +0100 (ven., 13 nov. 2009) | 12 lines Merged revisions 76245 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76245 | antoine.pitrou | 2009-11-13 23:31:18 +0100 (ven., 13 nov. 2009) | 6 lines 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. ........ ................