Path: csiph.com!usenet.pasdenom.info!news.etla.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.029 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'insert': 0.05; 'output': 0.05; 'okay': 0.09; 'things,': 0.09; 'enough.': 0.16; 'finer': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'worse.': 0.16; 'wrote:': 0.18; 'obviously': 0.18; 'seems': 0.21; 'simpler': 0.24; 'subject:problem': 0.24; 'helpful': 0.24; 'mon,': 0.24; 'define': 0.26; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'andrew': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'getting': 0.31; 'there.': 0.32; 'this.': 0.32; 'probably': 0.32; 'maybe': 0.34; 'could': 0.34; 'subject:with': 0.35; 'something': 0.35; 'late': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'really': 0.36; 'consistent': 0.36; "i'll": 0.36; 'should': 0.36; 'too': 0.37; 'others.': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; '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; '2013': 0.98 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:to :content-type; bh=ZeYAdppE8Qd/502jnCgrNo644rxAi8X6Cu5SQ70nfQw=; b=Ky5hwKkXMU3belP9T8VyKhDKokJBRoIdl34bjNhtTlKqOqqtlZbT/0ZXrZSNhjpCc8 8xMMdZ3yuhB8uGo/FNqy8wY6tg2tnQl9c/m9IGxVqjvuTiEDo7i4V2T+2idYqesUnVG4 NxOLAsPmFcesglOX6lJ+wqhsKf1OIkkJ9kK9pHlLCSZqfh28Rj/ppARAzHBB02i70RbB GkYktNjOFlQ3b3as67O8y1aDo1iD8MhjotWSPm7bABOZ9W8L/NsDcdRc91uYkf6LiZEj weR1HA0Fhqxdy0PQL0Gtu1lzj23jGMXpSssnuXLgiatg5WXgi+k3bNYBC8mgOMZnG96M D7Tg== MIME-Version: 1.0 X-Received: by 10.220.215.73 with SMTP id hd9mr15918326vcb.19.1370194485379; Sun, 02 Jun 2013 10:34:45 -0700 (PDT) In-Reply-To: <51AB812F.9050703@gmail.com> References: <687dea63-84da-4c45-9366-cb5a10665d1f@googlegroups.com> <51AB812F.9050703@gmail.com> Date: Mon, 3 Jun 2013 03:34:45 +1000 Subject: Re: PyWart: The problem with "print" From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1370194494 news.xs4all.nl 15939 [2001:888:2000:d::a6]:35733 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46716 On Mon, Jun 3, 2013 at 3:30 AM, Andrew Berg wrote: > 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..... You have a really good point there. I'm sure I could think of a really good way to do all this, but I'm stuck... it's like there's a log jam in my head... (Okay, maybe I should go to bed now, my puns are getting worse. Considering how late it is, I'll probably sleep like a log.) ChrisA