Antoine Pitrou added the comment: > If we expose an official way to switch the destination of the > PyGILState APIs, then what it means is that mod_wsgi can, over the > lifecycle of a single process in the pool, *switch* the virtual host > and WSGI endpoint that process is handling by changing the active > interpreter.
I don't understand what that means. It's the OS which switches threads, including interpreter threads. (by the way, the real fix to the GILState vs. subinterpreters issue would be to create new API functions which take an interpreter as argument, so that you have a distinct TLS key per interpreter) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15751> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com