Index: exec.hpp =================================================================== --- exec.hpp (revision 46461) +++ exec.hpp (working copy) @@ -5,7 +5,7 @@ #ifndef EXEC_SS20050616_HPP # define EXEC_SS20050616_HPP -# include +# include # include namespace boost @@ -18,21 +18,21 @@ // used during evaluation. object BOOST_PYTHON_DECL -eval(str string, object global = object(), object local = object()); +eval(str string, object global = dict(), object local = dict()); // Execute python source code from str. // global and local are the global and local scopes respectively, // used during execution. object BOOST_PYTHON_DECL -exec(str string, object global = object(), object local = object()); +exec(str string, object global = dict(), object local = dict()); // Execute python source code from file filename. // global and local are the global and local scopes respectively, // used during execution. object BOOST_PYTHON_DECL -exec_file(str filename, object global = object(), object local = object()); +exec_file(str filename, object global = dict(), object local = dict()); } }