Re: Python and GIL

2013-05-30 Thread Steven D'Aprano
On Thu, 30 May 2013 18:14:36 +, Ana Marija Sokovic wrote: > Hi, > > Can somebody explain to me how would you proceed in releasing the GIL > and whether you think it will have consequences? In pure Python code, you don't need to worry about the GIL, and in fact you cannot control it. Python

Re: Python and GIL

2013-05-30 Thread Chris Angelico
On Fri, May 31, 2013 at 4:14 AM, Ana Marija Sokovic wrote: > Hi, > > Can somebody explain to me how would you proceed in releasing the GIL and > whether you think it will have consequences? You release the GIL in C-level code when you don't need to work with Python objects for a while. Simple exa