On Tue, 21 Apr 2020 19:45:02 +1200 Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > On 21/04/20 11:24 am, Edwin Zimmerman wrote: > > Socket connections could be passed off from the main interpreter to > > sub-interpreters for concurrent processing that simply isn't possible > > with the global GIL > > I would need convincing that the processing involved things > that are truly held up by the GIL, rather than things like > blocking I/O calls that can release the GIL.
In many realistic situations, it will be a mix of both. For example, parsing HTTP headers isn't trivial and will consume CPU time with the GIL taken, if written in pure Python. Regards Antoine. _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/FZID7JKTABMVUWS4KV6JFPMNXSZPGQZO/ Code of Conduct: http://python.org/psf/codeofconduct/