If x is a C variable of type PyObject*, and I happen to know already that
the object is of a numeric type, say int, is there a way to change the
value of x in place to a different number? In the C/API documentation I
found routines to increment or decrement it in place, but I didn't find a
rou
In my previous posting, I inquired how to change a python numeric object
in place. Several people responded that this is not possible. Perhaps I
should explain the larger problem that I am trying to solve, and then the
solution will become apparent. I have a C routine R that invokes a Python
Is it possible to have an array of 64-bit-ints using the standard Python
array module? On my 64-bit architecture (AMD64, MSVC), both "int" and
"long int" are 32 bit integers. To declare 64-bit ints, one needs either
"long long int" or "size_t". However, according to the Python array
document