Cohabitation with Python and C++(tech.oyster.com)
tech.oyster.com
Cohabitation with Python and C++
http://tech.oyster.com/cohabitation-with-python-and-cpp/
2 comments
When you say HTTP API, does that mean you had C++ http server, C++ http client, Python http server and Python http client?
Good question: In this case C++ was the server, and Python (via urllib2) was the client.
[1] http://docs.python.org/c-api/init.html#releasing-the-gil-fro...
[2] http://docs.python.org/c-api/init.html#PyGILState_Ensure