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


Groups > comp.lang.python > #85134

Re: How to write a non blocking SimpleHTTPRequestHandler ?

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 <rosuav@gmail.com>
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 <b6cb0fcb-9934-41b6-a8f6-902d26f2588c@googlegroups.com>
References <mailman.18397.1422871634.18130.python-list@python.org> <47031e69-e94d-4257-8c7d-e7c00a543634@googlegroups.com> <874mr3ibve.fsf@elektro.pacujo.net> <c0e17d52-4978-48fd-8848-30426ea42e14@googlegroups.com> <mailman.18420.1422960897.18130.python-list@python.org> <b6cb0fcb-9934-41b6-a8f6-902d26f2588c@googlegroups.com>
Date Tue, 3 Feb 2015 22:07:50 +1100
Subject Re: How to write a non blocking SimpleHTTPRequestHandler ?
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.18421.1422961678.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Tue, Feb 3, 2015 at 10:04 PM, Yassine Chaouche
<yacinechaouche@yahoo.com.dmarc.invalid> 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

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


Thread

Re: How to write a non blocking SimpleHTTPRequestHandler ? Amirouche Boubekki <amirouche.boubekki@gmail.com> - 2015-02-02 10:07 +0000
  Re: How to write a non blocking SimpleHTTPRequestHandler ? Yassine Chaouche <yacinechaouche@yahoo.com> - 2015-02-03 01:08 -0800
    Re: How to write a non blocking SimpleHTTPRequestHandler ? Marko Rauhamaa <marko@pacujo.net> - 2015-02-03 11:27 +0200
      Re: How to write a non blocking SimpleHTTPRequestHandler ? Yassine Chaouche <yacinechaouche@yahoo.com> - 2015-02-03 02:47 -0800
        Re: How to write a non blocking SimpleHTTPRequestHandler ? Chris Angelico <rosuav@gmail.com> - 2015-02-03 21:54 +1100
          Re: How to write a non blocking SimpleHTTPRequestHandler ? Yassine Chaouche <yacinechaouche@yahoo.com> - 2015-02-03 03:04 -0800
            Re: How to write a non blocking SimpleHTTPRequestHandler ? Chris Angelico <rosuav@gmail.com> - 2015-02-03 22:07 +1100
              Re: How to write a non blocking SimpleHTTPRequestHandler ? Yassine Chaouche <yacinechaouche@yahoo.com> - 2015-02-03 03:23 -0800
              Re: How to write a non blocking SimpleHTTPRequestHandler ? Marko Rauhamaa <marko@pacujo.net> - 2015-02-03 13:35 +0200
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Yassine Chaouche <yacinechaouche@yahoo.com> - 2015-02-03 04:56 -0800
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Marko Rauhamaa <marko@pacujo.net> - 2015-02-03 15:45 +0200
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Chris Angelico <rosuav@gmail.com> - 2015-02-04 01:03 +1100
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Marko Rauhamaa <marko@pacujo.net> - 2015-02-03 16:20 +0200
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-02-03 20:25 -0500
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Chris Angelico <rosuav@gmail.com> - 2015-02-04 00:21 +1100
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Amirouche Boubekki <amirouche.boubekki@gmail.com> - 2015-02-03 14:09 +0000
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Yassine Chaouche <yacinechaouche@yahoo.com> - 2015-02-03 06:50 -0800
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Filadelfo Fiamma <philosganga@gmail.com> - 2015-02-03 16:03 +0100
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-03 16:39 +0000
                Re: How to write a non blocking SimpleHTTPRequestHandler ? Yassine Chaouche <yacinechaouche@yahoo.com> - 2015-02-08 06:13 -0800
            Re: How to write a non blocking SimpleHTTPRequestHandler ? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-03 12:10 +0000

csiph-web