summaryrefslogtreecommitdiff
path: root/weave/common_info.py
diff options
context:
space:
mode:
authorEric Jones <eric@enthought.com>2002-09-19 07:08:30 +0000
committerEric Jones <eric@enthought.com>2002-09-19 07:08:30 +0000
commit200bff5384ca06d4d61570a576f94ff63b6c335d (patch)
tree780842aff1bceab242543194ef9bbb6b0044b5c8 /weave/common_info.py
parent9dec5004a2593a123fb80eefcb5d73a229cb7501 (diff)
downloadnumpy-200bff5384ca06d4d61570a576f94ff63b6c335d.tar.gz
added yet another directory into the path of intermediate files generated by
weave. This is needed so that people switching between compilers don't end up trying to link c++ object files built with incompatible compilers together. changed Py_INCREF to a Py_XINCREF to guard against NULL pointer problems in convert_to_xxx routines. lengthened the type_names strings for Numeric type names in standard_array_spec. It was shorter than some of the names. yikes! choose_compiler stuff is no longer done by ext_modules. This was used to allow xxx_convterters and xxx_info objects to generate different code depending on which compiler was used. This is no longer done, and I don't think it should be necessary going forward. I've left a little of the code in case I'm wrong, but will probably hack it out soon.
Diffstat (limited to 'weave/common_info.py')
-rw-r--r--weave/common_info.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/weave/common_info.py b/weave/common_info.py
index 8b792087f..67be8d61a 100644
--- a/weave/common_info.py
+++ b/weave/common_info.py
@@ -32,7 +32,9 @@ char* find_type(PyObject* py_obj)
void throw_error(PyObject* exc, const char* msg)
{
+ //printf("setting python error: %s\\n",msg);
PyErr_SetString(exc, msg);
+ //printf("throwing error\\n");
throw 1;
}