Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:not': 0.03; 'python': 0.11; 'code?': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reasonably': 0.16; 'reliably': 0.16; 'reproduce': 0.16; 'select.': 0.16; 'subject:ready': 0.16; 'wrote:': 0.18; 'feb': 0.22; '(in': 0.22; 'to:name:python- list@python.org': 0.22; 'mon,': 0.24; 'post': 0.26; 'header:In- Reply-To:1': 0.27; 'subject:) ': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'linux': 0.33; 'running': 0.33; 'problem': 0.35; 'case,': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'so,': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'short': 0.38; 'to:addr:python.org': 0.39; 'situation': 0.65; '3.12': 0.84 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=M9urQclynSxw23vzw+toVzuh4HSnkuiU2qhrcPHA6CE=; b=MhvOXHmCylKrwq+INid9zyaprj4odrkvz0AZt0rlqNiZbBPzwsLEshLvHXEwvzNc5B vh2VEHRrpzWUWs0CmP5NTxAQCRVTcQ7/sCDG6a2RgotgSR1PqDIf+UNriDLRmsWaL4+P 7UuJk3lhUWw8PP2VrB7xgC63q+tvyE3PdS9m6TFWMMIPBNdlocQZkvx01hPsOuYq8dJY JgR3aRt6FiXTxXSdWDRxMr4SLZdixHUDUCNhQHIexBTaeaBTgvkA0v1D0nymLTVVjdaX jYyZrJ9BV36DbMT1onP7Bpg28zeafIOfmo/w4rv4bfyZhgC4+xliPFUo1N/MUq4dtbPF Tc0w== MIME-Version: 1.0 X-Received: by 10.68.112.164 with SMTP id ir4mr1726860pbb.153.1392621276320; Sun, 16 Feb 2014 23:14:36 -0800 (PST) In-Reply-To: <87a9dq9rh1.fsf@vostro.rath.org> References: <87a9dq9rh1.fsf@vostro.rath.org> Date: Mon, 17 Feb 2014 18:14:36 +1100 Subject: Re: select(sock) indicates not-ready, but sock.recv does not block From: Chris Angelico To: "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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392621286 news.xs4all.nl 2850 [2001:888:2000:d::a6]:57963 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66591 On Mon, Feb 17, 2014 at 5:35 PM, Nikolaus Rath wrote: > Hello, > > I have a problem with using select. I can reliably reproduce a situation ... Can you reproduce it with a reasonably short amount of code? If so, please post it. > I'm running Python 3.3.3 under Linux 3.12. Do you mean Linux kernel 3.12 (in which case, which distro?), or is this the version number of a distribution (and if so, which?)? ChrisA