[GRASS-dev] [GRASS GIS] #2708: Run GRASS with Python3

GRASS GIS trac at osgeo.org
Sun Nov 26 13:39:25 PST 2017


#2708: Run GRASS with Python3
--------------------------+-------------------------
  Reporter:  zarch        |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.4.0
 Component:  Default      |    Version:  unspecified
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+-------------------------

Comment (by wenzeslaus):

 In [changeset:"71849" 71849]:
 {{{
 #!CommitTicketReference repository="" revision="71849"
 doc: Python 3 compatibility (see #2708)

 Decode file content on input in 3, leave as in in 2.
 Call constructor of parent class (Python 3 version needs to init a var).
 Call less efficient items() in Python 2 (same code in both, although
 slower in 2, ok here).
 This avoids compile (mkhtml) errors in most of the directories with Python
 3.5.2 as python.
 }}}

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



More information about the grass-dev mailing list