Need advices regarding the strings (str, unicode, coding) used as interface for an external library.

Terry Reedy tjreedy at udel.edu
Mon Nov 22 19:11:40 EST 2010


On 11/22/2010 3:25 PM, jmfauth wrote:
> I'm planning to build an external lib. This lib will exchange
> a lot of strings between the lib and the "core Python code"
> of applications.

Are you planning to exchange indirectly via disk files or directly via 
memory buffers?

This pretty much amounts to whether the library will interface with 
Python-only or with anything.

Also, what OSes? If 'all', you need to be able to work with both 2 and 4 
byte unicodes.

-- 
Terry Jan Reedy




More information about the Python-list mailing list