Re: Expat on 64 bit Linux
Jeremy Kloth <[email protected]> Tue, 1 Jun 2010 12:41:31 -0600
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, March 24, 2010 10:09:29 am you wrote: > On Fri, Feb 5, 2010 at 10:28 AM, Jeremy Kloth <[email protected]> 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