5458647bb867770fc3d830a618cef6994fdfac4b |
|
10-Sep-2016 |
Davin Potts <python@discontinuity.net> |
Issue #28053: Applying refactorings, docs and other cleanup to follow.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
225821c6537ec4c3b5269edabbf914527d6a7031 |
|
18-Dec-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #25899: Converted non-ASCII characters in docstrings and manpage to ASCII replacements. Original patch by Chris Angelico.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
2116b12da59f77358cc539b90f58a3cdea43c2fd |
|
10-Apr-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #23865: close() methods in multiple modules now are idempotent and more robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
|
7e7a3dba5fd4262269f713dfe21ba7e4746fc2dd |
|
10-Apr-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #23865: close() methods in multiple modules now are idempotent and more robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
4e02f8f4aec46ffba087e525188a6429a155b8f9 |
|
02-Mar-2015 |
Steve Dower <steve.dower@microsoft.com> |
Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and later
|
3f9e381030a93651a27ed4c12708fcfee1a48605 |
|
02-Mar-2015 |
Steve Dower <steve.dower@microsoft.com> |
Issue #18382: Zero-length messages are consumed by ReadFile on Windows 8 and later
/external/python/cpython3/Lib/multiprocessing/connection.py
|
6e6c59b5085668f6047eb91bd671747b13fa36d1 |
|
07-Feb-2015 |
Charles-François Natali <cf.natali@gmail.com> |
Issue #23285: PEP 475 -- Retry system calls failing with EINTR.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
b757c83ec626442a8804b9417790443bf13b4fc8 |
|
05-Dec-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
92bf919ed0da8d7f112f9659e6065976e382bae1 |
|
05-Dec-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #22581: Use more "bytes-like object" throughout the docs and comments.
|
0b87831de940a5682300d3857d47c5713be4c8a6 |
|
01-Aug-2014 |
Antoine Pitrou <solipsis@pitrou.net> |
Simplify code in multiprocessing.Connection.send_bytes(). Followup to issue #20540; patch by Serhiy.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
40470e00b539095ee576513f7a98cfda020583c3 |
|
14-Apr-2014 |
Benjamin Peterson <benjamin@python.org> |
do not generate pipe names in the temporary dir
/external/python/cpython3/Lib/multiprocessing/connection.py
|
7fa767e517882f4d3503d168d3a4d4caad317752 |
|
20-Mar-2014 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #20976: pyflakes: Remove unused imports
/external/python/cpython3/Lib/multiprocessing/connection.py
|
69b1e261fc703106b44095796d78ba6aacbbdb63 |
|
20-Mar-2014 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #20978: pyflakes: fix undefined names
/external/python/cpython3/Lib/multiprocessing/connection.py
|
0c1e31ab1ecc6a5b6662fad62e0ede1019741f6a |
|
08-Feb-2014 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a multiprocessing Connection over a TCP socket. For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message.
|
b7d6d2ac6ea4361fd72314d466029bd119ad3fea |
|
08-Feb-2014 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #20540: Fix a performance regression (vs. Python 3.2) when layering a multiprocessing Connection over a TCP socket. For small payloads, Nagle's algorithm would introduce idle delays before the entire transmission of a message.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
634919a9fa1fffe3d36b13b4248f99508b5999ed |
|
20-Nov-2013 |
Christian Heimes <christian@cheimes.de> |
Issue #17276: MD5 as default digestmod for HMAC is deprecated. The HMAC module supports digestmod names, e.g. hmac.HMAC('sha1').
/external/python/cpython3/Lib/multiprocessing/connection.py
|
45e255167eb8cc34c85439dbdc8074a9b25bec2d |
|
08-Sep-2013 |
Charles-François Natali <cf.natali@gmail.com> |
Issue #18934: Use poll/select-based selectors for multiprocessing.Connection, to avoid one extra FD per Connection.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
e241ac9283a240c902b1781ed4af6952b1f5d96e |
|
05-Sep-2013 |
Charles-François Natali <cf.natali@gmail.com> |
Issue #18934: multiprocessing: use selectors module.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
daf455554bc21b6b5df0a016ab5fa639d36cc595 |
|
28-Aug-2013 |
Victor Stinner <victor.stinner@gmail.com> |
Issue #18571: Implementation of the PEP 446: file descriptors and file handles are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
/external/python/cpython3/Lib/multiprocessing/connection.py
|
84ed9a68bd9a13252b376b21a9167dabae254325 |
|
14-Aug-2013 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #8713: Support alternative start methods in multiprocessing on Unix. See http://hg.python.org/sandbox/sbt#spawn
/external/python/cpython3/Lib/multiprocessing/connection.py
|
cd171c8e92c10d327151400fd8f16b11a4964615 |
|
04-Jul-2013 |
Brett Cannon <brett@python.org> |
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
/external/python/cpython3/Lib/multiprocessing/connection.py
|
626032ac54ab2d6a779e10fdfd6eea06e43cbcc7 |
|
01-Jul-2013 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #17097: Merge.
|
cca8c53d6aa158d3288ad462c98a1c74b24bc2dd |
|
01-Jul-2013 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #17097: Make multiprocessing ignore EINTR.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
0a140668faf18bf7f8d2ea15e57da5e2a0625292 |
|
14-Jun-2013 |
Brett Cannon <brett@python.org> |
Issue #18200: Update the stdlib (except tests) to use ModuleNotFoundError.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
308307190fa6f81c93ef9bb9d95457d14a6ca098 |
|
17-Apr-2013 |
Giampaolo Rodola' <g.rodola@gmail.com> |
Fix issue #17707: multiprocessing.Queue's get() method does not block for short timeouts.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
b38897fc91c7f4b80bc2025ade219674d7b78bf3 |
|
17-Apr-2013 |
Giampaolo Rodola' <g.rodola@gmail.com> |
Fix issue #17707: multiprocessing.Queue's get() method does not block for short timeouts.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
a655075d162b5b14677bf6620bc255f4391b151a |
|
24-Mar-2013 |
Charles-François Natali <cf.natali@gmail.com> |
Issue #17025: Add dumps() and loads() to ForkingPickler.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
67da89446a0b3f008a15e6a510925921ca6f9303 |
|
14-Jan-2013 |
Giampaolo Rodola' <g.rodola@gmail.com> |
fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895
/external/python/cpython3/Lib/multiprocessing/connection.py
|
0c8ad61c9576916c7f1e567d7a364fc7d79f8672 |
|
14-Jan-2013 |
Giampaolo Rodola' <g.rodola@gmail.com> |
fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895
/external/python/cpython3/Lib/multiprocessing/connection.py
|
0ee84e04da7883623842d67bb1b1706bfacab309 |
|
13-Jan-2013 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #16955: Fix the poll() method for multiprocessing's socket connections on Windows.
|
ed9e06cb21c4437aa87bb23c6509d3dd3274d0fc |
|
13-Jan-2013 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #16955: Fix the poll() method for multiprocessing's socket connections on Windows.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
b4f39e85f2199bb9344e9b49feed3f6a45a318de |
|
31-Dec-2012 |
Giampaolo Rodola' <g.rodola@gmail.com> |
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
|
5051ca887c82506a9dcf8b71e0e6890f9e0e1589 |
|
31-Dec-2012 |
Giampaolo Rodola' <g.rodola@gmail.com> |
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
|
5e844c8052d13202261c2eb95f07802615c66921 |
|
31-Dec-2012 |
Giampaolo Rodola' <g.rodola@gmail.com> |
Fix issue 10527: make multiprocessing use poll() instead of select() if available.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
f7a17b48d748e1835bcf9df86fb7fb318bb020f8 |
|
25-Dec-2012 |
Andrew Svetlov <andrew.svetlov@gmail.com> |
Replace IOError with OSError (#16715)
/external/python/cpython3/Lib/multiprocessing/connection.py
|
2606a6f197a49f04611cb5cb0d67404d1ab14481 |
|
19-Dec-2012 |
Andrew Svetlov <andrew.svetlov@gmail.com> |
Issue #16719: Get rid of WindowsError. Use OSError instead Patch by Serhiy Storchaka.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
b15e622bb884085a01a0095fb611005680ed68f7 |
|
27-Jul-2012 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses. Original patch by J Derek Wilson.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
4887b1c0e7a5a27a97ef2ecdae369b7d3a021f01 |
|
27-Jul-2012 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses. Original patch by J Derek Wilson.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
d69cfe88eae5b177b1aaf51c39e85fb92c34cf22 |
|
18-Jun-2012 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #15064: Implement context manager protocol for multiprocessing types
/external/python/cpython3/Lib/multiprocessing/connection.py
|
59d5404bc79beaa39c76fb26012238b26e9b0166 |
|
10-May-2012 |
Richard Oudkerk <shibturn@gmail.com> |
Issue #14753: Make multiprocessing treat negative timeouts as it did in 3.2 In Python 3.2 and earlier, Process.join() and Connection.poll() treated negative timeouts as zero timeouts. Earlier versions from the 3.3 line of development treat them as infinite timeouts. The patch reverts to the old behaviour.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
7ef909cdd7af66d63eedf68519eed146fdf5de39 |
|
05-May-2012 |
Richard Oudkerk <shibturn@gmail.com> |
Fix for issue 14725 for 3.2 branch
/external/python/cpython3/Lib/multiprocessing/connection.py
|
fdb8dcf675427dc1ed710c8e1165cc6f87655a2c |
|
05-May-2012 |
Richard Oudkerk <shibturn@gmail.com> |
Fix for Issue 14725 for 3.3 branch.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
3e268aac3b1b3c89925b59dae7a213b94bc114b8 |
|
30-Apr-2012 |
Richard Oudkerk <shibturn@gmail.com> |
Mark multiprocessing files with "Licensed to PSF under a Contributor Agreement" instead of BSD licence.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
5438ed1572f5e379cac8b85ed2226101a1bfcacc |
|
24-Apr-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #4892: multiprocessing Connections can now be transferred over multiprocessing Connections. Patch by Richard Oudkerk (sbt).
/external/python/cpython3/Lib/multiprocessing/connection.py
|
23bba4ca398ff2e096413e3bbaf9a6cdaa1d1846 |
|
18-Apr-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #11750: The Windows API functions scattered in the _subprocess and _multiprocessing.win32 modules now live in a single module "_winapi". Patch by sbt.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
df97cbe7a1866a9d16d20bed70054f344a406e08 |
|
07-Apr-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #14522: Avoid duplicating socket handles in multiprocessing.connection. Patch by sbt.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
5c73e8eaf40e092dfb3c2a92195b300afc99d2cf |
|
03-Apr-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #14482: Raise a ValueError, not a NameError, when trying to create a multiprocessing Client or Listener with an AF_UNIX type address under Windows. Patch by Popa Claudiu.
|
6d20cba8d646ec055851afac5494cc0e72d0dfa8 |
|
03-Apr-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #14482: Raise a ValueError, not a NameError, when trying to create a multiprocessing Client or Listener with an AF_UNIX type address under Windows. Patch by Popa Claudiu.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
93bba8fb8a9c6c6d5df33fed8ca9a17975b45c34 |
|
01-Apr-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #14151: Raise a ValueError, not a NameError, when trying to create a multiprocessing Client or Listener with an AF_PIPE type address under non-Windows platforms. Patch by Popa Claudiu.
|
709176f10c1774f608a318171a94371e7d05d98f |
|
01-Apr-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #14151: Raise a ValueError, not a NameError, when trying to create a multiprocessing Client or Listener with an AF_PIPE type address under non-Windows platforms. Patch by Popa Claudiu.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
bdb1cf1ca56db25b33fb15dd91eef2cc32cd8973 |
|
05-Mar-2012 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #12328: Fix multiprocessing's use of overlapped I/O on Windows. Also, add a multiprocessing.connection.wait(rlist, timeout=None) function for polling multiple objects at once. Patch by sbt. Complete changelist from sbt's patch: * Adds a wait(rlist, timeout=None) function for polling multiple objects at once. On Unix this is just a wrapper for select(rlist, [], [], timeout=None). * Removes use of the SentinelReady exception and the sentinels argument to certain methods. concurrent.futures.process has been changed to use wait() instead of SentinelReady. * Fixes bugs concerning PipeConnection.poll() and messages of zero length. * Fixes PipeListener.accept() to call ConnectNamedPipe() with overlapped=True. * Fixes Queue.empty() and SimpleQueue.empty() so that they are threadsafe on Windows. * Now PipeConnection.poll() and wait() will not modify the pipe except possibly by consuming a zero length message. (Previously poll() could consume a partial message.) * All of multiprocesing's pipe related blocking functions/methods are now interruptible by SIGINT on Windows.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
ed4a8fc0952a4211bc8bc929c23e11bebdfe9aa3 |
|
08-Feb-2012 |
Charles-François Natali <neologix@free.fr> |
Issue #8184: multiprocessing: On Windows, don't set SO_REUSEADDR on Connection sockets, and set FILE_FLAG_FIRST_PIPE_INSTANCE on named pipes, to make sure two listeners can't bind to the same socket/pipe (or any existing socket/pipe).
/external/python/cpython3/Lib/multiprocessing/connection.py
|
edc67feaa40765e9827a75f6304801d2373898bc |
|
04-Feb-2012 |
Charles-François Natali <neologix@free.fr> |
Issue #8184: Fix a potential file descriptor leak when a multiprocessing.Connection socket can't be bound.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
992ca5278ec1d7529c4aeedfed74051890feac1b |
|
04-Feb-2012 |
Charles-François Natali <neologix@free.fr> |
Issue #8184: Fix a potential file descriptor leak when a multiprocessing.Connection socket can't be bound.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
e6eabd43458c041ceae418c3806dcfcc30b5ed2e |
|
19-Nov-2011 |
Charles-François Natali <neologix@free.fr> |
Issue #13215: multiprocessing.Connection: don't hammer the remote end with retries in case of ECONNREFUSED.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
6b4883dec0b7f6c5ede45dca861f5dc0e4ff2be7 |
|
12-Oct-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
225aa4f8ec1d98a244f863ee5257a750926a494e |
|
20-Sep-2011 |
Charles-François Natali <neologix@free.fr> |
Issue #12996: multiprocessing.connection: transmit the header in network byte order (endpoints machines can have different endianness).
/external/python/cpython3/Lib/multiprocessing/connection.py
|
600012028e13cb88a4d32627ced48ef0be7f2b89 |
|
09-Jul-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Add comment
/external/python/cpython3/Lib/multiprocessing/connection.py
|
71a28a91744b5cf6f881769300818232750de6d2 |
|
09-Jul-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Rebind locally the globals which can be looked up at shutdown (to avoid the warnings seen on a buildbot)
/external/python/cpython3/Lib/multiprocessing/connection.py
|
dd696496605883a44da983ad81e55a01e996a004 |
|
08-Jun-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #9205: concurrent.futures.ProcessPoolExecutor now detects killed children and raises BrokenProcessPool in such a situation. Previously it would reliably freeze/deadlock.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
5aa878c61a7ecf043ac390672b997adbe7e340d0 |
|
09-May-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
os.dup()-then-close() can be replaced with detach()
/external/python/cpython3/Lib/multiprocessing/connection.py
|
87cf220972c9cb400ddcd577962883dcc5dca51a |
|
09-May-2011 |
Antoine Pitrou <solipsis@pitrou.net> |
Issue #11743: Rewrite multiprocessing connection classes in pure Python.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
8f36af7a4c9409a673412e4bdfbad76d700abc3a |
|
25-Feb-2011 |
Marc-André Lemburg <mal@egenix.com> |
Normalize the encoding names for Latin-1 and UTF-8 to 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
2b69506c7997881fa7bad2bfd334db747f8cb820 |
|
03-Jan-2011 |
Victor Stinner <victor.stinner@haypocalc.com> |
Issue #10816: multiprocessing.SocketClient() closes the socket on error Use a context manager to close immediatly the socket on error.
/external/python/cpython3/Lib/multiprocessing/connection.py
|
3fc969a4a26f0bd94f1412b45da5e8cf3c6eaf1e |
|
14-Dec-2010 |
R. David Murray <rdmurray@bitdance.com> |
9162: fix license in multiprocessing files
/external/python/cpython3/Lib/multiprocessing/connection.py
|
a6a3274aadfbf9ce03addbef5a68f7701458a3a6 |
|
04-Aug-2010 |
Brian Curtin <brian.curtin@gmail.com> |
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).
/external/python/cpython3/Lib/multiprocessing/connection.py
|
45d61a341d8e5a71ae9bb1a3923646ea2d7d127e |
|
13-Nov-2009 |
Antoine Pitrou <solipsis@pitrou.net> |
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. ........
/external/python/cpython3/Lib/multiprocessing/connection.py
|
c5d28a0b034401ba9eb40aa5b8813845b3b4bb7a |
|
30-Mar-2009 |
Jesse Noller <jnoller@gmail.com> |
Merge 70717 to 30maint
/external/python/cpython3/Lib/multiprocessing/connection.py
|
5d6415ee26fcd663806ed3a19247573c5ca5f055 |
|
25-Aug-2008 |
Neal Norwitz <nnorwitz@gmail.com> |
Merged revisions 66023 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r66023 | neal.norwitz | 2008-08-24 18:50:24 -0700 (Sun, 24 Aug 2008) | 6 lines 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 ........
/external/python/cpython3/Lib/multiprocessing/connection.py
|
6aa2d1fec7debd8995b7ba0f3f27b6e532a91270 |
|
12-Aug-2008 |
Georg Brandl <georg@python.org> |
Merged revisions 65459,65472,65481,65518,65536,65581,65609,65637,65641,65644-65645 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r65459 | gregory.p.smith | 2008-08-04 00:13:29 +0000 (Mon, 04 Aug 2008) | 4 lines - Issue #1857: subprocess.Popen.poll gained an additional _deadstate keyword argument in python 2.5, this broke code that subclassed Popen to include its own poll method. Fixed my moving _deadstate to an _internal_poll method. ........ r65472 | andrew.kuchling | 2008-08-04 01:43:43 +0000 (Mon, 04 Aug 2008) | 3 lines Bug 3228: Explicitly supply the file mode to avoid creating executable files, and add corresponding tests. Possible 2.5 backport candidate ........ r65481 | gregory.p.smith | 2008-08-04 07:33:37 +0000 (Mon, 04 Aug 2008) | 22 lines Adds a sanity check to avoid a *very rare* infinite loop due to a corrupt tls key list data structure in the thread startup path. This change is a companion to r60148 which already successfully dealt with a similar issue on thread shutdown. In particular this loop has been observed happening from this call path: #0 in find_key () #1 in PyThread_set_key_value () #2 in _PyGILState_NoteThreadState () #3 in PyThreadState_New () #4 in t_bootstrap () #5 in pthread_start_thread () I don't know how this happens but it does, *very* rarely. On more than one hardware platform. I have not been able to reproduce it manually. (A flaky mutex implementation on the system in question is one hypothesis). As with r60148, the spinning we managed to observe in the wild was due to a single list element pointing back upon itself. ........ r65518 | mark.dickinson | 2008-08-04 21:30:09 +0000 (Mon, 04 Aug 2008) | 7 lines Issue #1481296: (again!) Make conversion of a float NaN to an int or long raise ValueError instead of returning 0. Also, change the error message for conversion of an infinity to an integer, replacing 'long' by 'integer', so that it's appropriate for both long(float('inf')) and int(float('inf')). ........ r65536 | andrew.kuchling | 2008-08-05 01:00:57 +0000 (Tue, 05 Aug 2008) | 1 line Bug 3228: take a test from Niels Gustaebel's patch, and based on his patch, check for having os.stat available ........ r65581 | guido.van.rossum | 2008-08-07 18:51:38 +0000 (Thu, 07 Aug 2008) | 3 lines Patch by Ian Charnas from issue 3517. Add F_FULLFSYNC if it exists (OS X only so far). ........ r65609 | antoine.pitrou | 2008-08-09 17:22:25 +0000 (Sat, 09 Aug 2008) | 3 lines #3205: bz2 iterator fails silently on MemoryError ........ r65637 | georg.brandl | 2008-08-11 09:07:59 +0000 (Mon, 11 Aug 2008) | 3 lines - Issue #3537: Fix an assertion failure when an empty but presized dict object was stored in the freelist. ........ r65641 | jesse.noller | 2008-08-11 14:28:07 +0000 (Mon, 11 Aug 2008) | 2 lines Remove the fqdn call for issue 3270 ........ r65644 | antoine.pitrou | 2008-08-11 17:21:36 +0000 (Mon, 11 Aug 2008) | 3 lines #3134: shutil referenced undefined WindowsError symbol ........ r65645 | jesse.noller | 2008-08-11 19:00:15 +0000 (Mon, 11 Aug 2008) | 2 lines Fix the connection refused error part of issue 3419, use errno module instead of a static list of possible connection refused messages. ........
/external/python/cpython3/Lib/multiprocessing/connection.py
|
734e2680627e3e946284856e82076abf4faf6641 |
|
12-Aug-2008 |
Georg Brandl <georg@python.org> |
Merged revisions 65437,65469,65476,65480,65502,65528,65539,65543,65558,65561-65562,65565,65591,65601,65608,65610,65639 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r65437 | georg.brandl | 2008-08-03 22:28:55 +0000 (Sun, 03 Aug 2008) | 2 lines Note the removal of several committers. ........ r65469 | gregory.p.smith | 2008-08-04 01:03:50 +0000 (Mon, 04 Aug 2008) | 3 lines issue1606: Add warnings to the subprocess documentation about common pitfalls of using pipes that cause deadlocks. ........ r65476 | georg.brandl | 2008-08-04 06:29:36 +0000 (Mon, 04 Aug 2008) | 2 lines Fix markup. ........ r65480 | georg.brandl | 2008-08-04 07:31:50 +0000 (Mon, 04 Aug 2008) | 3 lines Clarify the meaning of the select() parameters and sync names with docstring. ........ r65502 | gregory.p.smith | 2008-08-04 18:34:07 +0000 (Mon, 04 Aug 2008) | 2 lines more cleanup ups of the recently added warnings in the subprocess docs. ........ r65528 | brett.cannon | 2008-08-04 21:52:25 +0000 (Mon, 04 Aug 2008) | 4 lines Add a note about all the modules/packages changed to silence -3 warnings. More changes are needed once some decisions are made, but this is the work up to this point. ........ r65539 | andrew.kuchling | 2008-08-05 01:38:08 +0000 (Tue, 05 Aug 2008) | 6 lines #3367 from Kristjan Valur Jonsson: If a PyTokenizer_FromString() is called with an empty string, the tokenizer's line_start member never gets initialized. Later, it is compared with the token pointer 'a' in parsetok.c:193 and that behavior can result in undefined behavior. ........ r65543 | andrew.kuchling | 2008-08-05 02:05:23 +0000 (Tue, 05 Aug 2008) | 1 line #3367: revert rev. 65539: this change causes test_parser to fail ........ r65558 | georg.brandl | 2008-08-06 17:20:41 +0000 (Wed, 06 Aug 2008) | 2 lines Fix longstringitem definition. #3505. ........ r65561 | mark.dickinson | 2008-08-06 20:12:30 +0000 (Wed, 06 Aug 2008) | 2 lines Docstring typo ........ r65562 | mark.dickinson | 2008-08-06 21:36:57 +0000 (Wed, 06 Aug 2008) | 2 lines Remove duplicate import ........ r65565 | andrew.kuchling | 2008-08-07 01:47:34 +0000 (Thu, 07 Aug 2008) | 1 line Add some items ........ r65591 | georg.brandl | 2008-08-08 06:42:20 +0000 (Fri, 08 Aug 2008) | 2 lines #3519: callee is an expression too. ........ r65601 | georg.brandl | 2008-08-08 15:34:34 +0000 (Fri, 08 Aug 2008) | 2 lines Remove mention of backquotes in the tutorial. ........ r65608 | guido.van.rossum | 2008-08-09 14:55:34 +0000 (Sat, 09 Aug 2008) | 2 lines Add news item about _sre.compile() re-bytecode validator. ........ r65610 | antoine.pitrou | 2008-08-09 17:27:23 +0000 (Sat, 09 Aug 2008) | 3 lines move NEWS entry to the appropriate section (oops!) ........ r65639 | georg.brandl | 2008-08-11 10:27:31 +0000 (Mon, 11 Aug 2008) | 2 lines #3540: fix exception name. ........
/external/python/cpython3/Lib/multiprocessing/connection.py
|
2ee470f7f99f78348baa1e7a13007540d89d9c92 |
|
16-Jul-2008 |
Georg Brandl <georg@python.org> |
Merged revisions 64722,64729,64753,64845-64846,64849,64871,64880-64882,64885,64888,64897,64900-64901,64915,64926-64929,64938-64941,64944,64961,64966,64973 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r64722 | georg.brandl | 2008-07-05 12:13:36 +0200 (Sat, 05 Jul 2008) | 4 lines #2663: support an *ignore* argument to shutil.copytree(). Patch by Tarek Ziade. This is a new feature, but Barry authorized adding it in the beta period. ........ r64729 | mark.dickinson | 2008-07-05 13:33:52 +0200 (Sat, 05 Jul 2008) | 5 lines Issue 3188: accept float('infinity') as well as float('inf'). This makes the float constructor behave in the same way as specified by various other language standards, including C99, IEEE 754r, and the IBM Decimal standard. ........ r64753 | gregory.p.smith | 2008-07-06 05:35:58 +0200 (Sun, 06 Jul 2008) | 4 lines - Issue #2862: Make int and float freelist management consistent with other freelists. Changes their CompactFreeList apis into ClearFreeList apis and calls them via gc.collect(). ........ r64845 | raymond.hettinger | 2008-07-10 16:03:19 +0200 (Thu, 10 Jul 2008) | 1 line Issue 3301: Bisect functions behaved badly when lo was negative. ........ r64846 | raymond.hettinger | 2008-07-10 16:34:57 +0200 (Thu, 10 Jul 2008) | 1 line Issue 3285: Fractions from_float() and from_decimal() accept Integral arguments. ........ r64849 | andrew.kuchling | 2008-07-10 16:43:31 +0200 (Thu, 10 Jul 2008) | 1 line Wording changes ........ r64871 | raymond.hettinger | 2008-07-11 14:00:21 +0200 (Fri, 11 Jul 2008) | 1 line Add cautionary note on the use of PySequence_Fast_ITEMS. ........ r64880 | amaury.forgeotdarc | 2008-07-11 23:28:25 +0200 (Fri, 11 Jul 2008) | 5 lines #3317 in zipfile module, restore the previous names of global variables: some applications relied on them. Also remove duplicated lines. ........ r64881 | amaury.forgeotdarc | 2008-07-11 23:45:06 +0200 (Fri, 11 Jul 2008) | 3 lines #3342: In tracebacks, printed source lines were not indented since r62555. #3343: Py_DisplaySourceLine should be a private function. Rename it to _Py_DisplaySourceLine. ........ r64882 | josiah.carlson | 2008-07-12 00:17:14 +0200 (Sat, 12 Jul 2008) | 2 lines Fix for the AttributeError in test_asynchat. ........ r64885 | josiah.carlson | 2008-07-12 01:26:59 +0200 (Sat, 12 Jul 2008) | 2 lines Fixed test for asyncore. ........ r64888 | matthias.klose | 2008-07-12 09:51:48 +0200 (Sat, 12 Jul 2008) | 2 lines - Fix bashisms in Tools/faqwiz/move-faqwiz.sh ........ r64897 | benjamin.peterson | 2008-07-12 22:16:19 +0200 (Sat, 12 Jul 2008) | 1 line fix various doc typos #3320 ........ r64900 | alexandre.vassalotti | 2008-07-13 00:06:53 +0200 (Sun, 13 Jul 2008) | 2 lines Fixed typo. ........ r64901 | benjamin.peterson | 2008-07-13 01:41:19 +0200 (Sun, 13 Jul 2008) | 1 line #1778443 robotparser fixes from Aristotelis Mikropoulos ........ r64915 | nick.coghlan | 2008-07-13 16:52:36 +0200 (Sun, 13 Jul 2008) | 1 line Fix issue 3221 by emitting a RuntimeWarning instead of raising SystemError when the parent module can't be found during an absolute import (likely due to non-PEP 361 aware code which sets a module level __package__ attribute) ........ r64926 | martin.v.loewis | 2008-07-13 22:31:49 +0200 (Sun, 13 Jul 2008) | 2 lines Add turtle into the module index. ........ r64927 | alexandre.vassalotti | 2008-07-13 22:42:44 +0200 (Sun, 13 Jul 2008) | 3 lines Issue #3274: Use a less common identifier for the temporary variable in Py_CLEAR(). ........ r64928 | andrew.kuchling | 2008-07-13 23:43:25 +0200 (Sun, 13 Jul 2008) | 1 line Re-word ........ r64929 | andrew.kuchling | 2008-07-13 23:43:52 +0200 (Sun, 13 Jul 2008) | 1 line Add various items; move ctypes items into a subsection of their own ........ r64938 | andrew.kuchling | 2008-07-14 02:35:32 +0200 (Mon, 14 Jul 2008) | 1 line Typo fixes ........ r64939 | andrew.kuchling | 2008-07-14 02:40:55 +0200 (Mon, 14 Jul 2008) | 1 line Typo fix ........ r64940 | andrew.kuchling | 2008-07-14 03:18:16 +0200 (Mon, 14 Jul 2008) | 1 line Typo fix ........ r64941 | andrew.kuchling | 2008-07-14 03:18:31 +0200 (Mon, 14 Jul 2008) | 1 line Expand the multiprocessing section ........ r64944 | gregory.p.smith | 2008-07-14 08:06:48 +0200 (Mon, 14 Jul 2008) | 7 lines Fix posix.fork1() / os.fork1() to only call PyOS_AfterFork() in the child process rather than both parent and child. Does anyone actually use fork1()? It appears to be a Solaris thing but if Python is built with pthreads on Solaris, fork1() and fork() should be the same. ........ r64961 | jesse.noller | 2008-07-15 15:47:33 +0200 (Tue, 15 Jul 2008) | 1 line multiprocessing/connection.py patch to remove fqdn oddness for issue 3270 ........ r64966 | nick.coghlan | 2008-07-15 17:40:22 +0200 (Tue, 15 Jul 2008) | 1 line Add missing NEWS entry for r64962 ........ r64973 | jesse.noller | 2008-07-15 20:29:18 +0200 (Tue, 15 Jul 2008) | 1 line Revert 3270 patch: self._address is in pretty widespread use, need to revisit ........
/external/python/cpython3/Lib/multiprocessing/connection.py
|
1fcfe211f436feefbf6101f1f5dac145742c9462 |
|
25-Jun-2008 |
Benjamin Peterson <benjamin@python.org> |
Merged revisions 64517,64519 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r64517 | benjamin.peterson | 2008-06-24 22:09:05 -0500 (Tue, 24 Jun 2008) | 1 line remove bytes alias in multiprocessing ........ r64519 | benjamin.peterson | 2008-06-25 07:39:05 -0500 (Wed, 25 Jun 2008) | 1 line use byte literals in multiprocessing ........
/external/python/cpython3/Lib/multiprocessing/connection.py
|
e711cafab13efc9c1fe6c5cd75826401445eb585 |
|
11-Jun-2008 |
Benjamin Peterson <benjamin@python.org> |
Merged revisions 64104,64117 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r64104 | benjamin.peterson | 2008-06-10 21:40:25 -0500 (Tue, 10 Jun 2008) | 2 lines add the multiprocessing package to fulfill PEP 371 ........ r64117 | benjamin.peterson | 2008-06-11 07:26:31 -0500 (Wed, 11 Jun 2008) | 2 lines fix import of multiprocessing by juggling imports ........
/external/python/cpython3/Lib/multiprocessing/connection.py
|