|
Boost : |
From: rwgk_at_[hidden]
Date: 2001-04-05 12:48:42
--- 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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk