# HG changeset patch
# User Chris Cannam
# Date 1547482603 0
# Node ID c4510e5f7a17560674d66978bd09070b9b2926a3
# Parent  f92587bedb2c3f7c644eaee368fb39d6f8de35d2
Move more List types from the exposed names list to the commented-out "builtin objects" section. These aren't our own custom types

diff -r f92587bedb2c -r c4510e5f7a17 PyExtensionManager.cpp
--- a/PyExtensionManager.cpp	Thu Jan 10 15:52:21 2019 +0000
+++ b/PyExtensionManager.cpp	Mon Jan 14 16:16:43 2019 +0000
@@ -25,22 +25,25 @@
 
 //static
 const char* PyExtensionManager::m_exposedNames[] = {
+	
 		"ParameterDescriptor",
 		"OutputDescriptor",
-		"ParameterList",
-		"OutputList",
-	    "FeatureList",
 		"FeatureSet",
 		"Feature",
 		"RealTime",
 		"frame2RealTime",
-/* 		//using builtin objects:
+
+/* 		// using builtin objects:
+		"ParameterList",
+		"OutputList",
+		"FeatureList",
 		"OneSamplePerStep",
 		"FixedSampleRate",
 		"VariableSampleRate",
 		"TimeDomain",
 		"FrequencyDomain",
 */
+		
 		NULL
 };
 
@@ -135,6 +138,8 @@
 void 
 PyExtensionManager::cleanLocalNamespace(const char* plugModuleName) const
 {
+	DSTREAM << "Cleaning local namespace: " << plugModuleName << endl;
+
 	/// these references are all borrowed
 	PyObject *pyPlugModule = PyDict_GetItemString(m_pyGlobalNamespace,plugModuleName);
 	if (!pyPlugModule) return;
@@ -160,6 +165,8 @@
 void 
 PyExtensionManager::updateLocalNamespace(const char* plugModuleName) const
 {
+	DSTREAM << "Updating local namespace: " << plugModuleName << endl;
+
 	/// this allows the use of common syntax like:
 	/// from vampy import * 
 	/// even after several unload/reload cycles