Skip to content
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

add devnull, stdin, stdout and stderr #498

Closed
wants to merge 1 commit into from
Closed

add devnull, stdin, stdout and stderr #498

wants to merge 1 commit into from

Conversation

fredrikekre
Copy link
Member

No description provided.

@fredrikekre fredrikekre requested a review from ararslan February 23, 2018 10:01
@fredrikekre
Copy link
Member Author

fredrikekre commented Feb 23, 2018

Hmm... This will not work because some functions changes Base.stdout but Compat.stdout will always point to the old one. See e.g. the test failure on 0.6.

@fredrikekre fredrikekre deleted the fe/std branch February 23, 2018 10:50
@stevengj
Copy link
Member

Yes, it needs to be done with @compat to rewrite at the source level, I think.

@yuyichao
Copy link
Contributor

Not necessarily.

julia> module A
       a = 1
       end
Main.A

julia> module B
       import ..A.a
       end
Main.B

julia> B.a
1

julia> A.a
1

julia> A.eval(:(a = 2))
2

julia> B.a
2

julia> A.a
2

@yuyichao
Copy link
Contributor

Actually nvm, I guess this doesn't work for renaming...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants