summaryrefslogtreecommitdiffstats
path: root/Tools/unicode
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-09-12 22:42:57 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2010-09-12 22:42:57 (GMT)
commitfeb7307db4b4582af9ac01719f7df651c2eed077 (patch)
treefdf12671ce7ea77718886f4ee73370ab8b19c490 /Tools/unicode
parentb2f98401d123b940b282777b8e435f4a9ea0c085 (diff)
downloadcpython-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/unicode')
-rw-r--r--Tools/unicode/makeunicodedata.py4
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)