summaryrefslogtreecommitdiff
path: root/numpy/core/include
diff options
context:
space:
mode:
authorAlexandr Shadchin <alexandr.shadchin@gmail.com>2016-12-08 15:41:04 +0500
committerAlexandr Shadchin <alexandr.shadchin@gmail.com>2016-12-09 16:22:24 +0500
commitc4ee11b61e2786339f6376f3be2ffb7a90b6b7dc (patch)
treecae440ceec8218c27dfc2f04ff890c6c8d15e68c /numpy/core/include
parent071f07030a4a05dc3b5bee4240d746ce39bae89b (diff)
downloadnumpy-c4ee11b61e2786339f6376f3be2ffb7a90b6b7dc.tar.gz
MAINT: Drop support Python < 2.7 and Python3 < 3.4
Diffstat (limited to 'numpy/core/include')
-rw-r--r--numpy/core/include/numpy/npy_common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/numpy/core/include/numpy/npy_common.h b/numpy/core/include/numpy/npy_common.h
index bd221547f..da0acfd5d 100644
--- a/numpy/core/include/numpy/npy_common.h
+++ b/numpy/core/include/numpy/npy_common.h
@@ -237,10 +237,6 @@ typedef Py_uintptr_t npy_uintp;
* PyString_Format. These functions use different formatting
* codes which are portably specified according to the Python
* documentation. See ticket #1795.
- *
- * On Windows x64, the LONGLONG formatter should be used, but
- * in Python 2.6 the %lld formatter is not supported. In this
- * case we work around the problem by using the %zd formatter.
*/
#if NPY_SIZEOF_PY_INTPTR_T == NPY_SIZEOF_INT
#define NPY_INTP NPY_INT
@@ -268,11 +264,7 @@ typedef Py_uintptr_t npy_uintp;
#define NPY_MAX_INTP NPY_MAX_LONGLONG
#define NPY_MIN_INTP NPY_MIN_LONGLONG
#define NPY_MAX_UINTP NPY_MAX_ULONGLONG
- #if (PY_VERSION_HEX >= 0x02070000)
#define NPY_INTP_FMT "lld"
- #else
- #define NPY_INTP_FMT "zd"
- #endif
#endif
/*