The attached patch fixes the reload call when using python 3. reload() was moved into a new module called importlib in 3.4, so the old call just to reload() was failing in python3. I tested this with both python 3.6 and 2.7 on master and 5.1 and it reloads properly.
The attached patch fixes the reload call when using python 3. reload() was moved into a new module called importlib in 3.4, so the old call just to reload() was failing in python3. I tested this with both python 3.6 and 2.7 on master and 5.1 and it reloads properly.