-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCodingGuidelines
More file actions
21 lines (16 loc) · 836 Bytes
/
CodingGuidelines
File metadata and controls
21 lines (16 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Python Version
==============
The initial release of MysteryMachine is intended to run with the python2.6
interpreter however it is required that any code run under both python2.5
and the '-3' switch in python 2.6 to ensure support for python 3 when pour
libraries support it.
The unit testing framework will do these tests for you if you write useful unit
tests for your code.
Rationale
---------
Sooner or later we are going to have to support python 3.0 as the libraries
we use move over to python3.0. Critically however most linux distributions
seem to have onl got python2.5 in them at this stage. So we are
stuck with enusre we support at least 2.5, and 2.6 . But we need to look forward
to ensure that the code we write isn't going to cause a massive maintenance
burden in the future. Hence we must test with python2.6 -3.