aboutsummaryrefslogtreecommitdiffstats
path: root/DEVELOPING
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-01-11 04:28:56 -0800
committerZac Medico <zmedico@gentoo.org>2012-01-11 04:28:56 -0800
commita7d81d56245f47cc62b6ce8e54481a2592aa20e1 (patch)
tree6cb31146988113533be4677d41a07b8798faf285 /DEVELOPING
parentDEVELOPING: remove section about string module (diff)
downloadgentoo-portage-a7d81d56245f47cc62b6ce8e54481a2592aa20e1.tar.xz
gentoo-portage-a7d81d56245f47cc62b6ce8e54481a2592aa20e1.zip
DEVELOPING: add "Python Version" section
Diffstat (limited to 'DEVELOPING')
-rw-r--r--DEVELOPING8
1 files changed, 8 insertions, 0 deletions
diff --git a/DEVELOPING b/DEVELOPING
index 2c98ddba5778..fa17a3977e7e 100644
--- a/DEVELOPING
+++ b/DEVELOPING
@@ -5,6 +5,14 @@ sense, they are pretty basic and mostly apply to old code. However for people
who are looking at current code, they make take up bad habits that exist in the
current codebase.
+Python Version
+--------------
+
+Python 2.6 is the minimum supported version, since it is the first version to
+support Python 3 syntax. All exception handling should use Python 3 'except'
+syntax, and the print function should be used instead of Python 2's print
+statement (from __future__ import print_function).
+
Tabs
----