mirror of
https://github.com/python/cpython.git
synced 2025-08-26 03:34:43 +00:00
#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 )
This commit is contained in:
parent
b2f98401d1
commit
feb7307db4
9 changed files with 10 additions and 120 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue