Remove all other uses of the C tolower()/toupper() which could break with a Turkish locale.
diff --git a/Modules/binascii.c b/Modules/binascii.c
index 01e8860..19681b4 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -1102,8 +1102,8 @@
     if (isdigit(c))
         return c - '0';
     else {
-        if (isupper(c))
-            c = tolower(c);
+        if (Py_ISUPPER(c))
+            c = Py_TOLOWER(c);
         if (c >= 'a' && c <= 'f')
             return c - 'a' + 10;
     }