Python coding style [was Re: [RFA] New python module gdb.types]

Doug Evans
2010-10-06T21:21:07Z

[note new subject line]

On Wed, Oct 6, 2010 at 2:11 PM, Joel Brobecker <brobecker@adacore.com> wrote:
> The python style is to not have a space before the opening parenthesis.
> [...]
> I think we should try to follow the Python style because it makes it
> easier for Python users to read our code.

Can we, at least as a first pass, adopt this?

http://google-styleguide.googlecode.com/svn/trunk/pyguide.html

Then I don't have to continually switch modes. :-)

[There may be parts that aren't applicable here, but as a first pass,
it's a good start.]