Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-04-05 19:07:06


Thank you, Ralf!

----- Original Message -----
From: <rwgk_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, April 05, 2001 1:48 PM
Subject: [boost] Re: Bug in Python string conversion

> --- In boost_at_y..., "David Abrahams" <abrahams_at_m...> wrote:
> >
> > > Looking at this again, it seems to me that the from_python()
> > > converter needs some work. Either something like
> > > const char* s = PyString_AsString(p);
> > > if (!s)
> > > throw boost::python::argument_error();
> > > or maybe
> > > if (! PyString_Check(p)) ...
> >
> > I like the latter one. Would you care to make the fix?
>
> Done.
>
>
>
> To unsubscribe, send email to: <mailto:boost-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk