[GRASS-dev] [GRASS GIS] #3739: lib/python/ctypes/ctypesgencore/parser/lextab.py changes after compilation.

GRASS GIS trac at osgeo.org
Wed Jan 30 08:51:59 PST 2019


#3739: lib/python/ctypes/ctypesgencore/parser/lextab.py changes after compilation.
------------------------+-------------------------
  Reporter:  pmav99     |      Owner:  grass-dev@…
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  7.8.0
 Component:  Compiling  |    Version:  svn-trunk
Resolution:             |   Keywords:
       CPU:  x86-64     |   Platform:  Linux
------------------------+-------------------------

Comment (by pmav99):

 Not really. I don't have much experience with ctypes, but I am under the
 impression that this will file will be different under each python version
 (2.7 vs 3.6/3.7). Maybe even under different minor versions too but I
 haven't checked it.

 So if it gets committed for Python 3, I guess that there is going to be a
 dirty `svn diff` under Python 2.

 Furthermore, since this file is clearly changing when GRASS is compiled, I
 am not really sure why it is added to the repo, instead of getting
 generated upon compilation.

 Finally, there have already been 2 instances where the file was
 accidentally added to the repo, only to be removed right away:
 https://trac.osgeo.org/grass/log/grass/trunk/lib/python/ctypes/ctypesgencore?rev=74047

 So, before deciding on a course of action, I think it is better to further
 investigate how it is being used/generated. This might provide some
 insight: #3331

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



More information about the grass-dev mailing list