Revert r63934 -- it was mixing two patches. · python/cpython@a26f8ca

GitHub

@@ -217,7 +217,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;

217217# define_PyUnicode_IsLinebreak _PyUnicodeUCS2_IsLinebreak

218218# define_PyUnicode_IsLowercase _PyUnicodeUCS2_IsLowercase

219219# define_PyUnicode_IsNumeric _PyUnicodeUCS2_IsNumeric

220-# define_PyUnicode_IsPrintable _PyUnicodeUCS2_IsPrintable

221220# define_PyUnicode_IsTitlecase _PyUnicodeUCS2_IsTitlecase

222221# define_PyUnicode_IsXidStart _PyUnicodeUCS2_IsXidStart

223222# define_PyUnicode_IsXidContinue _PyUnicodeUCS2_IsXidContinue

@@ -312,7 +311,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;

312311# define_PyUnicode_IsLinebreak _PyUnicodeUCS4_IsLinebreak

313312# define_PyUnicode_IsLowercase _PyUnicodeUCS4_IsLowercase

314313# define_PyUnicode_IsNumeric _PyUnicodeUCS4_IsNumeric

315-# define_PyUnicode_IsPrintable _PyUnicodeUCS4_IsPrintable

316314# define_PyUnicode_IsTitlecase _PyUnicodeUCS4_IsTitlecase

317315# define_PyUnicode_IsXidStart _PyUnicodeUCS4_IsXidStart

318316# define_PyUnicode_IsXidContinue _PyUnicodeUCS4_IsXidContinue

@@ -353,7 +351,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;

353351#definePy_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)

354352#definePy_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch)

355353#definePy_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch)

356-#definePy_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)

357354358355#definePy_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)

359356#definePy_UNICODE_TODIGIT(ch) _PyUnicode_ToDigit(ch)

@@ -384,7 +381,6 @@ extern const unsigned char _Py_ascii_whitespace[];

384381#definePy_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch)

385382#definePy_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch)

386383#definePy_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch)

387-#definePy_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch)

388384389385#definePy_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch)

390386#definePy_UNICODE_TODIGIT(ch) _PyUnicode_ToDigit(ch)

@@ -1503,10 +1499,6 @@ PyAPI_FUNC(int) _PyUnicode_IsNumeric(

15031499Py_UNICODEch/* Unicode character */

15041500 );

150515011506-PyAPI_FUNC(int) _PyUnicode_IsPrintable(

1507-Py_UNICODEch/* Unicode character */

1508- );

1509-15101502PyAPI_FUNC(int) _PyUnicode_IsAlpha(

15111503Py_UNICODEch/* Unicode character */

15121504 );