[omniORB-dev] String exceptions in cxx omniidl backend

Floris Bruynooghe flub at devork.be
Tue Jul 27 00:39:23 BST 2010


Hi Duncan

On Sat, Jun 19, 2010 at 12:56:48PM +0100, Duncan Grisby wrote:
> On Thu, 2010-06-17 at 20:14 +0100, Floris Bruynooghe wrote:
> 
> > The cxx backend of omniidl still uses string exceptions, which no
> > longer work in Python 2.6
[...]
> As you say, those exceptions are nothing to do with any standards. They
> are in fact essentially all assertion failures. If they are ever
> encountered, it's because of a bug in the omniidl back-end. I'll
> certainly incorporate a patch that removes them, but I'd suggest turning
> them into assertions rather than creating exception classes.

Attached is a patch that does this.  It's pretty trivial but it sounds
like that's all required.

Regards
Floris

-- 
Debian GNU/Linux -- The Power of Freedom
www.debian.org | www.gnu.org | www.kernel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: string_exc.diff
Type: text/x-diff
Size: 3365 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-dev/attachments/20100726/080d962e/string_exc.bin


More information about the omniORB-dev mailing list