mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-24 22:08:57 -04:00
![]() Python 3 reverses the order in which you must call Py_InitializeEx and PyEval_InitThreads. Since that log is in itself already a little nuanced, it is refactored into a function so that the reversal is more clear. At the same time, there's a lot of logic during Python initialization to save off a bunch of state and then restore it after initialization is complete. To express this more cleanly, it is refactored to an RAII-style pattern where state is saved off on acquisition and restored on release. llvm-svn: 250306 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
lldb-python.h | ||
Makefile | ||
PythonDataObjects.cpp | ||
PythonDataObjects.h | ||
ScriptInterpreterPython.cpp | ||
ScriptInterpreterPython.h |