Repository navigation
Commit 09166b6
Neil
Tweak load_module_from_file to work on Python 3.15
`create_module` is allowed to return None, which needs additional
logic to handle correctly, so we switch to using `module_from_spec` to
does all that for us.1 parent 847875a commit 09166b6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments