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

RFC: deprecate showall #22847

Merged
merged 1 commit into from
Jul 18, 2017
Merged

RFC: deprecate showall #22847

merged 1 commit into from
Jul 18, 2017

Conversation

JeffBezanson
Copy link
Sponsor Member

This function has become pretty useless, since showing everything is basically the default.

@JeffBezanson JeffBezanson added kind:deprecation This change introduces or involves a deprecation domain:display and printing Aesthetics and correctness of printed representations of objects. labels Jul 17, 2017
Copy link
Member

@ararslan ararslan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@KristofferC
Copy link
Sponsor Member

I know BenchmarkTools uses this.

@ararslan
Copy link
Member

Does it have to?

@KristofferC
Copy link
Sponsor Member

Probably not, I'm in favour of the deprecation but thought I would mention a place where it is actually used.

@TotalVerb
Copy link
Contributor

What happens with repr?

@JeffBezanson
Copy link
Sponsor Member Author

The behavior of repr is the same, since the :limit property defaults to false, and repr calls show with a plain IOBuffer.

Copy link
Contributor

@TotalVerb TotalVerb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good then.

NEWS.md Outdated
@@ -197,6 +197,9 @@ Deprecated or removed

* The method `String(io::IOBuffer)` is deprecated to `String(take!(copy(io)))` ([#21438]).

* The function `showall` is deprecated. Showing entire values is the default, unless an
`IOContext` specifying `:limit=>false` is in use ([#22847]).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unless specifying :limit=>true ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:display and printing Aesthetics and correctness of printed representations of objects. kind:deprecation This change introduces or involves a deprecation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants