[Numpy-discussion] Python 3 compatible examples (original) (raw)
Pauli Virtanen pav at iki.fi
Fri Jun 1 16:22:20 EDT 2018
- Previous message (by thread): [Numpy-discussion] Python 3 compatible examples
- Next message (by thread): [Numpy-discussion] Python 3 compatible examples
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
pe, 2018-06-01 kello 14:17 -0600, Charles R Harris kirjoitti:
This post is prompted by this PR <https://github.com/numpy/numpy/pull_ _/11222>. It would be good to come up with a timeline and plan for rewriting the examples to be Python 3 compatible. When we do so, we should also make it assumed that
from _future_ import printfunction
has been executed when the examples are executed in Python 2.7. Might want to includedivision
in that future import as well.Anyway, wanted to raise the subject. Thoughts?
For Scipy, we converted the examples in the documentation to Python 3, and have essentially ignored Python 2 compatibility. So far, I remember no complaints about it.
Pauli
- Previous message (by thread): [Numpy-discussion] Python 3 compatible examples
- Next message (by thread): [Numpy-discussion] Python 3 compatible examples
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]