-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maintaining bidirectional transformation equality when automatically converting (semantically) immutable data #193
Comments
InvariantsGoing from Julia to Python to Julia, the invariant If *for example In the other direction (Python to Julia to Python) then Stricter Invariants?You want Your ExampleIn your example you have f = jl.seval("function (p::Pair) ... end")
x = jl.seval("1 => 2")
f(x) but it doesn't work because In practice, when calling
Alternatively you can do: jlr = jl._jl_raw()
f = jlr.seval("function ... end")
x = jlr.seval("1 => 2")
f(x) then |
Your explanation is pretty neat, and I think Checking the functionality of P.S: I'd appreciate it a lot for this well-designed Julia-Python interop packages 👉🥇. |
This issue has been marked as stale because it has been open for 30 days with no activity. If the issue is still relevant then please leave a comment, or else it will be closed in 7 days. |
Automatic conversion is handy, but we could avoid possible issues if we hold
to_julia(to_python(o)) === o
in Julia orto_python(to_julia(o)) == o
in Python.The text was updated successfully, but these errors were encountered: