On Thu 19 Jun 2008 at 04:36PM, Danek Duvall wrote:
> On Thu, Jun 19, 2008 at 04:30:47PM -0700, Bart Smaalders wrote:
> 
> > To start the formating discussions,  I'd really like to avoid all the
> > escapes or '\' characters needed to handle our code and 8 space indents;
> > have we considered using 4?
> 
> Four-space indents aren't going to help in all cases.  I'd much rather that
> eight-space indents be used, except in special, limited circumstances where
> no other options really work very well (which likely means that the first
> indent or two will be eight spaces).

I would note that python code I've seen from the SCM transition work has
been 4 spaces.  As is much other python out in the world, due I guess to
PEP8.

My brain will probably never recover if we ditch the beloved
8-space indentation... and yet it probably makes sense to consider
establishing a recommendation for opensolaris projects.  4-spaces is
probably the way to go :p

For the code which is mixing tabs and spaces, should we just invoke
python with '-tt'?  PEP8 indicates that will cause mixed tabs and
spaces to be errors.

        -dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to