From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13996 invoked by alias); 29 Jun 2009 17:08:05 -0000 Received: (qmail 13986 invoked by uid 22791); 29 Jun 2009 17:08:04 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 29 Jun 2009 17:07:58 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5TH7u6m016119; Mon, 29 Jun 2009 13:07:56 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5TH7tR8012544; Mon, 29 Jun 2009 13:07:55 -0400 Received: from opsy.redhat.com (vpn-225-41.phx2.redhat.com [10.3.225.41]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5TH7sw7010844; Mon, 29 Jun 2009 13:07:55 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 4EA813784C5; Mon, 29 Jun 2009 11:07:54 -0600 (MDT) To: Niko Sams Cc: gdb Subject: Re: Execute code in python pretty printers References: <629542d40906281214x73c3b505nfeb7e7eecfb1f708@mail.gmail.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Mon, 29 Jun 2009 17:08:00 -0000 In-Reply-To: <629542d40906281214x73c3b505nfeb7e7eecfb1f708@mail.gmail.com> (Niko Sams's message of "Sun\, 28 Jun 2009 21\:14\:40 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00302.txt.bz2 >>>>> "Niko" == Niko Sams writes: Niko> For QModelIndex I'd like to show the parent QModelIndex as Niko> child. This reads very strangely :) Niko> So to find out the parent the method has to be executed. Niko> Is this possible? No, we have not implemented inferior function calls on Value yet. Note that even when it does work, it is not the friendliest thing to do. Doing this prevents your pretty-printers from working with core files. Tom