Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed1.swip.net!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!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.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'output': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'block.': 0.16; 'blocking': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wed,': 0.18; 'certainly': 0.24; 'url:home': 0.24; "i've": 0.25; 'logging': 0.26; 'header:X-Complaints-To:1': 0.27; 'idea': 0.28; 'chris': 0.29; 'screen': 0.34; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'unit': 0.37; 'application': 0.37; 'being': 0.38; 'received:76': 0.38; 'remote': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'most': 0.60; 'our': 0.64; 'overall': 0.69; 'slowed': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: threading Date: Wed, 09 Apr 2014 19:44:37 -0400 Organization: IISS Elusive Unicorn References: <87d2gt4td2.fsf@elektro.pacujo.net> <7xha651yx2.fsf@ruckus.brouhaha.com> <877g70wg8p.fsf@elektro.pacujo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-249-31-50.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1397087086 news.xs4all.nl 2945 [2001:888:2000:d::a6]:48552 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69989 On Wed, 9 Apr 2014 23:47:04 +1000, Chris Angelico declaimed the following: >won't block. You might think "Duh, how can printing to the screen >block?!?", but if your program's output is being piped into something >else, it most certainly can :) If that were writing to a remote Heck, even if it isn't blocking per se, it may still be enough to slow down the whole system (over the past year I've had to characterize through put on some systems -- and the console logging of "exceptions"* slowed the overall data rate significantly) * The unit providers' idea of "exception to be logged" just happened to be something our intended application considered normal; hence our test data produced LOTS of "exceptions". -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/