From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4442 invoked by alias); 10 Nov 2009 20:49:03 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 4421 invoked by uid 22791); 10 Nov 2009 20:49:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org From: Tom Tromey To: Paul Pluzhnikov Cc: Paul Koning , "Elmenthaler\, Jens" , gdb@sourceware.org, archer@sourceware.org, dje@google.com Subject: Re: [python] Pretty-printers and addressprint References: <20091110021158.C3C2576D70@ppluzhnikov.mtv.corp.google.com> <58596C4646708B4BB990C44839973330013A61DE@usplmvpbe001.ent.rt.verigy.net> <8ac60eac0911100006yc31e2acmba7bf9fde33ddfa@mail.gmail.com> <8ac60eac0911100744t5335a44fn7175e2d5c512e450@mail.gmail.com> <8ac60eac0911100902t6619b0a3p57186ac3411f2c8b@mail.gmail.com> Reply-To: tromey@redhat.com Date: Tue, 10 Nov 2009 20:49:00 -0000 In-Reply-To: <8ac60eac0911100902t6619b0a3p57186ac3411f2c8b@mail.gmail.com> (Paul Pluzhnikov's message of "Tue, 10 Nov 2009 09:02:55 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2009-q4/txt/msg00056.txt.bz2 >>>>> "Paul" == Paul Pluzhnikov writes: >> What you want instead is repr(value.string()), at least if you want to >> try this route. Paul> That of course can't work, since it's the value.string() which Paul> raises exception. Yeah, oops on me. I think your patch was fine. Or, if people don't like that, we can always have an "addressprint for pretty-printing" option. Tom