[GRASS-dev] [GRASS GIS] #1646: GRASS ctypes exception handling

GRASS GIS trac at osgeo.org
Wed Mar 26 21:07:33 PDT 2014


#1646: GRASS ctypes exception handling
----------------------------+-----------------------------------------------
  Reporter:  huhabla        |       Owner:  grass-dev@…                            
      Type:  enhancement    |      Status:  closed                                 
  Priority:  normal         |   Milestone:  7.0.0                                  
 Component:  Python ctypes  |     Version:  svn-trunk                              
Resolution:  wontfix        |    Keywords:  setjmp, longjmp, Exception, gently exit
  Platform:  All            |         Cpu:  All                                    
----------------------------+-----------------------------------------------
Changes (by wenzeslaus):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 What is the current status and opinion on this? Does RPC approach (with
 Python multiprocessing) from #2134 solves this issue or does it at least
 say how this should be implemented? One cleanup handler with
 `FatalErrorException` or wrapper for each function exposed by ctypes sound
 interesting (and also some C and C++ applications might appreciate some
 `set_error_routine` but we already had this discussion). According to
 commits related to #2134, I would say that this is wontfix, so I'm closing
 this ticket (reopen if I'm mistaken).

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1646#comment:5>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list