summaryrefslogtreecommitdiffstats
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
parent93bff8841e53b7a47dedc0509d4986e79b4e71a3 (diff)
downloadportage-a7d81d56245f47cc62b6ce8e54481a2592aa20e1.tar.gz
portage-a7d81d56245f47cc62b6ce8e54481a2592aa20e1.tar.bz2
portage-a7d81d56245f47cc62b6ce8e54481a2592aa20e1.zip
DEVELOPING: add "Python Version" section
-rw-r--r--DEVELOPING8
1 files changed, 8 insertions, 0 deletions
diff --git a/DEVELOPING b/DEVELOPING
index 2c98ddba5..fa17a3977 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
----