Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.024 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'def': 0.13; '1:13': 0.16; 'nest': 0.16; 'workaround': 0.16; 'cc:addr:python-list': 0.16; 'mon,': 0.16; 'wrote:': 0.18; 'functions,': 0.18; 'cc:no real name:2**0': 0.20; 'dec': 0.22; 'header:In-Reply-To:1': 0.22; "shouldn't": 0.23; 'cc:2**0': 0.24; 'message-id:@mail.gmail.com': 0.28; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'it.': 0.34; 'loop': 0.34; 'received:209.85.212': 0.34; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'either': 0.39; 'received:209': 0.40; '2011': 0.61; '26,': 0.67 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gjx+dHCxspwyBmpE+EyR/7VAJeQu1NkOsX/w8blZ2JI=; b=geCTZMa5u/9Mybo7tlJE1+xgIh0htQ2WPEW7BwCCRccMYPhHtJ3jZrUky4EPEtBFBz dIWTjrbIotJKlM/W04siobJVV9qFFPXtrHf1soED056+WLM+yREVOQdIXXlvT4CQs3Vt 2Roi/msmKYX0gutc5LmgwIy5jXLXolylBHvio= MIME-Version: 1.0 In-Reply-To: References: <695ebd75-e0ff-409a-9f9a-8143b78bee0a@d10g2000vbh.googlegroups.com> From: Ian Kelly Date: Mon, 26 Dec 2011 13:39:48 -0700 Subject: Re: Multithreading To: Yigit Turgut Content-Type: text/plain; charset=ISO-8859-1 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1324932022 news.xs4all.nl 6893 [2001:888:2000:d::a6]:58063 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:17977 On Mon, Dec 26, 2011 at 1:13 PM, Yigit Turgut wrote: > I had thought the same workaround but unfortunately loop is already > under a def ; So nest the functions, or refactor it. Either way, that shouldn't be a significant obstacle.