Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2013-08-23 16:51:58
Size: 564
Editor: TomTromey
Comment: fix formatting
Revision 4 as of 2018-11-23 18:20:23
Size: 555
Editor: SimonMarchi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
GDB follows the published {{{Python}}} coding standards in [http://www.python.org/dev/peps/pep-0008/ {{{PEP008}}}]. GDB follows the published {{{Python}}} coding standards in [[http://www.python.org/dev/peps/pep-0008/|PEP008]].
Line 5: Line 5:
In addition, the guidelines in the [http://google-styleguide.googlecode.com/svn/trunk/pyguide.html Google Python Style Guide] are also followed where they do not conflict with {{{PEP008}}}. In addition, the guidelines in the [[https://github.com/google/styleguide/blob/gh-pages/pyguide.md|Google Python Style Guide]] are also followed where they do not conflict with PEP008.

GDB Python Coding Standards

GDB follows the published Python coding standards in PEP008.

In addition, the guidelines in the Google Python Style Guide are also followed where they do not conflict with PEP008.

GDB-specific exceptions

There are a few exceptions to the published standards. They exist mainly for consistency with the C standards.

  • Use FIXME instead of TODO.

None: Internals GDB-Python-Coding-Standards (last edited 2022-03-18 15:53:24 by SimonMarchi)

All content (C) 2008 Free Software Foundation. For terms of use, redistribution, and modification, please see the WikiLicense page.