Python 3.4.0 deprecated the "imp" module, and replaced it with
"importlib". This changes imp.reload() into implib.reload().
Details
Diff Detail
- Repository
- rBA Blender Add-ons
- Branch
- temp-sybren-replace-imp-module
Event Timeline
Git updated origin/master but not master, so some changes on master branch ended up here.
The io_import_dxf addon uses imp.load_dynamic(), which no longer exists in the new importlib module. This is *not* fixed in this patch, as it requires more than trivial changes. It also depends on a file cytags.so that isn't shipped with Blender, so I wouldn't be able to test it without more info.
The simple replacement for imp.reload seem fine, but theres some issue with render_renderfarmfi addon that should be resolved before committing.
(or just revert those changes and resolve later, along with the other non-trivial imp issues).
| render_renderfarmfi/rpc.py | ||
|---|---|---|
| 34 ↗ | (On Diff #3223) | implib doesn't exist, and seems importlib.load_module doesnt exist either. |
Removed non-trivial change; now really the only thing changing is imp.reload() to importlib.reload()