WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] replace tabs with spaces of Python code

To: Jacob Gorm Hansen <jacobg@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] replace tabs with spaces of Python code
From: aq <aquynh@xxxxxxxxx>
Date: Thu, 19 May 2005 09:48:46 +0900
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 19 May 2005 00:48:12 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CzOHDMCIWzBgV5SjtDHJcR+YvoH361S8oa0a/t7B90nPbbw4gdC5PhiFOjZHuJdgSVUqNtQJKNUPafobq5iGuBM7HSCDucJ88lFgoVUi/3RWNUWphi7c7TRARdqWj6H70iL5i3AaFG9G0NarQCG2E8dZ7AgAS+Fy4dU/a95c6bg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <428B9EAC.2070908@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <9cde8bff05051811584868a6a3@xxxxxxxxxxxxxx> <428B9EAC.2070908@xxxxxxx>
Reply-to: aq <aquynh@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 5/19/05, Jacob Gorm Hansen <jacobg@xxxxxxx> wrote:
> aq wrote:
> > hello,
> >
> > there are many Python codes in tools/ that mix tab and space for
> > indentation, which might introduce some silly and hidden bugs. this is
> > a serious problem and must be avoid at all cost.
> 
> I would suggest doing the opposite, like Linux does, but I guess this is
> mostly a matter of taste (i.e. your's is bad and mine is good ;-))

because most of code in Xen use spaces to indent, so it takes less
time/effort to convert/check if we change tab to spaces. so it is
wiser not to do the opposite :-)

regards,
aq

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel