If I remember correctly there is a len() function on the boost::python::object
class.
len() is documented at the bottom of this page . . .
https://www.boost.org/doc/libs/1_66_0/libs/python/doc/html/reference/object_wrappers/boost_python_object_hpp.html
I can’t help with the ambiguity.
From: C
You may need to set PYTHONPATH. Search for PYTHONPATH on this page for a
description.
https://docs.python.org/3/using/cmdline.html
From: Cplusplus-sig
[mailto:cplusplus-sig-bounces+torrin.jones=baesystems@python.org] On Behalf
Of Andrew Voelkel
Sent: Wednesday, May 22, 2019 10:56 AM
To:
] Python support in boost::python (what version)
*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.
On 2019-05-20 11:20 a.m., Jones, Torrin A (US) wrote:
For clarity, my boss is asking, "what version of python does boost python
support?" I was
message originates from outside our organization.
On 2019-05-16 3:43 p.m., Jones, Torrin A (US) wrote:
What version of python does boost::python officially support?
Anything above version 2.2
I noticed in the python build file (see link below), it will only find from
version 1.5 to 3.4. Does this mean tha
What version of python does boost::python officially support? I noticed in the
python build file (see link below), it will only find from version 1.5 to 3.4.
Does this mean that boost python really only supports up to 3.4? Folks do
appear to be using other versions, but the fact that this onl
This worked very well thanks.
-Original Message-
From: Stefan Ring [mailto:stefan...@gmail.com]
Sent: Tuesday, March 05, 2019 12:04 PM
To: Development of Python/C++ integration
Cc: Jones, Torrin A (US)
Subject: Re: [C++-sig] Calling python function repr from C++ using boost.python
Is it possible to call repr from C++ on a C++ object that can be converted to
python? Let me explain.
I have an enum that I converted to python using boost::python::enum_(). That
class already provides a good repr() to python (thanks to the boost::python
developers for that). However that en