Received: from eggs.gnu.org ([208.118.235.92]:41527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDf6g-0005xx-52 for qemu-devel@nongnu.org; Fri, 30 Mar 2012 12:55:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDf6b-0000Ak-Cs for qemu-devel@nongnu.org; Fri, 30 Mar 2012 12:55:21 -0400 Received: from roura.ac.upc.edu ([147.83.33.10]:57047 helo=roura.ac.upc.es) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDf6b-0000AE-2R for qemu-devel@nongnu.org; Fri, 30 Mar 2012 12:55:17 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <20120327194910.7241.47693.stgit@ginnungagap.bsc.es> <20120327194918.7241.10931.stgit@ginnungagap.bsc.es> <20120330072716.GA16437@stefanha-thinkpad.localdomain> Date: Fri, 30 Mar 2012 18:55:16 +0200 In-Reply-To: <20120330072716.GA16437@stefanha-thinkpad.localdomain> (Stefan Hajnoczi's message of "Fri, 30 Mar 2012 08:27:16 +0100") Message-ID: <8762dmt4ej.fsf@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [RFC PATCH v3 1/8] tracetool: Rewrite infrastructure as python modules List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org Stefan Hajnoczi writes: >> + kwargs = {} >> + >> + try: >> + tracetool.generate(sys.stdin, arg_format, arg_backend, **kwargs) > If forgot to ask what kwargs is doing here? Can we default to {}? > Otherwise let's drop it for now since there are no options defined yet. It's used later in the patch adding dtrace support. I just thought it would be better to maintain the interface of 'tracetool.generate' instead of adding new parameters later when necessary. Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth