[Chandler-dev] float('1.0') failing occasionally in French locale
Jeffrey Harris
jeffrey at osafoundation.org
Wed Sep 13 09:34:06 PDT 2006
Hi Andi,
>> Andi, do you know if PyICU ever releases the GIL as it runs a routine?
>
> No, it doesn't do anything with the GIL. None of the PyICU functions are
> long running, so this shouldn't be a problem. If it becomes one, then
> I'd have to switch it to work like PyLucene which releases/reacquires
> the GIL anytime it calls out from python.
Hmm. Perhaps PyLucene is manipulating the locale? Lucene indexers are
certainly aware of locale. Presumably it would be painful for
performance if PyLucene never released the GIL.
Probably we should set this aside for now and see if anyone ever
reproduces the problem. If we ever manage to reproduce it, I suppose I
could just use integer percentages instead of floats in that config file.
Sincerely,
Jeffrey
More information about the chandler-dev
mailing list