From: Zac Medico Date: Wed, 11 Jan 2012 12:28:56 +0000 (-0800) Subject: DEVELOPING: add "Python Version" section X-Git-Tag: v2.2.0_alpha85~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a7d81d56245f47cc62b6ce8e54481a2592aa20e1;p=portage.git DEVELOPING: add "Python Version" section --- 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 ----