Embracing the GIL

David Beazley (http://www.dabeaz.com)

Presented at PyCodeConf'2011
Miami, Florida
October 6, 2011

Code related to the talk can be found on bitbucket. Specifically:

3.2-priority        Python-3.2.2 with a priority GIL
3.2-nonblock        Python-3.2.2 with nonblocking socket changes
3.2-gil             Python-3.2.2 with both changes.

  • https://bitbucket.org/dabeaz/gil-testing. Various test code used in the talk.
  • For more information on the GIL, see my PyCon'2010 talk and various blog posts.

    Please feel free to contact me with any questions you might have about this or past presentations. If you have ideas about improving the Python GIL itself, don't contact me directly--instead, consider posting on python-dev or submitting a new issue in the Python tracker.