[Patches] [ python-Patches-445717 ] Detect UCS2/4 incompatibilities

noreply@sourceforge.net noreply@sourceforge.net
Tue, 31 Jul 2001 00:54:23 -0700


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

Category: core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Martin v. Löwis (loewis)
Assigned to: M.-A. Lemburg (lemburg)
Summary: Detect UCS2/4 incompatibilities

Initial Comment:
This patch introduces the LSB of PYTHON_API_VERSION 
to indicate whether we have a wide or a narrow build.


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

>Comment By: Martin v. Löwis (loewis)
Date: 2001-07-31 00:54

Message:
Logged In: YES 
user_id=21627

This version of the patch implements a function 
PyUnicode_Wide in unicodemodule, and offers a helper macro 
PyUnicode_WidthCheck for use in extension modules.
It also demonstrates its use in pyexpat.


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

Comment By: M.-A. Lemburg (lemburg)
Date: 2001-07-30 05:55

Message:
Logged In: YES 
user_id=38388

Thanks for the patch. I would like to discuss this on python-dev first though...

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

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