benjaminwoods / despot

Utilities for better code practices
GNU General Public License v3.0
0 stars 0 forks source link

Tidy up SourceFileLoader usage #3

Open benjaminwoods opened 4 years ago

benjaminwoods commented 4 years ago

For the Python file scanning, I've written some inline loaders, and used SourceFileLoader.load_module in places.

SourceFileLoader.load_module is deprecated, and so one should use the whole find_spec, create_module, exec_module workflow instead.

To be done when required: