[pylucene-dev] Is Python 2.4 *required*

Andi Vajda vajda at osafoundation.org
Mon Jan 31 15:06:56 PST 2005


With python < 2.4, your mileage will vary.
When using threading, deadlocks are a possibility around PyGILState_Ensure.
This also leads to a leak in finalizeObject() in PyLucene.i.

I've added code preventing these from happening but it disables threading and 
it disables freeing of wrapped python objects, hence it causes a leak.

I could try python 2.3.5 once it is released to relax this requirement a bit
but I'm pretty sure the threading fix that was made last September is not part 
of python 2.3.4. PyLucene with python < 2.3 was never even tested.

It is highly recommended you use python 2.4 with PyLucene.

Andi..


On Mon, 31 Jan 2005, Nick Arnett wrote:

> I see that the most recent version uses threads from Python 2.4... but is 
> this required?  Will it run under previous versions?
>
> Nick
>
> _______________________________________________
> pylucene-dev mailing list
> pylucene-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
>


More information about the pylucene-dev mailing list