diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-04-18 10:12:16 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-04-18 10:12:16 (GMT) |
commit | 3800d15772451569da9e26464628a89a722eb43f (patch) | |
tree | aecd0ab53a57e75039edd7158d385e4c1a1b0de9 /Include | |
parent | 241cb4cff56987a69056e1e2058c6373f4136603 (diff) | |
download | cpython-3800d15772451569da9e26464628a89a722eb43f.zip cpython-3800d15772451569da9e26464628a89a722eb43f.tar.gz cpython-3800d15772451569da9e26464628a89a722eb43f.tar.bz2 |
The comments at the top of intobject.h say that it will be removed in 3.1.
Make it so.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/intobject.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/Include/intobject.h b/Include/intobject.h deleted file mode 100644 index e3147f4..0000000 --- a/Include/intobject.h +++ /dev/null @@ -1,36 +0,0 @@ -/* Integer object interface - - This header file exists to make porting code to Python 3.0 easier. It - defines aliases from PyInt_* to PyLong_* and an alias from - PyNumber_Int to PyNumber_Long. - */ - -#ifndef Py_INTOBJECT_H -#define Py_INTOBJECT_H -#ifdef __cplusplus -extern "C" { -#endif - -#if defined(__GNUC__) -#warning "DeprecationWarning: intobject.h is going to be removed in 3.1" -#elif defined(MS_WINDOWS) -#pragma message("DeprecationWarning: intobject.h is going to be removed in 3.1") -#endif - -#define PyInt_Check(op) PyLong_Check(op) -#define PyInt_FromString PyLong_FromString -#define PyInt_FromUnicode PyLong_FromUnicode -#define PyInt_FromLong PyLong_FromLong -#define PyInt_FromSize_t PyLong_FromSize_t -#define PyInt_FromSsize_t PyLong_FromSsize_t -#define PyInt_AsLong PyLong_AsLong -#define PyInt_AsSsize_t PyLong_AsSsize_t -#define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask -#define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask -#define PyInt_AS_LONG PyLong_AS_LONG -#define PyNumber_Int PyNumber_Long - -#ifdef __cplusplus -} -#endif -#endif /* !Py_INTOBJECT_H */ |