From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9324 invoked by alias); 23 Jun 2009 16:24:17 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 9306 invoked by uid 22791); 23 Jun 2009 16:24:15 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Date: Tue, 23 Jun 2009 16:24:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Project Archer Subject: Re: [python] Implement value reference counting Message-ID: <20090623162404.GA24593@caradoc.them.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) X-SW-Source: 2009-q2/txt/msg00188.txt.bz2 On Mon, Jun 22, 2009 at 01:15:20PM -0600, Tom Tromey wrote: > I'm checking this in on the python branch. > > This implements reference counting for 'struct value'. > This fixes a crash that was reported here. A regression test is > included. > > The reference counting is a bit odd -- the "increment reference" > operation is called "release_value", for historical reasons. > I may change this when I submit it upstream. Could I persuade you to submit this upstream soonish? I have another bug I've been meaning to fix for two years, involving bitfields, that would be much more straightforward with reference counting. -- Daniel Jacobowitz CodeSourcery