Differences between revisions 1 and 2
Revision 1 as of 2013-08-20 23:40:51
Size: 723
Editor: StanShebs
Comment: Import from gdbint.texinfo
Revision 2 as of 2013-08-23 16:51:58
Size: 564
Editor: TomTromey
Comment: fix formatting
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
''This page was produced by an automated import process, and may have formatting errors; feel free to fix.''
Line 4: Line 2:

  
Line 9: 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}}}.   [GDB_002dspecific-exceptions ] 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}}}.
Line 13: Line 9:
   

GDB Python Coding Standards

GDB follows the published Python coding standards in [http://www.python.org/dev/peps/pep-0008/ PEP008].

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.

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.