[pyorbit] pyorbit changes

James Henstridge james at daa.com.au
Mon Sep 13 10:37:03 EDT 1999


I just checked in a few changes to pyorbit today.  The first few were to
make it compile easier if the various libraries were installed in
different locations.  It does this using orbit-config and libIDL-config.

I also put in a number of checks to make sure we weren't creating python
wrappers for nil objects.  This greatly reduces the number of segfaults
when playing around with the bindings.

I also added a bit of code so that CORBA exceptions get converted to
python exceptions.  It gets round the problem in the current code where
exceptions never get reset by calling CORBA_exception_init after
converting the exception.

Each of the routines that can cause CORBA exceptions should really be
calling CORBA_exception_init themselves before any CORBA method
invocations.  I am also not sure whether it is worth keeping a
CORBA_Environment structure associated with each object.

James.

--
Email: james at daa.com.au
WWW:   http://www.daa.com.au/~james/






More information about the pyorbit mailing list