-
-
Notifications
You must be signed in to change notification settings - Fork 416
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
copy() seems to behave as deepcopy() in IJulia notebook #1093
Comments
I can't reproduce this issue. What version of IJulia are you using? Does it happen in a fresh notebook with no packages loaded? |
Dear Fredrik,Ok thanks for your response, that's funny. As I wrote, I am using IJulia version 1.24.2I did try again on a fresh notebook to be sure and got the same result as what I described earlier...All the best, WiebkeVon meinem/meiner Galaxy gesendet
-------- Ursprüngliche Nachricht --------Von: Fredrik Ekre ***@***.***> Datum: 01.09.23 15:50 (GMT+01:00) An: "JuliaLang/IJulia.jl" ***@***.***> Cc: Wiebke Scholz ***@***.***>, Author ***@***.***> Betreff: Re: [JuliaLang/IJulia.jl] copy() seems to behave as deepcopy() in
IJulia notebook (Issue #1093)
I can't reproduce this issue. What version of IJulia are you using? Does it happen in a fresh notebook with no packages loaded?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I also cannot reproduce this on the latest Julia/IJulia versions. @weikou does it still happen for you? |
I'm going to close this because I can't come up with a reproducer, but if you can reproduce it with the latest Julia/IJulia versions feel to reply here and I'll reopen it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I found a confusing inconsistency between the julia REPL and IJulia notebook.
When I open an IJulia notebook and type in
b does not change (in the IJulia notebook). So, copy() acts the same as deepcopy() here.
However, in the normal Julia REPL, as copy() is not recursive, so b[1][1] is changed to 11.
I am using:
Julia Version 1.8.1
Commit afb6c60d69a (2022-09-06 15:09 UTC)
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 4 × Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-13.0.1 (ORCJIT, ivybridge)
Threads: 1 on 4 virtual cores
My package version of IJulia is: IJulia v1.24.2
The text was updated successfully, but these errors were encountered: