Hi, What happens if I do the following?
using namespace boost::python; import( "__main__" ).attr( "new_global" ) = 40.0f; import( "__main__" ).attr( "another_global" ) = 100.0f: My main concern here is performance. I'm wondering if each call to import() results in a disk query for the script in question and loads it from there. I'm also wondering if the second import() above will simply read from a memory cache or something. Help would be appreciated.
_______________________________________________ Cplusplus-sig mailing list Cplusplus-sig@python.org http://mail.python.org/mailman/listinfo/cplusplus-sig