Re: [C++-sig] Extracting base object reference of arbitrary Python object

2015-08-18 Thread Stefan Seefeld
Hi Jeremy, I think you have a fundamental misunderstanding of the Boost.Python API, so I suggest you step back a little to first get a better sense of how the mapping between the two languages works: On 18/08/15 04:38 AM, Jeremy Murphy wrote: > > struct Point : public boost::python::object {} > s

[C++-sig] Extracting base object reference of arbitrary Python object

2015-08-18 Thread Jeremy Murphy
Hi everyone, I have what I assume is a fairly basic or naive question, but I'm still quite new to Boost.Python so after scouring the documentation fruitlessly I need to turn to community wisdom. The short version of my question is: how do I access Python Shapely geometry in C++ using Boost.Python