summaryrefslogtreecommitdiffstats
path: root/README.Coding
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-10-13 23:08:45 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-10-14 00:22:57 +0200
commit27afc3e578d38279085ad2984c8ff2f9e0484540 (patch)
treef4534159b17d119b41415a3c162bc64624e8f7ee /README.Coding
parentbe7a75b29a5481c8a4fd52cc1d7fb2d329f88898 (diff)
downloadsamba-27afc3e578d38279085ad2984c8ff2f9e0484540.tar.gz
samba-27afc3e578d38279085ad2984c8ff2f9e0484540.tar.xz
samba-27afc3e578d38279085ad2984c8ff2f9e0484540.zip
CodingStyle: Add some notes about Python 2.4 compatibility.
Diffstat (limited to 'README.Coding')
-rw-r--r--README.Coding10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.Coding b/README.Coding
index 12997ccf9a..8416290861 100644
--- a/README.Coding
+++ b/README.Coding
@@ -21,9 +21,13 @@ coding style (See Documentation/CodingStyle in the kernel source tree). This
closely matches what most Samba developers use already anyways, with a few
exceptions as mentioned below.
-The coding style for Python code is documented in PEP8, http://www.python.org/pep/pep8.
-If you have ever worked on another free software python project, you are probably
-already familiar with it.
+The coding style for Python code is documented in PEP8,
+http://www.python.org/pep/pep8 (with spaces).
+If you have ever worked on another free software Python project, you are
+probably already familiar with it.
+
+We try to stay compatible with Python 2.4, so please don't rely on any
+features that were introduced later, such as the "with" statement.
But to save you the trouble of reading the Linux kernel style guide, here
are the highlights.