mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Add a test for issue #1813: getlocale() failing under a Turkish locale
(not a problem under 3.x)
This commit is contained in:
commit
5a24d82941
4 changed files with 30 additions and 1 deletions
|
@ -69,7 +69,7 @@ PyObject *normalizestring(const char *string)
|
|||
if (ch == ' ')
|
||||
ch = '-';
|
||||
else
|
||||
ch = tolower(Py_CHARMASK(ch));
|
||||
ch = Py_TOLOWER(Py_CHARMASK(ch));
|
||||
p[i] = ch;
|
||||
}
|
||||
p[i] = '\0';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue