[Python-checkins] CVS: python/nondist/peps pep-0261.txt,1.3,1.4
Martin v. L?wis
loewis@users.sourceforge.net
Tue, 11 Sep 2001 02:59:16 -0700
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv4815
Modified Files:
pep-0261.txt
Log Message:
Minor updates to reflect the current implementation.
Index: pep-0261.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0261.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pep-0261.txt 2001/07/01 19:52:25 1.3
--- pep-0261.txt 2001/09/11 09:59:14 1.4
***************
*** 188,194 ****
Implementation
! There is a new (experimental) define:
! #define PY_UNICODE_SIZE 2
There is a new configure option:
--- 188,198 ----
Implementation
! There is a new define:
! #define Py_UNICODE_SIZE 2
!
! To test whether UCS2 or UCS4 is in use, the derived macro
! Py_UNICODE_WIDE should be used, which is defined when UCS-4 is in
! use.
There is a new configure option:
***************
*** 197,205 ****
wchar_t if it fits
--enable-unicode=ucs4 configures a wide Py_UNICODE, and uses
! whchar_t if it fits
--enable-unicode same as "=ucs2"
!
! The intention is that --disable-unicode, or --enable-unicode=no
! removes the Unicode type altogether; this is not yet implemented.
It is also proposed that one day --enable-unicode will just
--- 201,207 ----
wchar_t if it fits
--enable-unicode=ucs4 configures a wide Py_UNICODE, and uses
! wchar_t if it fits
--enable-unicode same as "=ucs2"
! --disable-unicode entirely remove the Unicode functionality.
It is also proposed that one day --enable-unicode will just