[C++-sig] Bug and patch for boost.python with enable_shared_from_this
Edson Tadeu
e.tadeu at gmail.com
Thu Feb 28 20:45:32 CET 2008
Any news on this issue? Will this patch get into Boost 1.35?
Thanks,
Edson
On Wed, Feb 13, 2008 at 5:27 PM, Ralf W. Grosse-Kunstleve <rwgk at yahoo.com>
wrote:
> Hi Chad,
>
> Could you at least ask Peter Dimov if he thinks the
> dont_enable_shared_from_this patch could be generally useful?
> Maybe he's OK adding it, then it wouldn't be a big deal
> fixing Boost.Python, which would probably prevent a lot of
> confusion and lost time in the future.
>
> http://www.boost.org/people/peter_dimov.htm
> p-d-i-m-o-v-at-m-m-l-t-d-dot-n-e-t
>
> Ralf
>
> ----- Original Message ----
> From: Chad Austin <chad at imvu.com>
> To: Development of Python/C++ integration <c++-sig at python.org>
> Sent: Monday, February 11, 2008 10:10:31 PM
> Subject: Re: [C++-sig] Bug and patch for boost.python with
> enable_shared_from_this
>
> There probably is a way to prevent boost.python from creating
> shared_ptrs with a null deleter like it does, but it would require far
> more knowledge than I have. :)
>
> I agree that it would be a better fix, though.
>
> On 2/11/08, Ralf W. Grosse-Kunstleve <rwgk at yahoo.com> wrote:
> >
> >
> >
> > Thanks for the patch! I'd love to check this in for you, but for the
> > change in shared_ptr.hpp you'll need Peter Dimov's approval, and the
> > shared_ptr documentation would have to be updated. Also, your reproducer
> > should be turned into a unit test (in boost/libs/python/test).
> >
> > Is there any chance that the shared_ptr patch could somehow be avoided?
> >
> > Ralf
> >
> >
> >
> > ----- Original Message ----
> > From: Chad Austin <chad at imvu.com>
> > To: c++-sig at python.org
> > Sent: Sunday, February 10, 2008 5:14:45 PM
> > Subject: [C++-sig] Bug and patch for boost.python with
> enable_shared_from_this
> >
> > Hi all,
> >
> > A month ago or so we discovered a bug in Boost.Python that manifests
> when using enable_shared_from_this. Here is a test case that demonstrates
> the bug:
> >
> > ...
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20080228/3f9dcd81/attachment.htm>
More information about the Cplusplus-sig
mailing list