Fix slow import by encapsulating ipynbname.name() call
@simon.humpohl any less hacky ideas?
The problem is that (at least in Windows) in case there is no jupyter server running, ipynbname.name()
takes very long (the timeout duration of the http request) to realize this. That makes imports from qutil import x
very slow because somehow lazy_loader
runs the module code even if x != ui
.