Closed
Description
If you create new Julia module
import juliacall as jl
m = jl.newmodule("TestModule")
m.seval("1 + 1")
will not work because m
doesn't have eval(::Expr)
defined, but only have eval(::Module, ::Expr)
this is because the module created using Module
doesn't have eval(::Expr)
defined. I'm not sure if we should just generate this method manually, but I think if we use Base.eval(::Module, ::Expr)
it will always work at least.
Metadata
Metadata
Assignees
Labels
No labels