[Python-Dev] PEP 567 v2

Victor Stinner victor.stinner at gmail.com
Tue Jan 2 18:55:11 EST 2018


PEP:
"int PyContext_Enter(PyContext *) and int PyContext_Exit(PyContext *) allow
to set and restore the context for the current OS thread."

What is the difference between Enter and Exit? Why not having a single
Py_SetContext() function?

Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20180103/e7ed7a3b/attachment.html>


More information about the Python-Dev mailing list