We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d20942d commit bd586daCopy full SHA for bd586da
src/libpython_clj2/python.clj
@@ -629,7 +629,9 @@ user> (py/call-attr inst \"addarg\" 10)
629
(when (seq item-path)
630
(if-let [module-retval (try
631
(import-module item-path)
632
- (catch Throwable e nil))]
+ (catch Exception e
633
+ (when-not (seq (module-path-string item-path))
634
+ (throw e))))]
635
(if reload?
636
(let [import-lib (import-module "importlib")]
637
(call-attr import-lib "reload" module-retval))
0 commit comments