[Patches] [ python-Patches-445762 ] Support --disable-unicode

noreply@sourceforge.net noreply@sourceforge.net
Sun, 29 Jul 2001 14:13:37 -0700


Patches item #445762, was opened at 2001-07-29 14:13
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=445762&group_id=5470

Category: Build
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Support --disable-unicode

Initial Comment:
This patch implements the option --disable-unicode.
In particular, it:
- does not compile unicodeobject, unicodectype, 
_codecsmodule, and unicodedata if Unicode is disabled
- checks for Py_Unicode in all places that use 
Unicode functions
- disables unicode literals, the builtin functions, 
and the string encode and decode methods,
- avoids Unicode literals in a few places in the 
libraries
- adds the types.StringTypes list

Most of the test suite passes with these changes. A 
number of tests fail, mostly because they use Unicode 
literals.


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=445762&group_id=5470