Re: [C++-sig] Cplusplus-sig Digest, Vol 94, Issue 2

2016-08-08 Thread Matthew Conte
can reach the person managing the list at >cplusplus-sig-ow...@python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Cplusplus-sig digest..." > > > Today's Topics: > > 1. Segmentation Fault (cor

Re: [C++-sig] Segmentation Fault (core dumped) on Python 3.5.2 but not Python 2.7.12

2016-08-04 Thread Matthew Conte
I will, thank you. On Thu, Aug 4, 2016 at 1:14 PM, Stefan Seefeld wrote: > Hi Matthew, > > would you mind submitting an issue on > https://github.com/boostorg/python/issues for this. > > Thanks, > Stefan > > On 04.08.2016 13:10, Matthew Conte wrote: > >

[C++-sig] Segmentation Fault (core dumped) on Python 3.5.2 but not Python 2.7.12

2016-08-04 Thread Matthew Conte
So I'm trying to create a boost python module that simply creates and returns a numpy array, but the function crashes (sometimes) and it doesn't ever seem to crash on Python 2. Here's the source code I made: #include #include using namespace boost::python; object create_numpy_array() { npy_in

[C++-sig] Trying to implement a Boost Python stl_forward_iterator

2016-04-28 Thread Matthew Conte
Hello list, I'm having trouble creating a boost python forward iterator to get a numpy array as input of a C++ function that takes an stl begin and end iterator as a template and modifies it, here's the code for the C++ function: *template* *void fill_increasing(_InputIt begin, _InputIt end, type