summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10332: multiprocessing: fix a race condition when a Pool is closedCharles-François Natali2011-10-241-0/+14
|\ | | | | | | before all tasks have completed.
| * Issue #10332: multiprocessing: fix a race condition when a Pool is closedCharles-François Natali2011-10-241-0/+14
| | | | | | | | before all tasks have completed.
* | Issue #12981: test_multiprocessing: catch ImportError when importingCharles-François Natali2011-09-211-0/+1
|\ \ | |/ | | | | | | multiprocessing.reduction, which may not be available (e.g. if the OS doesn't support FD passing over Unix domain sockets).
| * Issue #12981: test_multiprocessing: catch ImportError when importingCharles-François Natali2011-09-211-2/+13
| | | | | | | | | | multiprocessing.reduction, which may not be available (e.g. if the OS doesn't support FD passing over Unix domain sockets).
* | Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵Jesus Cea2011-09-211-0/+17
|\ \ | |/ | | | | was actually received
| * Close #13022: _multiprocessing.recvfd() doesn't check that file descriptor ↵Jesus Cea2011-09-211-0/+17
| | | | | | | | was actually received
* | Merge 3.2: test_multiprocessing removes temporary filesVictor Stinner2011-09-201-0/+2
|\ \ | |/
| * test_multiprocessing removes temporary filesVictor Stinner2011-09-201-0/+2
| |
* | Issue #12981: test_multiprocessing: catch ImportError when importingCharles-François Natali2011-09-201-2/+12
| | | | | | | | | | multiprocessing.reduction, which may not be available (e.g. if the OS doesn't support FD passing over Unix domain sockets).
* | Fix issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-2/+0
|\ \ | |/
| * Fix issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-2/+0
| |
* | Close issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-3/+27
|\ \ | |/
| * Close issue #12948: multiprocessing test failures can hang the buildbotsJesus Cea2011-09-091-3/+27
| |
* | Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-1/+81
|\ \ | |/ | | | | Also added some tests.
| * Issue #11657: Fix sending file descriptors over 255 over a multiprocessing Pipe.Antoine Pitrou2011-08-231-1/+81
| | | | | | | | Also added some tests.
* | Merge issue #12352: Fix a deadlock in multiprocessing.Heap when a block isCharles-François Natali2011-07-021-0/+24
|\ \ | |/ | | | | 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-0/+24
| |\ | | | | | | | | | 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-0/+24
| | | | | | | | | | | | 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/+3
|\ \ \ | |/ / | | | | | | number of processes if negative or null.
| * | Issue #12285: multiprocessing.Pool() raises a ValueError if the number ofVictor Stinner2011-06-201-0/+3
| | | | | | | | | | | | processes if negative or null.
* | | Issue #12040: Expose a new attribute `sentinel` on instances ofAntoine Pitrou2011-06-061-0/+37
| | | | | | | | | | | | | | | :class:`multiprocessing.Process`. Also, fix Process.join() to not use polling anymore, when given a timeout.
* | | Issue #11743: Rewrite multiprocessing connection classes in pure Python.Antoine Pitrou2011-05-091-3/+9
| | |
* | | Issue #11790: Fix sporadic failures in ↵Antoine Pitrou2011-04-161-1/+7
|\ \ \ | |/ / | | | | | | test_multiprocessing.WithProcessesTestCondition.
| * | Issue #11790: Fix sporadic failures in ↵Antoine Pitrou2011-04-161-1/+7
| | | | | | | | | | | | test_multiprocessing.WithProcessesTestCondition.
* | | Issue #11766: increase countdown waiting for a pool of processes to startAntoine Pitrou2011-04-061-1/+2
|\ \ \ | |/ / | | | | | | up. Hopefully fixes transient buildbot failures.
| * | Issue #11766: increase countdown waiting for a pool of processes to startAntoine Pitrou2011-04-061-1/+2
| | | | | | | | | | | | up. Hopefully fixes transient buildbot failures.
* | | Try to fix sporadic test_multiprocessing failureAntoine Pitrou2011-04-051-1/+11
|\ \ \ | |/ /
| * | Try to fix sporadic test_multiprocessing failureAntoine Pitrou2011-04-051-1/+11
| |\ \ | | |/
| | * Try to fix sporadic test_multiprocessing failureAntoine Pitrou2011-04-051-1/+11
| | |
* | | Merge #11675Mark Dickinson2011-03-261-0/+15
|\ \ \ | |/ /
| * | Merge #11675Mark Dickinson2011-03-261-0/+15
| |\ \ | | |/
| | * Issue #11675: Zero-out newly-created multiprocessing.[Raw]Array objects.Mark Dickinson2011-03-261-0/+15
| | |
* | | Merge 3.2Victor Stinner2011-03-241-1/+1
|\ \ \ | |/ /
| * | Merge 3.1Victor Stinner2011-03-241-1/+1
| |\ \ | | |/
| | * test_multiprocessing: use assertLess() to see the timeout on errorVictor Stinner2011-03-241-1/+1
| | |
* | | Relax timing check (seen a buildbot failure on this)Antoine Pitrou2011-03-211-1/+1
|\ \ \ | |/ /
| * | Relax timing check (seen a buildbot failure on this)Antoine Pitrou2011-03-211-1/+1
| | |
* | | #11565: Merge with 3.2.Ezio Melotti2011-03-161-2/+2
|\ \ \ | |/ /
| * | #11565: Merge with 3.1.Ezio Melotti2011-03-161-2/+2
| |\ \ | | |/
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-161-2/+2
| | |
| | * Merged revisions 86694 via svnmerge fromAntoine Pitrou2010-11-221-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86694 | antoine.pitrou | 2010-11-22 17:26:21 +0100 (lun., 22 nov. 2010) | 3 lines Fix test_multiprocessing when ctypes isn't available ........
| | * Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-211-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
| | * Merged revisions 86130 via svnmerge fromAntoine Pitrou2010-11-021-24/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86130 | antoine.pitrou | 2010-11-03 00:50:11 +0100 (mer., 03 nov. 2010) | 3 lines Issue #10173: test_multiprocessing shouldn't pickle TestCase instances ........
| | * Merged revisions 86077 via svnmerge fromBrian Curtin2010-11-011-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 85299 via svnmerge fromBrian Curtin2010-10-071-21/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85299 | brian.curtin | 2010-10-06 20:12:19 -0500 (Wed, 06 Oct 2010) | 9 lines Fix #8584. Fix the skipping of a number of tests due to incorrect importing. This undoes a previous attempt to fix some of the skips. Value and copy come from sharedctypes rather than plain ctypes, and the test skipping is then done at the class level rather than test-by-test. There are zero skipped tests after the fix. ........
| | * Merged revisions ↵Florent Xicluna2010-08-141-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 83212,83829,83833,83838-83839,83878,84019,84025,84028,84032,84036 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83212 | florent.xicluna | 2010-07-28 18:39:41 +0200 (mer., 28 juil. 2010) | 2 lines Syntax cleanup. ........ r83829 | florent.xicluna | 2010-08-08 18:16:07 +0200 (dim., 08 août 2010) | 2 lines Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments. ........ r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608. ........ r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines Typo. ........ r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines Issue #7564: Skip test_ioctl if another process is attached to /dev/tty. ........ r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest). ........ r84019 | florent.xicluna | 2010-08-14 17:56:42 +0200 (sam., 14 août 2010) | 11 lines Merged manually from 2.7 branch to 3.x trunk. ------------------------------------------------------------------------ r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010) Try to turn some buildbots green by allowing test_multiprocessing to pass even if it hits the sys.exc_clear code in the threading module, and improve the test coverage by making the ctypes dependencies a bit more granular (two of the cited ctypes objects don't exist on my system) ------------------------------------------------------------------------ ........ r84025 | florent.xicluna | 2010-08-14 18:56:27 +0200 (sam., 14 août 2010) | 1 line List Misc/python-config.in in Misc/README. Fix few typos. ........ r84028 | florent.xicluna | 2010-08-14 19:02:49 +0200 (sam., 14 août 2010) | 1 line Fix order. ........ r84032 | florent.xicluna | 2010-08-14 19:15:31 +0200 (sam., 14 août 2010) | 1 line Convert to spaces. ........ r84036 | florent.xicluna | 2010-08-14 20:03:19 +0200 (sam., 14 août 2010) | 1 line Remove bad merge (from svnmerge r82301) ........
| | * Merged revisions 80671 via svnmerge fromAntoine Pitrou2010-04-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r80671 | antoine.pitrou | 2010-05-01 01:20:15 +0200 (sam., 01 mai 2010) | 10 lines Merged revisions 80669 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r80669 | antoine.pitrou | 2010-05-01 01:08:48 +0200 (sam., 01 mai 2010) | 4 lines Issue #8576: Remove use of find_unused_port() in test_smtplib and test_multiprocessing. Patch by Paul Moore. ........ ................
| | * Note: only the relevant parts of r79474 are merged.Florent Xicluna2010-03-281-31/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 76843 via svnmerge fromR. David Murray2009-12-141-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76843 | r.david.murray | 2009-12-14 17:45:15 -0500 (Mon, 14 Dec 2009) | 10 lines Merged revisions 76840 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r76840 | r.david.murray | 2009-12-14 16:57:39 -0500 (Mon, 14 Dec 2009) | 3 lines Issue #7498: make test_multiprocessing use test_support.find_unused_port instead of a hard coded port number in test_rapid_restart. ........ ................
| | * Merged revisions 74055 via svnmerge fromGeorg Brandl2009-08-131-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k (Selected changes only.) ................ r74055 | alexandre.vassalotti | 2009-07-17 11:18:18 +0200 (Fr, 17 Jul 2009) | 55 lines Merged revisions 73995,74002,74005,74007-74008,74011,74019-74023 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r74008 | benjamin.peterson | 2009-07-14 20:46:42 -0400 (Tue, 14 Jul 2009) | 1 line update year ........ r74011 | ezio.melotti | 2009-07-15 13:07:04 -0400 (Wed, 15 Jul 2009) | 1 line methods' names pep8ification ........ r74019 | amaury.forgeotdarc | 2009-07-15 17:29:27 -0400 (Wed, 15 Jul 2009) | 2 lines #6076 Add a title to the IDLE Preferences window. ........ r74020 | georg.brandl | 2009-07-16 03:18:07 -0400 (Thu, 16 Jul 2009) | 1 line #5910: fix kqueue for calls with more than one event. ........ r74021 | georg.brandl | 2009-07-16 03:33:04 -0400 (Thu, 16 Jul 2009) | 1 line #6486: start with built in functions rather than "built in objects". ........ r74022 | georg.brandl | 2009-07-16 03:38:35 -0400 (Thu, 16 Jul 2009) | 1 line #6481: fix typo in os.system() replacement. ........ r74023 | jesse.noller | 2009-07-16 10:23:04 -0400 (Thu, 16 Jul 2009) | 1 line Issue 6433: multiprocessing.pool.map hangs on empty list ........ ................