Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed4.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.040 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'cpython': 0.05; 'insert': 0.05; 'output': 0.05; 'okay': 0.09; 'things,': 0.09; 'windows': 0.15; 'enough.': 0.16; 'finer': 0.16; 'obviously': 0.18; 'seems': 0.21; 'header:User-Agent:1': 0.23; 'simpler': 0.24; 'subject:problem': 0.24; 'helpful': 0.24; 'define': 0.26; 'header :In-Reply-To:1': 0.27; 'this.': 0.32; 'subject:with': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'really': 0.36; 'consistent': 0.36; 'should': 0.36; 'too': 0.37; 'message-id:@gmail.com': 0.38; 'others.': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'subject:"': 0.60; 'simply': 0.61; 'simple': 0.61; 'information': 0.63; 'real': 0.63; 'subject:The': 0.64; 'more': 0.64; 'default': 0.69; '9.1': 0.84; 'freebsd': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=8AKCNvgEBMZ8ZrATLcGTtv9eJe39MbyT87iJURmqAKI=; b=STiLmfDiFAk5O6hM10XUa9gx9lmHzt886KCgAns9whBiYNdwtAvgVU6Q4Nwbef3kM2 z1dIs0EdmZR81FuKSvRy/EuoBKKG4qaKYQK24YSiRvWYlp91wtKifNdM8AdzmfIygXCI SYZIw8WLPe0n/DXZIv/sQPszOo8pqaAJprmf2V9IlEI/Tv40vMQ0V7pFwpDJli47D+vt H52tzcXcUisyfRst5ryOdyvVycQDGqco+wGYFadpyCsqDl/MY85KmD1iyI8m0pkBVV9X 5z1XlrEAU+pVr9qUA3kTQBKFtHisFT5l5c+5G5WuhvueXNPGpAYBPxoGkcJ0olYsqc/J MNSA== X-Received: by 10.50.128.101 with SMTP id nn5mr6331468igb.82.1370194225506; Sun, 02 Jun 2013 10:30:25 -0700 (PDT) Date: Sun, 02 Jun 2013 12:30:23 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: PyWart: The problem with "print" References: <687dea63-84da-4c45-9366-cb5a10665d1f@googlegroups.com> In-Reply-To: <687dea63-84da-4c45-9366-cb5a10665d1f@googlegroups.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370194233 news.xs4all.nl 15910 [2001:888:2000:d::a6]:59640 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46714 I don't think you go far enough. Obviously we need way more flexibility. A simple on/off is okay for some things, but a finer granularity would be really helpful because some things are more important than others. And why stop at stdout/stderr? We need to add a consistent way to output these messages to files too in case we need to reference them again. The messages should have a consistent format as well. Why add the same information to each message when it would be much simpler to simply define a default format and insert the real meat of the message into it? It really seems like we should already have something like this. Hmm..... -- CPython 3.3.2 | Windows NT 6.2.9200 / FreeBSD 9.1