[C++-sig] The C language for Python programmers --- PythoidC

2010-03-08 Thread CHEN Guang
Hi, if you want to write and run C code in Python IDE with auto-completion if you want to introspect into C functions and data structs if you hate the {} and ; and the DOS window (console) Please take a look at: http://pythoidc.googlecode.com PythoidC is the C language like the Python, by the Py

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Stefan Seefeld
On 03/08/2010 04:57 PM, Jim Bosch wrote: Hmm, this is a good point: By compiling the numpy wrapper as part of boost.python, we would make numpy a prerequisite for boost.python, which isn't a good idea. So keeping it header-only may be better. I'm still not sure what your concern is with the num

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Jim Bosch
On Mon, 2010-03-08 at 14:38 -0500, Stefan Seefeld wrote: > To me, the most important feature in adding proper PyArray support to > boost.python is the ability to access the much richer API, such as > direct-data access via PyArr_DATA, PyArr_GETPTRX, etc., which allow me > to build my own adapte

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Stefan Seefeld
On 03/08/2010 02:11 PM, Jim Bosch wrote: I think it would be useful to integrate the PyArray wrapper right into boost.python. I generally agree, but I dislike the idea of including the numpy C-API header file in all its preprocessor-macro glory in a file which will be included by users,

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Jim Bosch
On Mon, 2010-03-08 at 13:40 -0500, Stefan Seefeld wrote: > On 03/08/2010 01:30 PM, Neal Becker wrote: > > > > Check out pyublas > > > > Thanks for mentioning that. > > Yes, this looks very useful. In fact, my PyArray wrapper was inspired by > pyublas. Definitely useful, and from what I've s

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Stefan Seefeld
On 03/08/2010 01:30 PM, Neal Becker wrote: Check out pyublas Thanks for mentioning that. Yes, this looks very useful. In fact, my PyArray wrapper was inspired by pyublas. I think it would be useful to integrate the PyArray wrapper right into boost.python. Other libraries which provide

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Neal Becker
>Jim Bosch wrote: > On Mon, 2010-03-08 at 08:08 -0500, Stefan Seefeld wrote: >> On 03/08/2010 07:32 AM, Pim Schellart wrote: >> > Hello Everyone, >> > >> > we are working on a project for which it would be extremely useful if >> > numpy arrays could be passed as arguments to wrapped C++ methods. >

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Stefan Seefeld
On 03/08/2010 01:20 PM, Jim Bosch wrote: I have fairly complete library along these lines that I have been slowly cleaning up for public release, and I could probably submit a fairly complete proposal over the next few weeks if there is interest. It's met my needs quite well over the past few y

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Jim Bosch
On Mon, 2010-03-08 at 08:08 -0500, Stefan Seefeld wrote: > On 03/08/2010 07:32 AM, Pim Schellart wrote: > > Hello Everyone, > > > > we are working on a project for which it would be extremely useful if > > numpy arrays could be passed as arguments to wrapped C++ methods. > > On the website I cannot

Re: [C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Stefan Seefeld
On 03/08/2010 07:32 AM, Pim Schellart wrote: Hello Everyone, we are working on a project for which it would be extremely useful if numpy arrays could be passed as arguments to wrapped C++ methods. On the website I cannot find any evidence that this is currently supported by Boost Python. Is this

[C++-sig] Status of Numpy support in boost python

2010-03-08 Thread Pim Schellart
Hello Everyone, we are working on a project for which it would be extremely useful if numpy arrays could be passed as arguments to wrapped C++ methods. On the website I cannot find any evidence that this is currently supported by Boost Python. Is this (or will this be) implemented? Kind regards,