SBCommandInterpreter::InitializeSWIG () seems like a good place to do this. This could be renamed to be InitializeScriptInterpreters() and then you can do this if and only if python is enabled. http://reviews.llvm.org/D7957 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/