aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/pybase.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2005-09-21 10:52:33 +0000
committerThomas Grill <xovo@users.sourceforge.net>2005-09-21 10:52:33 +0000
commit2b91966061ead3c4aa260033e95cfc4adb396496 (patch)
treecd8b0d9196dd9f49a389427ad56349d22bde2476 /externals/grill/py/source/pybase.cpp
parent45da6684cbe9bd2fe199b0fd75a40f1c219b6341 (diff)
__str__ method for pyext, to enable print self calls
python-like dotted module.function syntax multiply inlets for py (hot and cold inlets) enable symbol binding for all callables (not only functions and methods) enable optimization of Python code in reease build _isthreaded is now a data member instead of a method compiler flag to exclude DSP objects some ASSERTs for explicitly created pyext classes (should be runtime checks i guess) cleaned up float vs. int pyext tags more safety for calls where association python-pd has already been removed open editor for module file on "edit" message (or click) let _inlets and _outlets default to 0 svn path=/trunk/; revision=3610
Diffstat (limited to 'externals/grill/py/source/pybase.cpp')
-rw-r--r--externals/grill/py/source/pybase.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/externals/grill/py/source/pybase.cpp b/externals/grill/py/source/pybase.cpp
index b7a112e9..09fd8687 100644
--- a/externals/grill/py/source/pybase.cpp
+++ b/externals/grill/py/source/pybase.cpp
@@ -101,7 +101,10 @@ void pybase::lib_setup()
Py_Initialize();
#ifdef FLEXT_DEBUG
+ Py_DebugFlag = 1;
// Py_VerboseFlag = 1;
+#else
+ Py_OptimizeFlag = 1;
#endif
#ifdef FLEXT_THREADS