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


Groups > comp.lang.python > #57688

Re: array/list of sockets

Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.085
X-Spam-Evidence '*H*': 0.83; '*S*': 0.00; 'python': 0.11; 'question.': 0.14; 'clear.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:array': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'bit': 0.19; 'server,': 0.19; 'post': 0.26; 'subject:/': 0.26; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'am,': 0.29; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'work.': 0.31; 'code': 0.31; 'everyone': 0.33; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'should': 0.36; 'list': 0.37; 'being': 0.38; 'thank': 0.38; 'mine': 0.38; 'handle': 0.38; 'to:addr:python-list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'mailing': 0.39; 'how': 0.40; "you're": 0.61; 'you.': 0.62; 'email name:python-list': 0.65; 'reply': 0.66; 'side': 0.67; 'emails.': 0.78; '2013': 0.98
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:to :content-type; bh=d6AdpjW+I53/Ydc1NKa9qMVtDEnFJVOJzBpLubjyHWk=; b=FTv/A+Qm2D+/Aal71qCZARJl9XrMXQDwbsiSf4vgsCy7aBkBO+QIgkf1VeqWtTcrjy qPIgqwBlTAwvyV8b/C+KJZeY8LVraFrRChGTWymR8LSrfB8du6P1InXw2Aikhe5eoj87 2dIasZzrhjhBAtmq9Axmy0QmgYNAvar9WnwgqJAZxBfxyGm/5iK4jZO2b0VZdaJ5S8eU 4fr1uzxr8Y3oY7di3sCgQBaC19Jh1Rcbys73agnggfmaAfu+dYtyfvwhFWl4UOS8bEOE zHWkEmBK/t65t683/v7nyBLAEbzJycDaqIiZ3nxfcPEyCu2xMT8+W+xUjqd2xdEPzAT6 TS5w==
MIME-Version 1.0
X-Received by 10.68.180.131 with SMTP id do3mr8427585pbc.34.1382832305884; Sat, 26 Oct 2013 17:05:05 -0700 (PDT)
In-Reply-To <08c59ea9-2639-41aa-a9c8-7da16842a866@googlegroups.com>
References <f31c18ac-ef3b-42b9-90cd-c0ef4bd80c06@googlegroups.com> <a41e5b28-c366-4a57-a04f-be93e991b2e0@googlegroups.com> <mailman.1622.1382828644.18130.python-list@python.org> <579a6b22-7660-4aed-b709-480a6221eeeb@googlegroups.com> <mailman.1624.1382830597.18130.python-list@python.org> <08c59ea9-2639-41aa-a9c8-7da16842a866@googlegroups.com>
Date Sun, 27 Oct 2013 11:05:05 +1100
Subject Re: array/list of sockets
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
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.1625.1382832314.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1382832314 news.xs4all.nl 15889 [2001:888:2000:d::a6]:58026
X-Complaints-To abuse@xs4all.nl
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin.stu.neva.ru!gegeweb.org!feed.ac-versailles.fr!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:57688

Show key headers only | View raw


On Sun, Oct 27, 2013 at 10:56 AM,  <theelder777@gmail.com> wrote:
> Yes, crystal clear. Thank you. Since I am writing this post, I have one final question. I got my code to work for a multithreaded web server, how do I test if it can handle multiple threads?

Easy! Just make sure the threads take a good bit of time - add calls
to time.sleep() if necessary - and then start multiple clients at the
same time.

> Also as a side note, I have subscribed to the python mailing list but have no idea how to use it. Thank you everyone for being patient.

You should see this post of mine in your emails. When you do, just
reply (and make sure you're sending to python-list@python.org);
everything else should work.

ChrisA

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


Thread

array/list of sockets theelder777@gmail.com - 2013-10-26 14:41 -0700
  Re: array/list of sockets Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-26 23:01 +0100
  Re: array/list of sockets Johannes Findeisen <mailman@hanez.org> - 2013-10-26 23:59 +0200
  Re: array/list of sockets theelder777@gmail.com - 2013-10-26 15:15 -0700
    Re: array/list of sockets Chris Angelico <rosuav@gmail.com> - 2013-10-27 09:31 +1100
    Re: array/list of sockets Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-26 23:33 +0100
  Re: array/list of sockets theelder777@gmail.com - 2013-10-26 15:42 -0700
    Re: array/list of sockets Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-27 00:03 +0100
      Re: array/list of sockets theelder777@gmail.com - 2013-10-26 16:17 -0700
        Re: array/list of sockets mm0fmf <none@mailinator.com> - 2013-10-27 00:26 +0100
        Re: array/list of sockets Chris Angelico <rosuav@gmail.com> - 2013-10-27 10:27 +1100
        Re: array/list of sockets Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-10-27 00:36 +0100
          Re: array/list of sockets theelder777@gmail.com - 2013-10-26 16:56 -0700
            Re: array/list of sockets Chris Angelico <rosuav@gmail.com> - 2013-10-27 11:05 +1100
        Re: array/list of sockets rurpy@yahoo.com - 2013-10-26 21:29 -0700
        Re: array/list of sockets rusi <rustompmody@gmail.com> - 2013-10-27 01:53 -0700

csiph-web