Spaces:
Running
Running
Prevent broad namespace mixing
Browse files- pysr/julia_extensions.py +1 -1
pysr/julia_extensions.py
CHANGED
|
@@ -32,5 +32,5 @@ def load_package(package_name: str, uuid_s: str) -> None:
|
|
| 32 |
|
| 33 |
# TODO: Protect against loading the same symbol from two packages,
|
| 34 |
# maybe with a @gensym here.
|
| 35 |
-
jl.seval(f"using {package_name}")
|
| 36 |
return None
|
|
|
|
| 32 |
|
| 33 |
# TODO: Protect against loading the same symbol from two packages,
|
| 34 |
# maybe with a @gensym here.
|
| 35 |
+
jl.seval(f"using {package_name}: {package_name}")
|
| 36 |
return None
|