Skip to content

Remove pack parsing#3909

Open
Earlopain wants to merge 1 commit intoruby:mainfrom
Earlopain:remove-pack
Open

Remove pack parsing#3909
Earlopain wants to merge 1 commit intoruby:mainfrom
Earlopain:remove-pack

Conversation

@Earlopain
Copy link
Collaborator

@Earlopain Earlopain commented Feb 6, 2026

It was never adopted by ruby or other implementations. Ruby 4.1 may add new directives, so now is a good time to remove it.

It was actually never properly documented (just shows Prism::Pack with no methods) so removing seems safe to do even now. I did a github code search and didn't find anyone using the ruby or c methods.

I'll merge this if no changes are requested.

Closes #3907

Earlopain added a commit to Earlopain/ruby that referenced this pull request Feb 6, 2026
It was never adopted by ruby or other implementations.
Ruyb 4.1 may add new directives, so now is a good time to remove it.

It was actually never properly documented (just shows `Prism::Pack` with no methods)
so removing seems safe to do even now.

Ref
* ruby/prism#3909
* ruby/prism#3907
@Earlopain
Copy link
Collaborator Author

Earlopain commented Feb 6, 2026

ruby/ruby#16085 to fix ruby CI, should be merged first. Looks like I won't do it after all. I asked in the bugtracker https://bugs.ruby-lang.org/issues/21839#note-7, let's see what happens with that.

@eregon
Copy link
Member

eregon commented Feb 6, 2026

There is a small typo in the commit message: Ruyb 4.1

@kddnewton
Copy link
Collaborator

Yeah this is good. We just need to merge it into CRuby first to make sure references to the headers and such go away.

It was never adopted by ruby or other implementations.
Ruby 4.1 may add new directives, so now is a good time to remove it.

It was actually never properly documented (just shows `Prism::Pack` with no methods)
so removing seems safe to do even now.
Earlopain added a commit to Earlopain/ruby that referenced this pull request Feb 6, 2026
It was never adopted by ruby or other implementations.
Ruby 4.1 may add new directives, so now is a good time to remove it.

It was actually never properly documented (just shows `Prism::Pack` with no methods)
so removing seems safe to do even now.

Ref
* ruby/prism#3909
* ruby/prism#3907
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.

Status of pack/unpack parsing

3 participants