diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-24 00:41:54 (GMT) | 
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-07-24 00:41:54 (GMT) | 
| commit | 5a24d82941cec6c207433d75c1120bf4a8438793 (patch) | |
| tree | f6ff4dc8a76ff2225cf2bd371088733e5f1ef1f3 /Python/codecs.c | |
| parent | 8dbd8573e513248ca4c105d0f580f47e79ab9ec8 (diff) | |
| parent | 0e3c5a828e65f4f5821dad0e7b0ff4ca9f62f9d3 (diff) | |
| download | cpython-5a24d82941cec6c207433d75c1120bf4a8438793.zip cpython-5a24d82941cec6c207433d75c1120bf4a8438793.tar.gz cpython-5a24d82941cec6c207433d75c1120bf4a8438793.tar.bz2 | |
Add a test for issue #1813: getlocale() failing under a Turkish locale
(not a problem under 3.x)
Diffstat (limited to 'Python/codecs.c')
| -rw-r--r-- | Python/codecs.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Python/codecs.c b/Python/codecs.c index 45d9929..1a3e457 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -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'; | 
