[Numpy-discussion] re loading f2py modules in ipython
Wed Sep 9 10:22:43 CDT 2009
On Wed, Sep 9, 2009 at 06:25, John [H2O]<email@example.com> wrote:
> I've started to rely more and more on f2py to create simple modules
> utilizing Fortran for efficiency. This is a great tool to have within
> A problem, however, is that unlike python modules, the reload() function
> does not seem to update the f2py modules within ipython (which I use
> extensively for testing).
> Is there another function to call?
No. Extension modules, regardless of whether they are built with f2py
or pure C, cannot be be reloaded. It's a limitation of CPython.
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
-- Umberto Eco
More information about the NumPy-Discussion