From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19405 invoked by alias); 30 Jul 2014 14:04:24 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 19323 invoked by uid 89); 30 Jul 2014 14:04:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=unavailable version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 30 Jul 2014 14:04:22 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6UE4GWf000537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Jul 2014 10:04:17 -0400 Received: from barimba (ovpn-113-151.phx2.redhat.com [10.3.113.151]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6UE3iBf008218 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Wed, 30 Jul 2014 10:03:44 -0400 From: Tom Tromey To: Samuel Bronson Cc: libstdc++@gcc.gnu.org, GCC Patches , Jonathan Wakely , GDB Patches , Matthias Klose Subject: Re: [PATCH v3 3/3] Port libstdc++ pretty-printers to Python 2 + Python 3 References: <1400701554-18062-1-git-send-email-naesten@gmail.com> <1405046899-32639-1-git-send-email-naesten@gmail.com> <1405046899-32639-4-git-send-email-naesten@gmail.com> <8761j4imol.fsf@naesten.mooo.com> <87tx6asm4y.fsf@fleche.redhat.com> <87k370685j.fsf@naesten.mooo.com> Date: Wed, 30 Jul 2014 14:08:00 -0000 In-Reply-To: <87k370685j.fsf@naesten.mooo.com> (Samuel Bronson's message of "Sat, 26 Jul 2014 00:44:40 -0400") Message-ID: <87d2cn9c5c.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-07/txt/msg00790.txt.bz2 >> I don't think this comment is applicable. >> The libstdc++ pretty-printers use gdb.Value.lazy_string, not the >> built-in Python types. Samuel> Hmm, doesn't that just make it a timebomb -- a value that will Samuel> explode if, at some point in the future, someone tries to treat Samuel> it as a string? I don't think so. The results from the pretty-printer, when called from gdb, are generally either printed or discarded. In any case the comment still doesn't seem correct. Tom