From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14149 invoked by alias); 1 Sep 2009 17:35:04 -0000 Received: (qmail 14140 invoked by uid 22791); 1 Sep 2009 17:35:03 -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 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 17:34:54 +0000 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n81HYoGP032037; Tue, 1 Sep 2009 13:34:51 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n81HYok6010716; Tue, 1 Sep 2009 13:34:50 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n81HYnfU000714; Tue, 1 Sep 2009 13:34:49 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id D4F47378211; Tue, 1 Sep 2009 11:34:48 -0600 (MDT) From: Tom Tromey To: Noam Yorav-Raphael Cc: gdb-patches@sourceware.org Subject: Re: Sent a patch to the bug database - Retrieve long long from Python References: Reply-To: tromey@redhat.com Date: Tue, 01 Sep 2009 17:35:00 -0000 In-Reply-To: (Noam Yorav-Raphael's message of "Tue, 1 Sep 2009 10:55:57 +0300") 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 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 X-SW-Source: 2009-09/txt/msg00024.txt.bz2 >>>>> "Noam" == Noam Yorav-Raphael writes: Noam> I just wanted to say that I sent a small bug report + patch to the Noam> bug database, at Noam> http://sourceware.org/bugzilla/show_bug.cgi?id=10583 Noam> (It's about converting from long long ints to python longs) Noam> Is this ok? Do you prefer that I send patches like this directly to Noam> this mailing list? For a non-trivial patch we will need you to fill out copyright assignment papers. This patch is small enough that we can accept it, but if you plan to do any more work on GDB, then it is good to get this out of the way early; send me email off-list and I will get you started. Also, we require ChangeLog entries for patches. See the GNU Coding Standards for information on writing those. I think we should probably look at the value in valpy_int and valpy_long and return the shortest possible of int, long, or long long. The docs for this part of Python seem quite lacking. Tom