Convert print to function for Python 3 compatibility.

This commit is contained in:
Mike Croucher 2015-02-26 08:31:44 +00:00
parent 29da6ff065
commit 906f69e20e
5 changed files with 61 additions and 61 deletions

View file

@ -1,13 +1,5 @@
# GPy
# Moving to Python 3
Work is underway to make GPy run on Python 3. We are not there yet! Changes performed so far have retained compatibility with Python 2.6 and abive.
Work done so far:
* Use 2to3 to fix relative imports
* use 2to3 to convert print from statement to function. Some advanced uses of print meant that this could not be done in a way that retained compatibility with old versions of Python. The oldest version of Python that is supported by this version is 2.6 due to the required future imports.
A Gaussian processes framework in Python.
* [GPy homepage](http://sheffieldml.github.io/GPy/)
@ -18,6 +10,14 @@ A Gaussian processes framework in Python.
Continuous integration status: ![CI status](https://travis-ci.org/SheffieldML/GPy.png)
### Moving to Python 3
Work is underway to make GPy run on Python 3. We are not there yet! Changes performed so far have retained compatibility with Python 2.6 and abive.
Work done so far:
* Use 2to3 to fix relative imports
* use 2to3 to convert print from statement to function. Some advanced uses of print meant that this could not be done in a way that retained compatibility with old versions of Python. The oldest version of Python that is supported by this version is 2.6 due to the required future imports.
### Citation
@Misc{gpy2014,