Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #63936
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'function,': 0.09; 'pages.': 0.09; 'subject:into': 0.09; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'easily,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:make': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'else,': 0.19; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; '15,': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; 'could': 0.34; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'module.': 0.36; 'subject:?': 0.36; 'too': 0.37; 'rather': 0.38; 'took': 0.61; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=/q0V8AH8joSq9NCI8dUDVaoGWTkrfmnHDJqLtVuLpfE=; b=VdF90HHCFcTFY5HoZ9q6pwpPM1XBYP5aMBezy9kLEqL17myEzt/R+GdLQhJ9HzThJR p8xOnrBtQGn02zOVLjSFl2qQaQDMx/JLVoF+dJH+X7aDppdjhdcfhuB9WXkLP1b1Gniw tOEyXDNbci8oPPA92jPbzkpwT07Dgiv2VGU4o62iH/GL9E8ngo1aiVZ8IcJ9sG8pm3cy bSwk2s48EubmCw58FYwxg9dIJ81YOZY29wODvZHIpUB3IpgsxetVGU9z2LQJTmOKeB0P DiRoLTOFiyUUkVkkG21sBiXX1CaPY6nS7UVvA9W1liGpjWUeiYU/b8yJhDNdX8SYpmqK HZUA== |
| MIME-Version | 1.0 |
| X-Received | by 10.68.98.3 with SMTP id ee3mr3961838pbb.31.1389730069282; Tue, 14 Jan 2014 12:07:49 -0800 (PST) |
| In-Reply-To | <812aa8be-7a8d-4a15-86f1-deec17d68aad@googlegroups.com> |
| References | <812aa8be-7a8d-4a15-86f1-deec17d68aad@googlegroups.com> |
| Date | Wed, 15 Jan 2014 07:07:49 +1100 |
| Subject | Re: fork seems to make urlopen into a black hole? |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5475.1389730078.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1389730078 news.xs4all.nl 2889 [2001:888:2000:d::a6]:59201 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:63936 |
Show key headers only | 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 | Next — Previous in thread | Find similar | Unroll 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