[Orbit-python-list] Wchar/wstring + Python 2
Status: Inactive
Brought to you by:
tack
From: Roland M. <ma...@ec...> - 2000-08-27 15:29:34
|
Hi all, Just to avoid duplicating efforts: work is in progress here on the wide char / wide string support in ORBit-Python. Nothing has been written yet, but I'm experimenting on the Python Unicode objects and it shouldn't be that much of a hassle to handle wchar and wstring in the marshalling/demarshalling. Could be a bit trickier as far as wchar/wstring constants are specified in the IDL, but I haven't started to look into that, so I'm not sure. In any case, don't expect anything before a few days / weeks (maybe around the Python 2.0b1 release if I'm lucky). Work is based on current Python developement branch (as found on the Sourceforge CVS), and a preliminary remark is this: ORBit-Python does not compile with Python 2. There's a PyMem_XDEL somewhere (src/server.c maybe), and apparently that macro or function is no more. Replacing it by a PyMem_DEL did not explode at me right away, but I wouldn't recommend that anyone do the same replacement without further testing. Stay tuned... Roland. -- Roland Mas Sauvez les castors, plantez des arbres. |