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