[C++-sig] Just about to release
Greg Hawkins
Greg.Hawkins at softwire.co.uk
Wed Oct 9 21:48:56 CEST 2002
Sure,
Should minor bits like this go to the list or to you or Joel directly? I guess the list is best so you don't get loads of duplicates...
Another one, for instance:
-------
first code example in boost/libs/python/doc/tutorial/doc/basic_interface.html
the 'y' doesn't correspond to the 'f' in the subsequent cpp example. One of them needs fixing.
def f(x, f):
if (y == 'foo'): <<< this y should be f
x[3:7] = 'bar'
else:
x.items += f(3, x)
return x
def getfunc():
return f;
-----------
best,
Greg
-----Original Message-----
From: David Abrahams [mailto:dave at boost-consulting.com]
Sent: 09 October 2002 20:33
To: c++-sig at python.org
Subject: Re: [C++-sig] Just about to release
"Greg Hawkins" <Greg.Hawkins at softwire.co.uk> writes:
> Dave,
>
> I think there's a small glitch in the
> boost/libs/python/doc/tutorial/doc/call_policies.html.
>
> Informs Boost.Python that the lifetime of the argument indicated by
> ward (i.e. the 2nd argument: Z* z) is dependent on the lifetime of the
> argument indicated by custodian (i.e. the 1st argument: Z* z).
>
> should be
>
> Informs Boost.Python that the lifetime of the argument indicated by
> ward (i.e. the 2nd argument: Z* z) is dependent on the lifetime of the
> argument indicated by custodian (i.e. the 1st argument: Y& y).
Thanks, Greg. I'm going to ask Joel to make the appropriate patches
when he gets done sleeping (it's 3AM where he is).
-Dave
--
David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com
_______________________________________________
C++-sig mailing list
C++-sig at python.org
http://mail.python.org/mailman/listinfo/c++-sig
More information about the Cplusplus-sig
mailing list