Why does this launch an infinite loop of new processes?

Robert Kern robert.kern at gmail.com
Thu Dec 22 12:01:14 EST 2011


On 12/22/11 11:24 AM, Robert Kern wrote:
> Just as a further note on these lines, when older versions of setuptools and
> distribute install scripts, they generate stub scripts that do not use a
> __main__ guard, so installing a multiprocessing-using application with
> setuptools can cause this problem. I believe newer versions of distribute has
> this problem fixed, but I'm not sure.

Just checked. No, distribute has not fixed this bug.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list