[C++-sig] How to return handle<PyObject>?

Roman Yakovenko roman.yakovenko at gmail.com
Fri Jan 4 21:13:39 CET 2008


On Jan 4, 2008 7:51 PM, Neal Becker <ndbecker2 at gmail.com> wrote:
> I have a function that returns handle<some PyObject>.  What is the best
> return policy?

I think the default one. I think it's better to create
boost::python::object and return it.


-- 
Roman Yakovenko
C++ Python language binding
http://www.language-binding.net/



More information about the Cplusplus-sig mailing list