PyImport_Import

P

Pablo Yabo

Hi,
I´m 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
file.
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,183
Messages
2,570,966
Members
47,516
Latest member
ChrisHibbs

Latest Threads

Top