[C++-sig] Re: object.slice() infinite recursion bug

David Abrahams dave at boost-consulting.com
Sun Jan 4 14:42:19 CET 2004


Jonathan Brandmeyer <jbrandmeyer at earthlink.net> writes:

> This simple test demonstrates a bug in Boost.Python that results in
> infinite recursion (and a subsequent crash) whenever you make a slice
> using slice_nil for the upper and lower bounds.
>
> I originally discovered it with the array class, but it also exists in
> the object class, so that is what I'm putting up here.
>
> This crash is exhibited with 1.30 and CVS HEAD using both Python 2.2 and
> Python 2.3 with GCC 3.3.2.

Now fixed in CVS.  Thanks for the report!

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





More information about the Cplusplus-sig mailing list