Re:Comparing a web service written in Python and Go [pdf]
by kintamanimatt on Monday October 19, 2015 @11:39AM
(#10413569)
The GIL only restricts utilization of multiple cores. This makes parallelism harder but not concurrency. Python fully supports threads, but you won't find two threads in the same process running at the same time.
Re:Comparing a web service written in Python and Go [pdf]
by falcolas on Monday October 19, 2015 @01:23PM
(#10414291)
Small clarification - you will if they are down in C code. i.e. you can have multiple threads in Python blocking on IO just fine. Or three threads concurrently running C code which releases the GIL until it needs to be re-acquired. Quite a few standard libraries which require significant processing power do exactly this.
If you need multithreading of Python code for parallelism, you cannot use CPython (and, consequently, can't use Python 3.)
Both IronPython and Jython use native threads without a GIL.