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


Groups > comp.lang.python > #63936

Re: fork seems to make urlopen into a black hole?

References <812aa8be-7a8d-4a15-86f1-deec17d68aad@googlegroups.com>
Date 2014-01-15 07:07 +1100
Subject Re: fork seems to make urlopen into a black hole?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.5475.1389730078.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Jan 15, 2014 at 7:04 AM, BobAalsma <overhaalsgang_24_bob@me.com> wrote:
> A program took much too long to check some texts collected from web pages.
> As this could be made parallel easily, I put in fork.

Rather than using the low-level fork() function, you may find it
easier to manage things if you use the multiprocessing module. I don't
know if it'll help in this specific case, but if nothing else, it'll
be easier to see what's going on.

ChrisA

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


Thread

fork seems to make urlopen into a black hole? BobAalsma <overhaalsgang_24_bob@me.com> - 2014-01-14 12:04 -0800
  Re: fork seems to make urlopen into a black hole? Chris Angelico <rosuav@gmail.com> - 2014-01-15 07:07 +1100

csiph-web