By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,772 Members | 935 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,772 IT Pros & Developers. It's quick & easy.


P: n/a
Im using PyImport_Import function to load a module. After using that module
I call Py_DECREF with the module pointer to free it.
Then I want to load a module with the same filename but different content,
but Python loads the previous loaded module instead.
I verified the symbols of the module and they are the old symbols of the
How can I force to unload the old module so PyImport_Import function loads
the new contents of the file?

Thanks on advance,

Pablo Yabo

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.