labscript-suite / labscript-utils

Shared modules used by the 𝘭𝘒𝘣𝘴𝘀𝘳π˜ͺ𝘱𝘡 𝘴𝘢π˜ͺ𝘡𝘦. Includes a graphical exception handler, debug tools, configuration management, cross platform filepath conversions, unit conversions and custom GUI widgets.
http://labscriptsuite.org
Other
2 stars 45 forks source link

Fixes an issue where `imp` is no longer a python module #101

Closed ispielma closed 7 months ago

ispielma commented 7 months ago

Fixes issue https://github.com/labscript-suite/labscript-utils/issues/100

dihm commented 7 months ago

I see this as a fine bandaid fix for the immediate problem, but we should really sit down and try to update how module watcher works (which is more fundamental) since import locking has fundamentally changed since Python 3.4. I'll go ahead and create an issue for that and merge this as-is.