Skip to content

Conversation

@herwinw
Copy link
Member

@herwinw herwinw commented Nov 16, 2024

Specifically Process:Status#& and Process::Status#>>. These methods have been deprecated in Ruby 3.3, and are planned to be removed (the warning of Ruby 3.3 says removed in 3.4, but today's version of Ruby 3.4-dev still has them and says it will be removed in 3.5).

I kept the specs pretty basic, so there's no spec to test if we call to_int on the argument, or what happens if the argument is not an integer, since these methods are deprecated I would say we can do without it.

They're pretty minimal, since the method is deprecated and will be
removed in Ruby 3.5. (Ruby 3.3 warns for removal in 3.4, but 3.4-dev
still has the method and warns for removal in 3.5)
They're pretty minimal, since the method is deprecated and will be
removed in Ruby 3.5. (Ruby 3.3 warns for removal in 3.4, but 3.4-dev
still has the method and warns for removal in 3.5)
@herwinw
Copy link
Member Author

herwinw commented Nov 16, 2024

This fixes an issue of #1216 ("Process::Status#& and Process::Status#>> are deprecated")

@andrykonchin
Copy link
Member

Thank you!

@andrykonchin andrykonchin merged commit 3f505ce into ruby:master Nov 27, 2024
14 checks passed
@herwinw herwinw deleted the process_status_bitwise_operators branch November 27, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants