Hi all. I am not sure whether you see my post on Boost.Python mailing list, so
will repost it here.
I created new and cool call policy: return_range.
Class return_range is a model of CallPolicies, which can be used to
wrap C++ functions that return a pointer to some array. The new call
policy constructs object, which provides a regular Python sequence
For more information refer to documentation:
C++ Python language binding