Hi,
I haven't used the raw mach API's yet, so can't help you here. I must
say that this looks like a pretty evil API. I wonder why they didn't
use a manually passed in callback function like sane APIs.
Ronald
On Dec 11, 2006, at 11:43 PM, Charlie Miller wrote:
Is it possible to monitor f
On Dec 11, 2006, at 9:20 PM, Russell E. Owen wrote:
I've been trying out ctypes (from MacPython 2.5) on MacOS X on a
PPC Mac
and have run into a problem. I hope I'm just doing something
stupid, but
it seems to match the tutorial so I'm really puzzled:
I can reproduce this on an intel syst
Paris (U.E.), le 12/12/2006
Bonjour
On Mon Dec 11 21:20:23 CET 2006, Russell E. Owen wrote:
> Other suggestions are welcome. We'll mostly be interfacing to C++ so
> I've considered trying out Boost, but it hasn't had an update in years
> which worries me. Robustness, ease of use and spee
I've done this two ways. Which is better or safer?
Say I'm passing a NumPy array (float) to a C
extension. One way to "parse" it is (ignoring checks
on return values, etc. for now),
PyArrayObject *mat;
PyArg_ParseTuple(args, "O!", &PyArray_Type, &mat);
or is this better,
PyObject *Pymat
YIKES. That one line should read
mat=PyArray_ContiguousFromObject(Pymat,NPY_DOUBLE,2,2);
Very sorry.
--- Lou Pecora <[EMAIL PROTECTED]> wrote:
> I've done this two ways. Which is better or safer?
>
> Say I'm passing a NumPy array (float) to a C
> extension. One way to "parse" it is (ignorin
Lou,
This type of question is best posed on the numpy list:
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Lou Pecora wrote:
>> PyArrayObject *mat;
>> PyArg_ParseTuple(args, "O!", &PyArray_Type, &mat);
If you do this, you then need to check and see if the array that got
passe
Thanks for the answers, Chris. A few comments and
questions beyond what I asked and you answered:
--- Christopher Barker <[EMAIL PROTECTED]> wrote:
> Lou,
>
> This type of question is best posed on the numpy
> list:
>
>
http://projects.scipy.org/mailman/listinfo/numpy-discussion
Ah, yet anoth
On 10-Dec-06, at 1:37 PM, Ronald Oussoren wrote:
> The problem is that py2app/bundletemplate/prebuild/main in the
> py2app distribution is an intel-only binary (at least in the
> current trunk) instead of a universal binary.
>
> Removing the file and running 'setup.py' in the bundletemplate