Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33249

Re: Passing functions as parameter (multiprocessing)

From Peter Otten <__peter__@web.de>
Subject Re: Passing functions as parameter (multiprocessing)
Date 2012-11-13 17:18 +0100
Organization None
References <425807738.1035823.1352809155090.JavaMail.root@sequans.com> <k7tfob$bj4$1@ger.gmane.org> <CAHVvXxTgc+NzG44z9aDj=dfPbZUbczEka2wtSoAUzwNSkDzq_A@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.3632.1352823489.27098.python-list@python.org> (permalink)

Show all headers | View raw


Oscar Benjamin wrote:

> I don't know if this is to do with the way that the code was
> simplified before posting but this subproc function wrapper does
> nothing (even after Peter fixed it below). This code is needlessly
> complicated for what it does.

Jean-Michel's Post had the following comment preceding his subproc() 
definition

>>>    # here it should be decorated, but for this example to be kept
>>>     simple, the function is only wrapped, doing nothing special

which I unhelpfully removed...

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Passing functions as parameter (multiprocessing) Peter Otten <__peter__@web.de> - 2012-11-13 17:18 +0100

csiph-web