public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* Python coding style [was Re: [RFA] New python module gdb.types]
@ 2010-10-06 21:21 Doug Evans
  2010-10-06 21:37 ` Phil Muldoon
  2010-10-06 22:25 ` Python coding style Tom Tromey
  0 siblings, 2 replies; 8+ messages in thread
From: Doug Evans @ 2010-10-06 21:21 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

[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.]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-10-08 21:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-06 21:21 Python coding style [was Re: [RFA] New python module gdb.types] Doug Evans
2010-10-06 21:37 ` Phil Muldoon
2010-10-06 22:23   ` Joel Brobecker
2010-10-07  8:01     ` Phil Muldoon
2010-10-08 15:17       ` Joel Brobecker
2010-10-06 22:25 ` Python coding style Tom Tromey
2010-10-08 21:20   ` Doug Evans
2010-10-08 21:35     ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).