[GRASS-dev] Re: [GRASS GIS] #1646: GRASS ctypes exception handling
GRASS GIS
trac at osgeo.org
Tue Apr 24 08:23:23 EDT 2012
#1646: GRASS ctypes exception handling
-----------------------------------------------------+----------------------
Reporter: huhabla | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Python ctypes | Version: svn-trunk
Keywords: setjmp, longjmp, Exception, gently exit | Platform: All
Cpu: All |
-----------------------------------------------------+----------------------
Comment(by glynn):
Replying to [comment:1 glynn]:
> If you only need coarse-grained fatal-error handling (e.g. calling exit
handlers),
And, in fact, that's all that should be attempted. Fine-grained error
handling is largely pointless given that you cannot safely call GRASS
library functions once a fatal error has been triggered (library functions
are not required to ensure that internal data structures are in a
consistent state before generating a fatal error).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1646#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list