[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: Jacob Gorm Hansen <jacobg@xxxxxxx>
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.