# HG changeset patch # User paulb # Date 1175125931 0 # Node ID 01fa35c5dac64693da9371f7a2582cef1de5b31d # Parent af618e0433b873b0fc4984652dbed19a94cdd7cb [project @ 2007-03-28 23:52:11 by paulb] Made file object wrappers around sockets have zero buffer sizes. Updated release information. diff -r af618e0433b8 -r 01fa35c5dac6 PKG-INFO --- a/PKG-INFO Thu Jun 19 21:43:29 2008 +0200 +++ b/PKG-INFO Wed Mar 28 23:52:11 2007 +0000 @@ -1,11 +1,11 @@ Metadata-Version: 1.1 Name: parallel -Version: 0.2.3 +Version: 0.2.4 Author: Paul Boddie Author-email: paul at boddie org uk Maintainer: Paul Boddie Maintainer-email: paul at boddie org uk -Download-url: http://www.boddie.org.uk/python/downloads/parallel-0.2.3.tar.gz +Download-url: http://www.boddie.org.uk/python/downloads/parallel-0.2.4.tar.gz Summary: Elementary parallel programming for Python License: LGPL Description: The pprocess module provides elementary support for parallel diff -r af618e0433b8 -r 01fa35c5dac6 README.txt --- a/README.txt Thu Jun 19 21:43:29 2008 +0200 +++ b/README.txt Wed Mar 28 23:52:11 2007 +0000 @@ -63,6 +63,12 @@ This software depends on standard library features which are stated as being available only on "UNIX"; it has only been tested on a GNU/Linux system. +New in parallel 0.2.4 (Changes since parallel 0.2.3) +---------------------------------------------------- + + * Set buffer sizes to zero for the file object wrappers around sockets: this + may prevent deadlock issues. + New in parallel 0.2.3 (Changes since parallel 0.2.2) ---------------------------------------------------- diff -r af618e0433b8 -r 01fa35c5dac6 pprocess.py --- a/pprocess.py Thu Jun 19 21:43:29 2008 +0200 +++ b/pprocess.py Wed Mar 28 23:52:11 2007 +0000 @@ -171,7 +171,7 @@ http://www.greenend.org.uk/rjk/2001/06/poll.html """ -__version__ = "0.2.3" +__version__ = "0.2.4" import os import sys @@ -425,10 +425,10 @@ pid = os.fork() if pid == 0: parent.close() - return Channel(pid, child.makefile("r"), child.makefile("w")) + return Channel(pid, child.makefile("r", 0), child.makefile("w", 0)) else: child.close() - return Channel(pid, parent.makefile("r"), parent.makefile("w")) + return Channel(pid, parent.makefile("r", 0), parent.makefile("w", 0)) def start(callable, *args, **kwargs):