[C++-sig] boost.python: no overflow checking for unsigned int parameters ?

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Tue Jun 23 11:10:10 CEST 2009


Thanks for your work! I'm out of town, back in a couple weeks. I'll integrate your
changes when I'm back (unless anyone else gets to it before I'm back).
Ralf



----- Original Message ----
From: Anderson Lizardo <anderson.lizardo at openbossa.org>
To: Development of Python/C++ integration <cplusplus-sig at python.org>
Sent: Thursday, June 18, 2009 6:08:20 AM
Subject: Re: [C++-sig] boost.python: no overflow checking for unsigned int parameters ?

On Mon, Jun 15, 2009 at 4:23 PM, Ralf W. Grosse-Kunstleve<rwgk at yahoo.com> wrote:
>
> If you send me a patch (against the boost trunk) I'll test it and check it in.
> Probably, the file to be changed is
>  boost/libs/python/src/converter/builtin_converters.cpp
> I'd try working with
>  boost/numeric/conversion/cast.hpp

Done. See https://svn.boost.org/trac/boost/ticket/3189 and the patch
attached to it.

Note the patch still lacks the addition of a test to the test suite.
I'm working on it, but you can test it in advance.

Regards,
-- 
Anderson Lizardo
OpenBossa Labs - INdT
Manaus - Brazil



More information about the Cplusplus-sig mailing list