[GRASS-dev] [GRASS GIS] #3446: GRASS python library is not working with python 3

GRASS GIS trac at osgeo.org
Wed Mar 21 06:58:26 PDT 2018


#3446: GRASS python library is not working with python 3
---------------------+-----------------------------------
  Reporter:  lrntct  |      Owner:  grass-dev@…
      Type:  defect  |     Status:  new
  Priority:  major   |  Milestone:  7.4.1
 Component:  Python  |    Version:  7.2.1
Resolution:          |   Keywords:  python python3 ctypes
       CPU:  x86-64  |   Platform:  Linux
---------------------+-----------------------------------

Comment (by martinl):

 BTW, currently ctypes compilation with Python3 enabled fails with

 {{{
 python3 -t -m py_compile /var/local/src/grass7_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/lib/vector.py
   File "/var/local/src/grass7_trunk/dist.x86_64-pc-linux-
 gnu/etc/python/grass/lib/vector.py", line 5779
     PORT_LONG_MAX = 2147483647L
                               ^
 SyntaxError: invalid syntax
 }}}

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



More information about the grass-dev mailing list