diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2010-09-12 22:42:57 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2010-09-12 22:42:57 (GMT) |
commit | feb7307db4b4582af9ac01719f7df651c2eed077 (patch) | |
tree | fdf12671ce7ea77718886f4ee73370ab8b19c490 /Tools | |
parent | b2f98401d123b940b282777b8e435f4a9ea0c085 (diff) | |
download | cpython-feb7307db4b4582af9ac01719f7df651c2eed077.zip cpython-feb7307db4b4582af9ac01719f7df651c2eed077.tar.gz cpython-feb7307db4b4582af9ac01719f7df651c2eed077.tar.bz2 |
#9210: remove --with-wctype-functions configure option.
The internal unicode database is now always used.
(after 5 years: see
http://mail.python.org/pipermail/python-dev/2004-December/050193.html
)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/unicode/makeunicodedata.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py index 7266a91..b2615ee 100644 --- a/Tools/unicode/makeunicodedata.py +++ b/Tools/unicode/makeunicodedata.py @@ -503,9 +503,6 @@ def makeunicodetype(unicode, trace): print(" */", file=fp) print('int _PyUnicode_IsWhitespace(register const Py_UCS4 ch)', file=fp) print('{', file=fp) - print('#ifdef WANT_WCTYPE_FUNCTIONS', file=fp) - print(' return iswspace(ch);', file=fp) - print('#else', file=fp) print(' switch (ch) {', file=fp) for codepoint in sorted(spaces): @@ -514,7 +511,6 @@ def makeunicodetype(unicode, trace): print(' }', file=fp) print(' return 0;', file=fp) - print('#endif', file=fp) print('}', file=fp) print(file=fp) |