Re: Question concerning array.array and C++

2008-11-05 Thread Hrvoje Niksic
[ Please consider posting to the capi-sig list, which is dedicated to answering questions like yours. http://mail.python.org/mailman/listinfo/capi-sig ] Fabio <[EMAIL PROTECTED]> writes: > Consider the object > > array.array('c',[40,40,40]) > > Can I create such an object from within the C++

Question concerning array.array and C++

2008-11-05 Thread Fabio
Hi All, I have a question concerning the use of array.array inside of C++ code I wrote. I am working with _big_ data files but some entries in these files are usually bounded say between -5 to 40. Returning a Python list makes no sense. In Python I always work with the array.array module which