When I'm developing my cffi based project, I'm frequently adding things to the ffi build and rebuilding. Unfortunately, neither the rebuild nor ipython autoreload actually reloads the library.
I've tried importlib.reload() but it errors out:
AttributeError: module '_freeipmi' has no attribute '__path__'
It would be nice if there was a simple way to reload modules.