[GRASS-dev] [GRASS GIS] #2127: Python implementation of g.message

GRASS GIS trac at osgeo.org
Tue Nov 12 07:22:38 PST 2013


#2127: Python implementation of g.message
--------------------------+-------------------------------------------------
  Reporter:  huhabla      |       Owner:  grass-dev@…              
      Type:  enhancement  |      Status:  closed                   
  Priority:  normal       |   Milestone:  7.0.0                    
 Component:  Python       |     Version:  svn-trunk                
Resolution:  fixed        |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  All                      
--------------------------+-------------------------------------------------

Comment(by glynn):

 Replying to [comment:2 wenzeslaus]:

 > It seems to me that better option is to use `G_message()` etc through
 `ctypes`.

 Using ctypes for this is overkill.

 Python's standard library intentionally doesn't use ctypes, so that sites
 can remove it if they so wish (it's considered a risk factor).

 grass.script is supposed to be a support library for scripts, not a Python
 wrapper around the GRASS libraries.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2127#comment:6>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list