A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-May/053311.html below:

[Python-Dev] New Py_UNICODE doc

[Python-Dev] New Py_UNICODE doc [Python-Dev] New Py_UNICODE docNicholas Bastin nbastin at opnet.com
Wed May 4 17:59:40 CEST 2005
The current documentation for Py_UNICODE states:

"This type represents a 16-bit unsigned storage type which is used by  
Python internally as basis for holding Unicode ordinals. On  platforms 
where wchar_t is available and also has 16-bits,  Py_UNICODE is a 
typedef alias for wchar_t to enhance  native platform compatibility. On 
all other platforms,  Py_UNICODE is a typedef alias for unsigned 
short."

I propose changing this to:

"This type represents the storage type which is used by Python 
internally as the basis for holding Unicode ordinals.  On platforms 
where wchar_t is available, Py_UNICODE is a typedef alias for wchar_t 
to enhance native platform compatibility.  On all other platforms, 
Py_UNICODE is a typedef alias for unsigned short.  Extension module 
developers should make no assumptions about the size of this type on 
any given platform."

If no one has a problem with that, I'll make the change in CVS.

--
Nick

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4