[C++-sig] Reloading Functions

Nat Goodspeed ngoodspeed at solidworks.com
Tue Apr 10 21:41:11 CEST 2007

From: c++-sig-bounces at python.org [mailto:c++-sig-bounces at python.org] On
Behalf Of Jared McIntyre
Sent: Tuesday, April 10, 2007 3:02 PM
To: c++-sig at python.org
Subject: [C++-sig] Reloading Functions

Now I can run greet() just fine. However, we need to be able to make
changes in the greet script while the system is running, and swap the
old with the new. Calling the exec_file again won't replace the function
with the new version. Is there a way to do this without tearing down the
entire python runtime and restarting it?

[Nat] Call the Python reload() builtin?


More information about the Cplusplus-sig mailing list