Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!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:: [': 0.03; 'cc:addr:python-list': 0.09; 'folks': 0.15; 'thu,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:mail-ig0-x22a.google.com': 0.16; 'subject:Tutor': 0.16; 'wrote:': 0.16; 'subject:] ': 0.19; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'context.': 0.22; 'sep': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'helpful': 0.27; 'message- id:@mail.gmail.com': 0.27; 'posting': 0.32; 'usually': 0.33; 'list': 0.34; 'received:google.com': 0.35; 'subject:?': 0.36; 'list.': 0.37; 'subject:the': 0.39; 'where': 0.40; 'email addr:python.org.': 0.60; 'john': 0.61; 'per': 0.62; 'tutor': 0.66; 'email name:python-list': 0.67; 'chrisa': 0.84; 'subject:calls': 0.84; 'to:none': 0.91; 'subject:answer': 0.93 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=jE6vWxy0uDD6nyBIrz3SsaaMAP2yqlGZtdDX28RWAsc=; b=Ke5uel/iEDmyorKvAypY37zOfH3xCU5s1nvntEJIHbZ1vyY7dXwW0cwtheVnMbLEcK sDXsxa4Taw0BoTqCb8Mt/14rJZl5Zuvxp9vdJV3+NgJgxxTfFuSbuct23AhAINrs9PPh Yo9im0YONMlM3dmLZFRcPjz7nuAHO1wYnBjEL0DeUMC6iB1QawWhftIc89GfnuCJT8gU tpcA+5yMdlVjAr1RzjzIawrfJTYMOMXnGGddq08EXNizS2UQ1ihJqtmrzJerSGQq5LNX hfB72uLwDymy02ooO3HmEfSXRvmXlIqaeqT+Xucfe9VVD9PLVNlepJp0/9yGEg9FIJof JBFw== MIME-Version: 1.0 X-Received: by 10.50.3.7 with SMTP id 7mr16967149igy.94.1442415214752; Wed, 16 Sep 2015 07:53:34 -0700 (PDT) In-Reply-To: References: Date: Thu, 17 Sep 2015 00:53:34 +1000 Subject: Re: [Tutor] Is context manager the answer to synchronous function calls? 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.20+ 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: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442415223 news.xs4all.nl 23738 [2001:888:2000:d::a6]:48478 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96683 On Thu, Sep 17, 2015 at 12:34 AM, John Wong wrote: > Sorry first time posting to tutor / general list. Usually on TIP list. As > per Mark's recommendation, now posting to python-list@python.org. But, sadly, without a lot of context. When you change lists, it's helpful to include a lot of extra verbiage so folks who don't follow the other list can pick up where you were. ChrisA