diff options
Diffstat (limited to 'numpy/doc/pyrex/numpyx.c')
-rw-r--r-- | numpy/doc/pyrex/numpyx.c | 204 |
1 files changed, 107 insertions, 97 deletions
diff --git a/numpy/doc/pyrex/numpyx.c b/numpy/doc/pyrex/numpyx.c index 45e22594e..62db8aee1 100644 --- a/numpy/doc/pyrex/numpyx.c +++ b/numpy/doc/pyrex/numpyx.c @@ -1,10 +1,16 @@ -/* Generated by Pyrex 0.9.2.1 on Sun Mar 12 19:19:16 2006 */ +/* Generated by Pyrex 0.9.4.1 on Fri Jun 30 17:22:06 2006 */ #include "Python.h" #include "structmember.h" #ifndef PY_LONG_LONG #define PY_LONG_LONG LONG_LONG #endif +#ifdef __cplusplus +#define __PYX_EXTERN_C extern "C" +#else +#define __PYX_EXTERN_C extern +#endif +__PYX_EXTERN_C double pow(double, double); #include "stdlib.h" #include "numpy/arrayobject.h" @@ -26,7 +32,7 @@ static void __Pyx_WriteUnraisable(char *name); /*proto*/ static void __Pyx_AddTraceback(char *funcname); /*proto*/ static PyTypeObject *__Pyx_ImportType(char *module_name, char *class_name, long size); /*proto*/ static int __Pyx_SetVtable(PyObject *dict, void *vtable); /*proto*/ -static int __Pyx_GetVtable(PyObject *dict, void **vtabptr); /*proto*/ +static int __Pyx_GetVtable(PyObject *dict, void *vtabptr); /*proto*/ static PyObject *__Pyx_CreateClass(PyObject *bases, PyObject *dict, PyObject *name, char *modname); /*proto*/ static int __Pyx_InternStrings(__Pyx_InternTabEntry *t); /*proto*/ static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /*proto*/ @@ -36,7 +42,7 @@ static PyObject *__pyx_m; static PyObject *__pyx_b; static int __pyx_lineno; static char *__pyx_filename; -staticforward char **__pyx_f; +static char **__pyx_f; /* Declarations from c_python */ @@ -48,7 +54,7 @@ static PyTypeObject *__pyx_ptype_7c_numpy_ndarray = 0; /* Declarations from numpyx */ -static PyObject *(__pyx_f_6numpyx_print_elements(char (*),int (*),int (*),int ,int ,PyObject *)); /*proto*/ +static PyObject *(__pyx_f_6numpyx_print_elements(char (*),Py_intptr_t (*),Py_intptr_t (*),int ,int ,PyObject *)); /*proto*/ /* Implementation of numpyx */ @@ -71,14 +77,14 @@ static PyObject *__pyx_k7p; static PyObject *__pyx_k8p; static PyObject *__pyx_k9p; -char (__pyx_k2[]) = "-="; -char (__pyx_k3[]) = "printing array info for ndarray at 0x%0lx"; -char (__pyx_k4[]) = "print number of dimensions:"; -char (__pyx_k5[]) = "address of strides: 0x%0lx"; -char (__pyx_k6[]) = "strides:"; -char (__pyx_k7[]) = " stride %d:"; -char (__pyx_k8[]) = "memory dump:"; -char (__pyx_k9[]) = "-="; +static char (__pyx_k2[]) = "-="; +static char (__pyx_k3[]) = "printing array info for ndarray at 0x%0lx"; +static char (__pyx_k4[]) = "print number of dimensions:"; +static char (__pyx_k5[]) = "address of strides: 0x%0lx"; +static char (__pyx_k6[]) = "strides:"; +static char (__pyx_k7[]) = " stride %d:"; +static char (__pyx_k8[]) = "memory dump:"; +static char (__pyx_k9[]) = "-="; static PyObject *__pyx_f_6numpyx_print_array_info(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ static PyObject *__pyx_f_6numpyx_print_array_info(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { @@ -93,7 +99,7 @@ static PyObject *__pyx_f_6numpyx_print_array_info(PyObject *__pyx_self, PyObject Py_INCREF(__pyx_v_arr); if (!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arr), __pyx_ptype_7c_numpy_ndarray, 1, "arr")) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 10; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":13 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":13 */ __pyx_1 = PyInt_FromLong(10); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; goto __pyx_L1;} __pyx_2 = PyNumber_Multiply(__pyx_k2p, __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; @@ -101,8 +107,8 @@ static PyObject *__pyx_f_6numpyx_print_array_info(PyObject *__pyx_self, PyObject Py_DECREF(__pyx_2); __pyx_2 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 13; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":14 */ - __pyx_1 = PyInt_FromLong(((int )((PyObject *)__pyx_v_arr))); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; goto __pyx_L1;} + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":14 */ + __pyx_1 = PyInt_FromLong(((int )__pyx_v_arr)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; goto __pyx_L1;} __pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; goto __pyx_L1;} PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1); __pyx_1 = 0; @@ -112,14 +118,14 @@ static PyObject *__pyx_f_6numpyx_print_array_info(PyObject *__pyx_self, PyObject Py_DECREF(__pyx_1); __pyx_1 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 14; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":15 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":15 */ if (__Pyx_PrintItem(__pyx_k4p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; goto __pyx_L1;} __pyx_2 = PyInt_FromLong(__pyx_v_arr->nd); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; goto __pyx_L1;} if (__Pyx_PrintItem(__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; goto __pyx_L1;} Py_DECREF(__pyx_2); __pyx_2 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 15; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":16 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":16 */ __pyx_1 = PyInt_FromLong(((int )__pyx_v_arr->strides)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; goto __pyx_L1;} __pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; goto __pyx_L1;} PyTuple_SET_ITEM(__pyx_2, 0, __pyx_1); @@ -130,15 +136,15 @@ static PyObject *__pyx_f_6numpyx_print_array_info(PyObject *__pyx_self, PyObject Py_DECREF(__pyx_1); __pyx_1 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 16; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":17 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":17 */ if (__Pyx_PrintItem(__pyx_k6p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; goto __pyx_L1;} if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 17; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":18 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":18 */ __pyx_3 = __pyx_v_arr->nd; for (__pyx_v_i = 0; __pyx_v_i < __pyx_3; ++__pyx_v_i) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":20 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":20 */ __pyx_2 = PyInt_FromLong(__pyx_v_i); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; goto __pyx_L1;} __pyx_1 = PyNumber_Remainder(__pyx_k7p, __pyx_2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 20; goto __pyx_L1;} Py_DECREF(__pyx_2); __pyx_2 = 0; @@ -152,17 +158,17 @@ static PyObject *__pyx_f_6numpyx_print_array_info(PyObject *__pyx_self, PyObject } __pyx_L3:; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":21 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":21 */ if (__Pyx_PrintItem(__pyx_k8p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 21; goto __pyx_L1;} if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 21; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":22 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":22 */ __pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_arr), __pyx_n_dtype); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 23; goto __pyx_L1;} __pyx_2 = __pyx_f_6numpyx_print_elements(__pyx_v_arr->data,__pyx_v_arr->strides,__pyx_v_arr->dimensions,__pyx_v_arr->nd,(sizeof(double )),__pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 22; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; Py_DECREF(__pyx_2); __pyx_2 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":24 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":24 */ __pyx_1 = PyInt_FromLong(10); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; goto __pyx_L1;} __pyx_2 = PyNumber_Multiply(__pyx_k9p, __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; @@ -170,10 +176,10 @@ static PyObject *__pyx_f_6numpyx_print_array_info(PyObject *__pyx_self, PyObject Py_DECREF(__pyx_2); __pyx_2 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 24; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":25 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":25 */ if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 25; goto __pyx_L1;} - __pyx_r = Py_None; Py_INCREF(__pyx_r); + __pyx_r = Py_None; Py_INCREF(Py_None); goto __pyx_L0; __pyx_L1:; Py_XDECREF(__pyx_1); @@ -195,15 +201,15 @@ static PyObject *__pyx_k12p; static PyObject *__pyx_k13p; static PyObject *__pyx_k14p; -char (__pyx_k10[]) = " print_elements() not (yet) implemented for dtype %s"; -char (__pyx_k11[]) = " "; -char (__pyx_k12[]) = " "; -char (__pyx_k13[]) = " "; -char (__pyx_k14[]) = " "; +static char (__pyx_k10[]) = " print_elements() not (yet) implemented for dtype %s"; +static char (__pyx_k11[]) = " "; +static char (__pyx_k12[]) = " "; +static char (__pyx_k13[]) = " "; +static char (__pyx_k14[]) = " "; -static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx_v_strides),int (*__pyx_v_dimensions),int __pyx_v_nd,int __pyx_v_elsize,PyObject *__pyx_v_dtype) { - int __pyx_v_i; - int __pyx_v_j; +static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),Py_intptr_t (*__pyx_v_strides),Py_intptr_t (*__pyx_v_dimensions),int __pyx_v_nd,int __pyx_v_elsize,PyObject *__pyx_v_dtype) { + Py_intptr_t __pyx_v_i; + Py_intptr_t __pyx_v_j; void (*__pyx_v_elptr); PyObject *__pyx_r; PyObject *__pyx_1 = 0; @@ -211,10 +217,10 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx PyObject *__pyx_3 = 0; PyObject *__pyx_4 = 0; int __pyx_5; - int __pyx_6; + Py_intptr_t __pyx_6; Py_INCREF(__pyx_v_dtype); - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":36 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":36 */ __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; goto __pyx_L1;} __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_dtype); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 36; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; @@ -249,7 +255,7 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx Py_DECREF(__pyx_1); __pyx_1 = 0; if (__pyx_5) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":38 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":38 */ __pyx_2 = PyObject_GetAttr(__pyx_v_dtype, __pyx_n_name); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; goto __pyx_L1;} __pyx_3 = PyNumber_Remainder(__pyx_k10p, __pyx_2); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; goto __pyx_L1;} Py_DECREF(__pyx_2); __pyx_2 = 0; @@ -257,18 +263,18 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx Py_DECREF(__pyx_3); __pyx_3 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 38; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":39 */ - __pyx_r = Py_None; Py_INCREF(__pyx_r); + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":39 */ + __pyx_r = Py_None; Py_INCREF(Py_None); goto __pyx_L0; goto __pyx_L2; } __pyx_L2:; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":41 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":41 */ __pyx_5 = (__pyx_v_nd == 0); if (__pyx_5) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":42 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":42 */ __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; goto __pyx_L1;} __pyx_1 = PyObject_GetAttr(__pyx_4, __pyx_n_dtype); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 42; goto __pyx_L1;} Py_DECREF(__pyx_4); __pyx_4 = 0; @@ -286,10 +292,10 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx Py_DECREF(__pyx_2); __pyx_2 = 0; if (__pyx_5) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":43 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":43 */ __pyx_v_elptr = (((void (*(*)))__pyx_v_data)[0]); - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":44 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":44 */ if (__Pyx_PrintItem(__pyx_k11p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 44; goto __pyx_L1;} __pyx_3 = (PyObject *)__pyx_v_elptr; Py_INCREF(__pyx_3); @@ -315,7 +321,7 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx Py_DECREF(__pyx_2); __pyx_2 = 0; if (__pyx_5) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":46 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":46 */ if (__Pyx_PrintItem(__pyx_k12p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; goto __pyx_L1;} __pyx_3 = PyFloat_FromDouble((((double (*))__pyx_v_data)[0])); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; goto __pyx_L1;} if (__Pyx_PrintItem(__pyx_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 46; goto __pyx_L1;} @@ -329,11 +335,11 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx __pyx_5 = (__pyx_v_nd == 1); if (__pyx_5) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":48 */ - __pyx_5 = (__pyx_v_dimensions[0]); - for (__pyx_v_i = 0; __pyx_v_i < __pyx_5; ++__pyx_v_i) { + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":48 */ + __pyx_6 = (__pyx_v_dimensions[0]); + for (__pyx_v_i = 0; __pyx_v_i < __pyx_6; ++__pyx_v_i) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":49 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":49 */ __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} __pyx_1 = PyObject_GetAttr(__pyx_4, __pyx_n_dtype); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} Py_DECREF(__pyx_4); __pyx_4 = 0; @@ -346,15 +352,15 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx __pyx_2 = PyObject_CallObject(__pyx_1, __pyx_4); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; Py_DECREF(__pyx_4); __pyx_4 = 0; - if (PyObject_Cmp(__pyx_v_dtype, __pyx_2, &__pyx_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} - __pyx_6 = __pyx_6 == 0; + if (PyObject_Cmp(__pyx_v_dtype, __pyx_2, &__pyx_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 49; goto __pyx_L1;} + __pyx_5 = __pyx_5 == 0; Py_DECREF(__pyx_2); __pyx_2 = 0; - if (__pyx_6) { + if (__pyx_5) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":50 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":50 */ __pyx_v_elptr = (((void (*(*)))__pyx_v_data)[0]); - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":51 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":51 */ if (__Pyx_PrintItem(__pyx_k13p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 51; goto __pyx_L1;} __pyx_3 = (PyObject *)__pyx_v_elptr; Py_INCREF(__pyx_3); @@ -375,12 +381,12 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx __pyx_2 = PyObject_CallObject(__pyx_4, __pyx_1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; goto __pyx_L1;} Py_DECREF(__pyx_4); __pyx_4 = 0; Py_DECREF(__pyx_1); __pyx_1 = 0; - if (PyObject_Cmp(__pyx_v_dtype, __pyx_2, &__pyx_6) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; goto __pyx_L1;} - __pyx_6 = __pyx_6 == 0; + if (PyObject_Cmp(__pyx_v_dtype, __pyx_2, &__pyx_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 52; goto __pyx_L1;} + __pyx_5 = __pyx_5 == 0; Py_DECREF(__pyx_2); __pyx_2 = 0; - if (__pyx_6) { + if (__pyx_5) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":53 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":53 */ if (__Pyx_PrintItem(__pyx_k14p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; goto __pyx_L1;} __pyx_3 = PyFloat_FromDouble((((double (*))__pyx_v_data)[0])); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; goto __pyx_L1;} if (__Pyx_PrintItem(__pyx_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 53; goto __pyx_L1;} @@ -390,7 +396,7 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx } __pyx_L7:; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":54 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":54 */ __pyx_v_data = (__pyx_v_data + (__pyx_v_strides[0])); __pyx_L5:; } @@ -399,15 +405,15 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx } /*else*/ { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":56 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":56 */ __pyx_6 = (__pyx_v_dimensions[0]); for (__pyx_v_i = 0; __pyx_v_i < __pyx_6; ++__pyx_v_i) { - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":57 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":57 */ __pyx_4 = __pyx_f_6numpyx_print_elements(__pyx_v_data,(__pyx_v_strides + 1),(__pyx_v_dimensions + 1),(__pyx_v_nd - 1),__pyx_v_elsize,__pyx_v_dtype); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; goto __pyx_L1;} Py_DECREF(__pyx_4); __pyx_4 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":58 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":58 */ __pyx_v_data = (__pyx_v_data + (__pyx_v_strides[0])); __pyx_L8:; } @@ -415,7 +421,7 @@ static PyObject *__pyx_f_6numpyx_print_elements(char (*__pyx_v_data),int (*__pyx } __pyx_L3:; - __pyx_r = Py_None; Py_INCREF(__pyx_r); + __pyx_r = Py_None; Py_INCREF(Py_None); goto __pyx_L0; __pyx_L1:; Py_XDECREF(__pyx_1); @@ -435,12 +441,12 @@ static PyObject *__pyx_k15p; static PyObject *__pyx_k16p; static PyObject *__pyx_k17p; -char (__pyx_k15[]) = "arr.any() :"; -char (__pyx_k16[]) = "arr.nd :"; -char (__pyx_k17[]) = "arr.flags :"; +static char (__pyx_k15[]) = "arr.any() :"; +static char (__pyx_k16[]) = "arr.nd :"; +static char (__pyx_k17[]) = "arr.flags :"; static PyObject *__pyx_f_6numpyx_test_methods(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ -static char __pyx_doc_6numpyx_test_methods[] = "Test a few attribute accesses for an array.\n \n This illustrates how the pyrex-visible object is in practice a strange\n hybrid of the C PyArrayObject struct and the python object. Some\n properties (like .nd) are visible here but not in python, while others\n like flags behave very differently: in python flags appears as a dict,\n while here we see the raw int holding the bit pattern.\n\n This makes sense when we think of how pyrex resolves arr.foo: if foo is\n listed as a field in the c_numpy.ndarray struct description, it will be\n directly accessed as a C variable without going through Python at all.\n This is why for arr.flags, we see the actual int which holds all the flags\n as bit fields. However, for any other attribute not listed in the struct,\n it simply forwards the attribute lookup to python at runtime, just like\n python would (which means that AttributeError can be raised for\n non-existent attributes, for example)."; +static char __pyx_doc_6numpyx_test_methods[] = "Test a few attribute accesses for an array.\n \n This illustrates how the pyrex-visible object is in practice a strange\n hybrid of the C PyArrayObject struct and the python object. Some\n properties (like .nd) are visible here but not in python, while others\n like flags behave very differently: in python flags appears as a separate,\n object while here we see the raw int holding the bit pattern.\n\n This makes sense when we think of how pyrex resolves arr.foo: if foo is\n listed as a field in the c_numpy.ndarray struct description, it will be\n directly accessed as a C variable without going through Python at all.\n This is why for arr.flags, we see the actual int which holds all the flags\n as bit fields. However, for any other attribute not listed in the struct,\n it simply forwards the attribute lookup to python at runtime, just like\n python would (which means that AttributeError can be raised for\n non-existent attributes, for example)."; static PyObject *__pyx_f_6numpyx_test_methods(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { PyArrayObject *__pyx_v_arr = 0; PyObject *__pyx_r; @@ -452,7 +458,7 @@ static PyObject *__pyx_f_6numpyx_test_methods(PyObject *__pyx_self, PyObject *__ Py_INCREF(__pyx_v_arr); if (!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_arr), __pyx_ptype_7c_numpy_ndarray, 1, "arr")) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":78 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":78 */ if (__Pyx_PrintItem(__pyx_k15p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; goto __pyx_L1;} __pyx_1 = PyObject_GetAttr(((PyObject *)__pyx_v_arr), __pyx_n_any); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; goto __pyx_L1;} __pyx_2 = PyTuple_New(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; goto __pyx_L1;} @@ -463,21 +469,21 @@ static PyObject *__pyx_f_6numpyx_test_methods(PyObject *__pyx_self, PyObject *__ Py_DECREF(__pyx_3); __pyx_3 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 78; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":79 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":79 */ if (__Pyx_PrintItem(__pyx_k16p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; goto __pyx_L1;} __pyx_1 = PyInt_FromLong(__pyx_v_arr->nd); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; goto __pyx_L1;} if (__Pyx_PrintItem(__pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 79; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":80 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":80 */ if (__Pyx_PrintItem(__pyx_k17p) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 80; goto __pyx_L1;} __pyx_2 = PyInt_FromLong(__pyx_v_arr->flags); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 80; goto __pyx_L1;} if (__Pyx_PrintItem(__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 80; goto __pyx_L1;} Py_DECREF(__pyx_2); __pyx_2 = 0; if (__Pyx_PrintNewline() < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 80; goto __pyx_L1;} - __pyx_r = Py_None; Py_INCREF(__pyx_r); + __pyx_r = Py_None; Py_INCREF(Py_None); goto __pyx_L0; __pyx_L1:; Py_XDECREF(__pyx_1); @@ -491,7 +497,6 @@ static PyObject *__pyx_f_6numpyx_test_methods(PyObject *__pyx_self, PyObject *__ } static PyObject *__pyx_n_array; -static PyObject *__pyx_n_Float64; static PyObject *__pyx_n_arange; static PyObject *__pyx_n_shape; static PyObject *__pyx_n_one; @@ -516,15 +521,15 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args PyObject *__pyx_5 = 0; static char *__pyx_argnames[] = {0}; if (!PyArg_ParseTupleAndKeywords(__pyx_args, __pyx_kwds, "", __pyx_argnames)) return 0; - __pyx_v_arr1 = Py_None; Py_INCREF(__pyx_v_arr1); - __pyx_v_arr2 = Py_None; Py_INCREF(__pyx_v_arr2); - __pyx_v_arr3 = Py_None; Py_INCREF(__pyx_v_arr3); - __pyx_v_four = Py_None; Py_INCREF(__pyx_v_four); - __pyx_v_arr4 = Py_None; Py_INCREF(__pyx_v_arr4); - __pyx_v_arr5 = Py_None; Py_INCREF(__pyx_v_arr5); - __pyx_v_arr = Py_None; Py_INCREF(__pyx_v_arr); - - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":84 */ + __pyx_v_arr1 = Py_None; Py_INCREF(Py_None); + __pyx_v_arr2 = Py_None; Py_INCREF(Py_None); + __pyx_v_arr3 = Py_None; Py_INCREF(Py_None); + __pyx_v_four = Py_None; Py_INCREF(Py_None); + __pyx_v_arr4 = Py_None; Py_INCREF(Py_None); + __pyx_v_arr5 = Py_None; Py_INCREF(Py_None); + __pyx_v_arr = Py_None; Py_INCREF(Py_None); + + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":84 */ __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; goto __pyx_L1;} __pyx_2 = PyObject_GetAttr(__pyx_1, __pyx_n_array); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; @@ -534,7 +539,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_1 = 0; __pyx_1 = PyDict_New(); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; goto __pyx_L1;} __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; goto __pyx_L1;} - __pyx_5 = PyObject_GetAttr(__pyx_4, __pyx_n_Float64); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; goto __pyx_L1;} + __pyx_5 = PyObject_GetAttr(__pyx_4, __pyx_n_float64); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; goto __pyx_L1;} Py_DECREF(__pyx_4); __pyx_4 = 0; if (PyDict_SetItem(__pyx_1, __pyx_n_dtype, __pyx_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 84; goto __pyx_L1;} Py_DECREF(__pyx_5); __pyx_5 = 0; @@ -546,7 +551,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_v_arr1 = __pyx_4; __pyx_4 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":85 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":85 */ __pyx_5 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; goto __pyx_L1;} __pyx_2 = PyObject_GetAttr(__pyx_5, __pyx_n_array); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; goto __pyx_L1;} Py_DECREF(__pyx_5); __pyx_5 = 0; @@ -565,7 +570,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_5 = 0; __pyx_1 = PyDict_New(); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; goto __pyx_L1;} __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; goto __pyx_L1;} - __pyx_5 = PyObject_GetAttr(__pyx_4, __pyx_n_Float64); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; goto __pyx_L1;} + __pyx_5 = PyObject_GetAttr(__pyx_4, __pyx_n_float64); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; goto __pyx_L1;} Py_DECREF(__pyx_4); __pyx_4 = 0; if (PyDict_SetItem(__pyx_1, __pyx_n_dtype, __pyx_5) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 85; goto __pyx_L1;} Py_DECREF(__pyx_5); __pyx_5 = 0; @@ -577,7 +582,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_v_arr2 = __pyx_4; __pyx_4 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":87 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":87 */ __pyx_5 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; goto __pyx_L1;} __pyx_2 = PyObject_GetAttr(__pyx_5, __pyx_n_arange); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; goto __pyx_L1;} Py_DECREF(__pyx_5); __pyx_5 = 0; @@ -587,7 +592,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_3 = 0; __pyx_4 = PyDict_New(); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; goto __pyx_L1;} __pyx_5 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; goto __pyx_L1;} - __pyx_3 = PyObject_GetAttr(__pyx_5, __pyx_n_Float64); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; goto __pyx_L1;} + __pyx_3 = PyObject_GetAttr(__pyx_5, __pyx_n_float64); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; goto __pyx_L1;} Py_DECREF(__pyx_5); __pyx_5 = 0; if (PyDict_SetItem(__pyx_4, __pyx_n_dtype, __pyx_3) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; goto __pyx_L1;} Py_DECREF(__pyx_3); __pyx_3 = 0; @@ -599,7 +604,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_v_arr3 = __pyx_5; __pyx_5 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":88 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":88 */ __pyx_3 = PyInt_FromLong(3); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; goto __pyx_L1;} __pyx_2 = PyInt_FromLong(3); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; goto __pyx_L1;} __pyx_1 = PyTuple_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; goto __pyx_L1;} @@ -610,13 +615,13 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args if (PyObject_SetAttr(__pyx_v_arr3, __pyx_n_shape, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":90 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":90 */ __pyx_4 = PyInt_FromLong(4); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 90; goto __pyx_L1;} Py_DECREF(__pyx_v_four); __pyx_v_four = __pyx_4; __pyx_4 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":91 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":91 */ __pyx_5 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; goto __pyx_L1;} __pyx_3 = PyObject_GetAttr(__pyx_5, __pyx_n_array); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 91; goto __pyx_L1;} Py_DECREF(__pyx_5); __pyx_5 = 0; @@ -647,7 +652,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_v_arr4 = __pyx_2; __pyx_2 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":93 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":93 */ __pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_numpy); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; goto __pyx_L1;} __pyx_3 = PyObject_GetAttr(__pyx_1, __pyx_n_array); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 93; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; @@ -671,7 +676,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_v_arr5 = __pyx_5; __pyx_5 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":95 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":95 */ __pyx_2 = PyList_New(5); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 95; goto __pyx_L1;} Py_INCREF(__pyx_v_arr1); PyList_SET_ITEM(__pyx_2, 0, __pyx_v_arr1); @@ -696,7 +701,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_v_arr = __pyx_3; __pyx_3 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":96 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":96 */ __pyx_4 = __Pyx_GetName(__pyx_m, __pyx_n_print_array_info); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; goto __pyx_L1;} __pyx_5 = PyTuple_New(1); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 96; goto __pyx_L1;} Py_INCREF(__pyx_v_arr); @@ -709,7 +714,7 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args __pyx_L3:; Py_DECREF(__pyx_1); __pyx_1 = 0; - __pyx_r = Py_None; Py_INCREF(__pyx_r); + __pyx_r = Py_None; Py_INCREF(Py_None); goto __pyx_L0; __pyx_L1:; Py_XDECREF(__pyx_1); @@ -731,7 +736,6 @@ static PyObject *__pyx_f_6numpyx_test(PyObject *__pyx_self, PyObject *__pyx_args } static __Pyx_InternTabEntry __pyx_intern_tab[] = { - {&__pyx_n_Float64, "Float64"}, {&__pyx_n_any, "any"}, {&__pyx_n_arange, "arange"}, {&__pyx_n_array, "array"}, @@ -778,9 +782,12 @@ static struct PyMethodDef __pyx_methods[] = { {0, 0, 0, 0} }; +static void __pyx_init_filenames(void); /*proto*/ + PyMODINIT_FUNC initnumpyx(void); /*proto*/ PyMODINIT_FUNC initnumpyx(void) { PyObject *__pyx_1 = 0; + __pyx_init_filenames(); __pyx_m = Py_InitModule4("numpyx", __pyx_methods, 0, 0, PYTHON_API_VERSION); if (!__pyx_m) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 3; goto __pyx_L1;}; __pyx_b = PyImport_AddModule("__builtin__"); @@ -788,18 +795,18 @@ PyMODINIT_FUNC initnumpyx(void) { if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 3; goto __pyx_L1;}; if (__Pyx_InternStrings(__pyx_intern_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 3; goto __pyx_L1;}; if (__Pyx_InitStrings(__pyx_string_tab) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 3; goto __pyx_L1;}; - __pyx_ptype_7c_numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr)); if (!__pyx_ptype_7c_numpy_dtype) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 35; goto __pyx_L1;} + __pyx_ptype_7c_numpy_dtype = __Pyx_ImportType("numpy", "dtype", sizeof(PyArray_Descr)); if (!__pyx_ptype_7c_numpy_dtype) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 34; goto __pyx_L1;} __pyx_ptype_7c_numpy_ndarray = __Pyx_ImportType("numpy", "ndarray", sizeof(PyArrayObject)); if (!__pyx_ptype_7c_numpy_ndarray) {__pyx_filename = __pyx_f[1]; __pyx_lineno = 39; goto __pyx_L1;} - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":5 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":5 */ __pyx_1 = __Pyx_Import(__pyx_n_numpy, 0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 5; goto __pyx_L1;} if (PyObject_SetAttr(__pyx_m, __pyx_n_numpy, __pyx_1) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 5; goto __pyx_L1;} Py_DECREF(__pyx_1); __pyx_1 = 0; - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":8 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":8 */ import_array(); - /* "/home/fperez/research/wavelets/wavelets/trunk/numpyx/numpyx.pyx":82 */ + /* "/home/oliphant/numpy/numpy/doc/pyrex/numpyx.pyx":82 */ return; __pyx_L1:; Py_XDECREF(__pyx_1); @@ -810,10 +817,13 @@ static char *__pyx_filenames[] = { "numpyx.pyx", "c_numpy.pxd", }; -statichere char **__pyx_f = __pyx_filenames; /* Runtime support code */ +static void __pyx_init_filenames(void) { + __pyx_f = __pyx_filenames; +} + static int __Pyx_ArgTypeTest(PyObject *obj, PyTypeObject *type, int none_allowed, char *name) { if (!type) { PyErr_Format(PyExc_SystemError, "Missing type object"); |