The GIL has been a widely discussed topic in the Python community. It's has 
it's advantages and disadvantages.
I was suggesting that an official way be placed in the Python threading module 
to release the GIL if one needs to perform some tasks that don't need the GIL.

It could be something as simple as

thd = threading.Thread(target = encrypt, nogil = True)

I saw a nogil option in Cython, I just thought it would be great to have it 
fully support in Python as we await the results from Sam Gross's paper.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/5PWD7MXW6EO3ZECUPNXUQHE6HBYZ4JPU/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to