I was exploring the boost C++ library support for Python 3 extensions with 
Python3.5 using a built-from-source copy of pypy using the py3.5 branch.  Below 
are the errors I encountered.

Are these expected problems that someone is working on?
Should someone be working on them?
Or is this intended behavior and I should adapt boost?

Thanks
--david


libs/python/src/exec.cpp: In function ‘boost::python::api::object 
boost::python::exec_file(boost::python::str, boost::python::api::object, 
boost::python::api::object)’:
libs/python/src/exec.cpp:89:30: error: ‘_Py_fopen’ was not declared in this 
scope
   FILE *fs = _Py_fopen(f, "r");
                              ^

libs/python/src/wrapper.cpp: In member function ‘boost::python::override 
boost::python::detail::wrapper_base::get\_override(const char*, PyTypeObject*) 
const’:
libs/python/src/wrapper.cpp:28:50: error: ‘struct PyMethodObject’ has no member 
named ‘im_self’
>                   && ((PyMethodObject*)m.get())->im_self == this->m_self
                                                  ^
libs/python/src/wrapper.cpp:37:61: error: ‘struct PyMethodObject’ has no member 
named ‘im_func’
               if (borrowed_f != ((PyMethodObject*)m.get())->im_func)
                                                             ^



_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to