summaryrefslogtreecommitdiff
path: root/numpy/lib/src
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-07-11 12:08:49 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-07-11 12:43:18 -0600
commit28eadc0e31ca7aea5c679023d1e703856f45c879 (patch)
treead328cc92dddd315a574aa6b1c3baa948c8982ab /numpy/lib/src
parent49a587cd786242b05fcfd22d5cda961d733b68d4 (diff)
downloadnumpy-28eadc0e31ca7aea5c679023d1e703856f45c879.tar.gz
MAINT: Remove outdated version checks.
Because Numpy 1.8.0 will no longer supports Python versions < 2.6 we no longer need to check for that and can also remove the code that is specific to those earlier versions. To make this a bit safer, the toplevel setup.py file now contains a check of the Python version number and raises an error when run by an unsupported version.
Diffstat (limited to 'numpy/lib/src')
-rw-r--r--numpy/lib/src/_compiled_base.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c
index 41caca962..66a765868 100644
--- a/numpy/lib/src/_compiled_base.c
+++ b/numpy/lib/src/_compiled_base.c
@@ -7,9 +7,6 @@
#include "numpy/ufuncobject.h"
#include "string.h"
-#if (PY_VERSION_HEX < 0x02060000)
-#define Py_TYPE(o) (((PyObject*)(o))->ob_type)
-#endif
static npy_intp
incr_slot_(double x, double *bins, npy_intp lbins)