root/CodingGuidelines

Revision 0:1a6ed8f28ccf, 0.8 KB (checked in by Roger Gammans <rgammans@…>, 21 months ago)

Import of basic files

Line 
1Python Version
2==============
3
4The initial release of MysteryMachine is intended to run with the python2.6
5interpreter however it is required that any code run under both python2.5
6and the '-3' switch in python 2.6 to ensure support for python 3 when pour
7libraries support it.
8
9The unit testing framework will do these tests for you if you write useful unit
10tests for your code.
11
12Rationale
13---------
14Sooner or later we are going to have to support python 3.0 as the libraries
15we use move over to python3.0. Critically however most linux distributions
16seem to have onl got python2.5 in them at this stage. So we are
17stuck with enusre we support at least 2.5, and 2.6 . But we need to look forward
18to ensure that the code we write isn't going to cause a massive maintenance
19burden in the future. Hence we must test with python2.6 -3.
20
21
Note: See TracBrowser for help on using the browser.