1 |
commit: a7d81d56245f47cc62b6ce8e54481a2592aa20e1 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 11 12:28:56 2012 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 11 12:28:56 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a7d81d56 |
7 |
|
8 |
DEVELOPING: add "Python Version" section |
9 |
|
10 |
--- |
11 |
DEVELOPING | 8 ++++++++ |
12 |
1 files changed, 8 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/DEVELOPING b/DEVELOPING |
15 |
index 2c98ddb..fa17a39 100644 |
16 |
--- a/DEVELOPING |
17 |
+++ b/DEVELOPING |
18 |
@@ -5,6 +5,14 @@ sense, they are pretty basic and mostly apply to old code. However for people |
19 |
who are looking at current code, they make take up bad habits that exist in the |
20 |
current codebase. |
21 |
|
22 |
+Python Version |
23 |
+-------------- |
24 |
+ |
25 |
+Python 2.6 is the minimum supported version, since it is the first version to |
26 |
+support Python 3 syntax. All exception handling should use Python 3 'except' |
27 |
+syntax, and the print function should be used instead of Python 2's print |
28 |
+statement (from __future__ import print_function). |
29 |
+ |
30 |
Tabs |
31 |
---- |