On Mon, Jan 13, 2014 at 4:25 PM, Moritz Lennert
<[email protected]> wrote:
> Issues I think might need attention (but this is without verification within
> the grass python code):
>
> - Print Is A Function
> - Views And Iterators Instead Of Lists
> - PEP 0238: An expression like 1/2 returns a float. Use 1//2 to get the
> truncating behavior.
> - Text Vs. Data Instead Of Unicode Vs. 8-bit

Perhaps we can insert the following import statement in all the python
scripts that we want to make compatible with python3

from __future__ import (nested_scopes, generators, division,
absolute_import, with_statement, print_function, unicode_literals)

so we can start slowly to move from python2 => python3
what do you think?

Pietro
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to