PyImport_Import

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pablo Yabo

    PyImport_Import

    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



Working...