Skip to content

Conversation

@Sacha0
Copy link
Member

@Sacha0 Sacha0 commented Oct 23, 2017

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
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
Member

Choose a reason for hiding this comment

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

([#24281])

Copy link
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
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!

@deprecate float(a::AbstractArray{<:AbstractString}) parse.(Float64, a)

# deprecate bits to bitstring
@deprecate bits(x) bitstring(x)
Copy link
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
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
Copy link
Member Author

Sacha0 commented Oct 26, 2017

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