summaryrefslogtreecommitdiffstats
path: root/Include/bytes_methods.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2010-11-05 17:23:41 (GMT)
committerDavid Malcolm <dmalcolm@redhat.com>2010-11-05 17:23:41 (GMT)
commit9696088b6d04efe179a825f05060ea3c96a625eb (patch)
treec2a1adbbcb491fb073fc31bc13fb7b4af31cf651 /Include/bytes_methods.h
parentde11b189d1e771053fa3e662b2b08116998a73bc (diff)
downloadcpython-9696088b6d04efe179a825f05060ea3c96a625eb.zip
cpython-9696088b6d04efe179a825f05060ea3c96a625eb.tar.gz
cpython-9696088b6d04efe179a825f05060ea3c96a625eb.tar.bz2
Issue #10288: The deprecated family of "char"-handling macros
(ISLOWER()/ISUPPER()/etc) have now been removed: use Py_ISLOWER() etc instead.
Diffstat (limited to 'Include/bytes_methods.h')
-rw-r--r--Include/bytes_methods.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/Include/bytes_methods.h b/Include/bytes_methods.h
index 0938446..d0a6242 100644
--- a/Include/bytes_methods.h
+++ b/Include/bytes_methods.h
@@ -38,41 +38,6 @@ extern const char _Py_capitalize__doc__[];
extern const char _Py_swapcase__doc__[];
extern const char _Py_maketrans__doc__[];
-/* These are left in for backward compatibility and will be removed
- in 2.8/3.2 */
-#define ISLOWER(c) Py_ISLOWER(c)
-#define ISUPPER(c) Py_ISUPPER(c)
-#define ISALPHA(c) Py_ISALPHA(c)
-#define ISDIGIT(c) Py_ISDIGIT(c)
-#define ISXDIGIT(c) Py_ISXDIGIT(c)
-#define ISALNUM(c) Py_ISALNUM(c)
-#define ISSPACE(c) Py_ISSPACE(c)
-
-#undef islower
-#define islower(c) undefined_islower(c)
-#undef isupper
-#define isupper(c) undefined_isupper(c)
-#undef isalpha
-#define isalpha(c) undefined_isalpha(c)
-#undef isdigit
-#define isdigit(c) undefined_isdigit(c)
-#undef isxdigit
-#define isxdigit(c) undefined_isxdigit(c)
-#undef isalnum
-#define isalnum(c) undefined_isalnum(c)
-#undef isspace
-#define isspace(c) undefined_isspace(c)
-
-/* These are left in for backward compatibility and will be removed
- in 2.8/3.2 */
-#define TOLOWER(c) Py_TOLOWER(c)
-#define TOUPPER(c) Py_TOUPPER(c)
-
-#undef tolower
-#define tolower(c) undefined_tolower(c)
-#undef toupper
-#define toupper(c) undefined_toupper(c)
-
/* this is needed because some docs are shared from the .o, not static */
#define PyDoc_STRVAR_shared(name,str) const char name[] = PyDoc_STR(str)