[GRASS-dev] [GRASS GIS] #3565: Porting Python Scripting Library to Python 3

GRASS GIS trac at osgeo.org
Mon May 21 18:18:43 PDT 2018


#3565: Porting Python Scripting Library to Python 3
--------------------------+-------------------------------
  Reporter:  annakrat     |      Owner:  grass-dev@…
      Type:  task         |     Status:  new
  Priority:  normal       |  Milestone:  8.0.0
 Component:  Python       |    Version:  svn-trunk
Resolution:               |   Keywords:  gsoc2018, python3
       CPU:  Unspecified  |   Platform:  All
--------------------------+-------------------------------

Comment (by annakrat):

 I changed Sanjeet's patch to change the behavior of encode and decode
 functions in utils.py, so that they don't accept anything else than string
 or bytes with Python3. Before they could be used with int, floats and
 None, but it's supposed to do encoding/decoding not converting, that
 should be done explicitly. To not break existing code, new behavior is
 only with Python 3.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3565#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list