Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'python': 0.11; 'any.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'iirc': 0.16; 'subject:non': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; 'library': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'expanded': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'have,': 0.30; 'then.': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'received:google.com': 0.35; 'thanks': 0.36; 'being': 0.38; 'whatever': 0.38; 'pm,': 0.38; 'lost': 0.61; 'mentioned': 0.61; "you're": 0.61; 'advantages': 0.68; '2015': 0.84; 'subject:skip:S 20': 0.91; '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=dbmVFB0CaYvWBPwmAyJRmPcw45VOvkbspPW3BXwEJPo=; b=Xd3KdAfdSDezEG6FsyP9KUpGK/Kt0Oquw+RDTDRsc+TVTd1cfF4DeO8+rn8QrP/uDs 3fEp/E/DcVxWgBgp0TBW0/qtOUG3wHgmAh6ansOKYWUr1QpqsDWpXr3NWDXd40N5NrFu OvR2339Iu3g/wkf3kNxRxdkp5xieSeAPylhFZCDI41O8Jyixsf+YbebYvN0GHtH55p8J +AAJETi5VUoh9mBtKL0LcRvSSFE8psDkmfxmZak0RLKEzt8iGsAifCaiqx6poChxdxNI 8NI26pw11OZzfBFPTfvz5EfeT7/wblgHl3Yr84GVSGoX2d/qMYmtLS3UliC29KjUwxG6 amhg== MIME-Version: 1.0 X-Received: by 10.107.167.201 with SMTP id q192mr28188959ioe.43.1422961670492; Tue, 03 Feb 2015 03:07:50 -0800 (PST) In-Reply-To: References: <47031e69-e94d-4257-8c7d-e7c00a543634@googlegroups.com> <874mr3ibve.fsf@elektro.pacujo.net> Date: Tue, 3 Feb 2015 22:07:50 +1100 Subject: Re: How to write a non blocking SimpleHTTPRequestHandler ? From: Chris Angelico Cc: "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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422961678 news.xs4all.nl 2847 [2001:888:2000:d::a6]:42699 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85134 On Tue, Feb 3, 2015 at 10:04 PM, Yassine Chaouche wrote: >> > Thanks Marko. It's a lost cause then. >> >> You trimmed out the part where he mentioned asyncio. :) >> >> ChrisA > > IIRC asyncio is python 3 only and I'm not ready yet to make the leap. Then you're stuck with whatever you have, because the Py2 standard library isn't being expanded any. Why not make the leap? Py3 has a lot of advantages over Py2. ChrisA