[GRASS-dev] [GRASS GIS] #2326: Command functions in grass.script.core miss a correct error reporting

GRASS GIS trac at osgeo.org
Wed Oct 8 02:34:41 PDT 2014


#2326: Command functions in grass.script.core miss a correct error reporting
--------------------------------+-------------------------------------------
 Reporter:  wenzeslaus          |       Owner:  grass-dev@…              
     Type:  enhancement         |      Status:  new                      
 Priority:  major               |   Milestone:  7.1.0                    
Component:  Python              |     Version:  svn-trunk                
 Keywords:  script, exceptions  |    Platform:  All                      
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------

Comment(by glynn):

 Replying to [comment:20 wenzeslaus]:

 > This is a serious change which will require a lot of testing in both
 modules (core and addons) and GUI. What are the opinions on doing
 something like that?

 The existing behaviour is wrong and should be fixed before 7.0 is
 released.

 > The alternative is to go for 7.x and probably even further (8.x) with
 the current unsafe but broadly used API

 The Python scripting API is new in 7.0, which hasn't been released yet.
 The fundamental feature of 7.0 was that we get to break compatibility for
 the sake of correctness, so it makes no sense break correctness for the
 sake of compatibility with something which hasn't even been released.

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



More information about the grass-dev mailing list