Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'remind': 0.05; 'subject:test': 0.07; 'cc:addr:python-list': 0.09; '22,': 0.09; 'rules.': 0.09; 'subtle': 0.09; 'bug': 0.10; 'python': 0.10; 'wed,': 0.15; 'different,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Problem': 0.16; 'subject:case': 0.16; 'subject:simple': 0.16; 'threads': 0.16; 'worst': 0.16; 'wrote:': 0.16; 'debugging': 0.18; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'suggested': 0.20; 'programming': 0.22; 'am,': 0.23; 'tried': 0.24; 'header:In-Reply- To:1': 0.24; "doesn't": 0.26; 'message-id:@mail.gmail.com': 0.27; 'actual': 0.28; "i'm": 0.30; 'problem': 0.33; 'impression': 0.33; 'surely': 0.33; 'similar': 0.33; 'case,': 0.34; 'that,': 0.34; 'received:google.com': 0.35; 'jason': 0.35; 'quite': 0.35; 'basic': 0.36; 'subject:: ': 0.37; 'say': 0.37; 'someone': 0.38; 'along': 0.39; 'subject:with': 0.40; 'back': 0.62; 'details': 0.62; 'techniques': 0.65; 'subject:. ': 0.67; 'jul': 0.72; 'chrisa': 0.84; 'sometimes.': 0.84; 'to:none': 0.91 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=xt5u8sgfdkJoru/ULXNnVC+LaVjlvG4CuR6NqWof0Ns=; b=wdM1julIBb2HN/IfkmrLuiPtjYsruHY6Vd1jVAuLr8IYIpsycZVcl8R5nMu6yVAYiO V9PtaIprOWCODKG2FhlwL0LUTAlTlisQN0HOenNMFLCl+7wJPnb4dYAJPIydVObAGLDD gfYQwav9fMQiJyJCaTlZGhGV8tXVCZX67aqLjkn8xOBfjiTUrW5TIMSXHYuvGvW7aL80 qZ94csWIGUE3zIKxkj+6SUwGoYr1xMUCcvhhPBbienL7tV+xdk/oPDNG+6/iF7hfcxhh JJtExWeBL0FghWTVNr7UVBRUro1/hlMVkqQFQkBBskz9qmF8gmE+RcW89O3MV6R6g+iF iGCQ== MIME-Version: 1.0 X-Received: by 10.50.134.196 with SMTP id pm4mr26864701igb.6.1437500885453; Tue, 21 Jul 2015 10:48:05 -0700 (PDT) In-Reply-To: <40474894-45e0-46fd-92b8-486b83d23d29@googlegroups.com> References: <0165e508-b3b4-4a95-b1bb-e115893056f8@googlegroups.com> <40474894-45e0-46fd-92b8-486b83d23d29@googlegroups.com> Date: Wed, 22 Jul 2015 03:48:05 +1000 Subject: Re: Noob in Python. Problem with fairly simple test case 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1437500893 news.xs4all.nl 2955 [2001:888:2000:d::a6]:51697 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:94306 On Wed, Jul 22, 2015 at 3:38 AM, Jason P. wrote: > Despite the impression that surely I gave, I'm quite familiar with programming and general bug hunting rules. The problem is that I'm inexperienced with Python and the subtle details of multiple threads ;) > Heh, it doesn't hurt to remind people of basic debugging techniques sometimes. Worst case, you come back and say "Yep, I tried that, and here's the result". Best case, someone else (who doesn't know what you know) will come along with a superficially similar problem, will see the suggested technique, and even if the actual issue is quite different, will be better able to diagnose it. ChrisA