[Python-Dev] Support for "wide" Unicode characters

M.-A. Lemburg mal@lemburg.com
Mon, 02 Jul 2001 20:59:06 +0200


Just van Rossum wrote:
> 
> Paul Prescod wrote:
> 
> > Could an extension be carefully written so that a single binary could be
> > compatible with both types of Python build? I'm thinking that it would
> > pass data buffers with the "right width" based on checking a runtime
> > flag...
> 
> But then it would also be compatible with a unicode object using different
> internal storage units per string, so I'm sure this is a dead end ;-)

Agreed :-)

Extension writer will have to provide two versions of the binary.

-- 
Marc-Andre Lemburg
________________________________________________________________________
Business:                                        http://www.lemburg.com/
Python Pages:                             http://www.lemburg.com/python/