fork seems to make urlopen into a black hole?

Chris Angelico rosuav at gmail.com
Tue Jan 14 15:07:49 EST 2014


On Wed, Jan 15, 2014 at 7:04 AM, BobAalsma <overhaalsgang_24_bob at 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



More information about the Python-list mailing list