Skip to content

deprecate bits to bitstring#24281

Merged
JeffBezanson merged 1 commit into
JuliaLang:masterfrom
Sacha0:bitstring
Oct 25, 2017
Merged

deprecate bits to bitstring#24281
JeffBezanson merged 1 commit into
JuliaLang:masterfrom
Sacha0:bitstring

Conversation

@Sacha0

@Sacha0 Sacha0 commented Oct 23, 2017

Copy link
Copy Markdown
Member

This pull request deprecates bits to bitstring, addressing #24263. Best!

@Sacha0 Sacha0 added deprecation This change introduces or involves a deprecation triage This should be discussed on a triage call labels Oct 23, 2017
@Sacha0
Sacha0 force-pushed the bitstring branch 2 times, most recently from b1444a4 to 33c2ba6 Compare October 23, 2017 02:39
@Sacha0
Sacha0 force-pushed the bitstring branch 2 times, most recently from 49b7a84 to 2eaa6c3 Compare October 23, 2017 04:37
Comment thread NEWS.md Outdated

* `num2hex` and `hex2num` have been deprecated in favor of `reinterpret` combined with `parse`/`hex`
([#22088])
* `bits` has been deprecated in favor of `bitstring` ([#WHATAREBIRDS]).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

([#24281])

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

or #24263

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Added both. Thanks!

Comment thread base/deprecated.jl Outdated
@deprecate float(a::AbstractArray{<:AbstractString}) parse.(Float64, a)

# deprecate bits to bitstring
@deprecate bits(x) bitstring(x)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I suppose this could be @deprecate bits bitstring?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good call! Simplified. Thanks! :)

@JeffBezanson JeffBezanson removed the triage This should be discussed on a triage call label Oct 25, 2017
@JeffBezanson
JeffBezanson merged commit 3b94a9e into JuliaLang:master Oct 25, 2017
@Sacha0

Sacha0 commented Oct 26, 2017

Copy link
Copy Markdown
Member Author

Thanks all! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecation This change introduces or involves a deprecation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants