-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
deprecate bits to bitstring #24281
deprecate bits to bitstring #24281
Conversation
b1444a4
to
33c2ba6
Compare
49b7a84
to
2eaa6c3
Compare
NEWS.md
Outdated
@@ -556,8 +556,9 @@ Deprecated or removed | |||
`ReinterpretArray`. The three argument form of `reinterpret` that implicitly reshapes | |||
has been deprecated ([#23750]). | |||
|
|||
* `num2hex` and `hex2num` have been deprecated in favor of `reinterpret` combined with `parse`/`hex` | |||
([#22088]) | |||
* `bits` has been deprecated in favor of `bitstring` ([#WHATAREBIRDS]). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
([#24281])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or #24263
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added both. Thanks!
base/deprecated.jl
Outdated
@@ -1913,6 +1913,9 @@ end | |||
@deprecate float(x::AbstractString) parse(Float64, x) | |||
@deprecate float(a::AbstractArray{<:AbstractString}) parse.(Float64, a) | |||
|
|||
# deprecate bits to bitstring | |||
@deprecate bits(x) bitstring(x) |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call! Simplified. Thanks! :)
Thanks all! :) |
This pull request deprecates
bits
tobitstring
, addressing #24263. Best!