[Expat-discuss] Expat on 64 bit Linux
Jeremy Kloth
jeremy.kloth at gmail.com
Tue Jun 1 20:41:31 CEST 2010
On Wednesday, March 24, 2010 10:09:29 am you wrote:
> On Fri, Feb 5, 2010 at 10:28 AM, Jeremy Kloth <jeremy.kloth at gmail.com>
wrote:
> > It was done to allow Expat output to be mapped directly to Python's
> > unicode objects (which can be either UCS-2 or UCS-4).
> >
> > If desired, I can produce the patches required to add that support to the
> > Expat mainline.
>
> Hey Jeremy!
>
> Would the output type be controlled at compile time or at run time?
>
> This definitely is interesting to me. Do you also have a patched
> pyexpat that consumes the new output, or are you using a new Python
> extension to use this?
Sorry for the delay, its been "in the queue".
The output type is matched compile time to Python's Py_UNICODE type. The
extension itself is 4Suite's cDomlette extension, which layers an Infoset
(DOM-like) on top of the raw Expat callbacks. It has been in production for a
very long time without issue, so I would call it quite stable.
--
Jeremy Kloth
More information about the Expat-discuss
mailing list