[lxml-dev] Python 3.0 Support
Stefan Behnel
stefan_ml at behnel.de
Sun Aug 3 08:41:50 CEST 2008
Hi,
Dr R. Sanderson wrote:
> Back in May, Stefan wrote:
>> [but yes, there will be lxml for Python 3, and pretty soon]
>
> Any news on the Py3k front?
It's there in general, so you can compile lxml under Py3 and run your code
against it for pure testing purposes.
However, due to changes in Py3.0 beta2, you can get crashes in the exception
handling code that Cython generates. There seem to be slight changes in the
way exceptions interact with the frame cleanup in Py3 now. And Cython does not
use frames at all but emulates them, apparently not well enough for the latest
Py3 beta...
I'm working on fixing this, but I don't know when this will be done. It may
take a couple of weeks, and will require a new source release of 2.1.x.
Stefan
More information about the lxml-dev
mailing list