Re: not thread-safe function can break a django application?

2014-11-27 Thread Fabio Caritas Barrionuevo da Luz
razilian forum about django. >> >> one of the proposed solutions utilized the function locale.setlocale() >> from locale module. >> >> according to the documentation[1] locale.setlocale() function is not >> thread-safe >> >> the question is: >>

Re: not thread-safe function can break a django application?

2014-11-24 Thread Collin Anderson
to the documentation[1] locale.setlocale() function is not > thread-safe > > the question is: > > not thread-safe function can break a django application? > Yes If so, how? > You can have "race conditions" where _sometimes_ you get unpredictable results. Which s

not thread-safe function can break a django application?

2014-11-22 Thread Fabio C. Barrionuevo da Luz
I was trying to answer a question in a Brazilian forum about django. one of the proposed solutions utilized the function locale.setlocale() from locale module. according to the documentation[1] locale.setlocale() function is not thread-safe the question is: not thread-safe function can break