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

define IOContext(io, pairs...) and remove IOContext(io; kw...) #23271

Merged
merged 1 commit into from
Aug 24, 2017

Commits on Aug 23, 2017

  1. define IOContext(io, pairs...) and remove IOContext(io; kw...)

    * Usually a context is defined via a pair (`IOContext(io, :k=>v)`),
      but if another pair has to be pushed, one had to either add an
      IOContext call (`IOContext(IOContext(io, :k=>v), :x=>y)`) or to
      switch to kwargs syntax (`IOContext(io, k=v, x=y)`), none
      of which is satisfactory.
    * As a consequence of allowing passing multiple pairs, the
      method using keyword arguments is obsoleted (and hence deprecated).
    * Also, the method `IOContext(io, key, value)` is deprecated in
      favor of `IOContext(io, key=>value)`.
    rfourquet committed Aug 23, 2017
    Configuration menu
    Copy the full SHA
    af2fd69 View commit details
    Browse the repository at this point in the history