Commit 3efa487
authored
Revert: fix "imp" module deprecation warnings (#369)
closes #368
There is more involved with migrating to `find_spec()` and Python's new
enterprise-quality API. We may not be able to fashion a compat wrapper
that mimics the old find_module() API.
- `find_spec()` returns `importlib.machinery.ModuleSpec` object, unlike
`find_module()` which returns 3 values.
- `host.py` sends the result to `imp.load_module()` ...
Reverts the following:
8df2861
a29f34e
e29e4df1 parent b748f91 commit 3efa487
2 files changed
+11
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 5 | + | |
15 | 6 | | |
16 | 7 | | |
17 | 8 | | |
18 | 9 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 10 | | |
26 | 11 | | |
27 | 12 | | |
28 | | - | |
| 13 | + | |
29 | 14 | | |
30 | | - | |
| 15 | + | |
| 16 | + | |
31 | 17 | | |
32 | 18 | | |
33 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | | - | |
219 | | - | |
| 219 | + | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | | - | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
231 | 232 | | |
232 | 233 | | |
233 | 234 | | |
234 | | - | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
0 commit comments