-
Notifications
You must be signed in to change notification settings - Fork 5.4k
[Bug #21513] Raise on converting endless range to set #13902
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
base: master
Are you sure you want to change the base?
Conversation
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.
Thank you for working on this.
4b9f122
to
31a3861
Compare
There's a SEGV in the ZJIT test suite: https://github.com/ruby/ruby/actions/runs/16305765996/job/46051383888?pr=13902 Not sure if it's related to my changes |
31a3861
to
a5a7db6
Compare
ZJIT error seems entirely unrelated to your change from a quick glance |
Looks like a weird GC issue related to marking though so paging in @k0kubun for good measure |
a5a7db6
to
e1b6f53
Compare
e1b6f53
to
ca35402
Compare
This comment has been minimized.
This comment has been minimized.
I agree that it's probably not related to the changes. We're looking into GC issues with ZJIT. |
7753557
to
2de1bf0
Compare
Could someone please take a look? |
2de1bf0
to
36e3cee
Compare
36e3cee
to
f9dce06
Compare
@jeremyevans thank you very much for helping me with that! ❤️ |
77d1e01
to
2241e74
Compare
CI failures are unrelated: TestGemRequest#test_verify_certificate_extra_message:
Test::Unit::ProxyError: X509_dup
/home/runner/work/ruby/ruby/src/lib/rubygems/request.rb:92:in 'OpenSSL::X509::StoreContext#current_cert'
/home/runner/work/ruby/ruby/src/lib/rubygems/request.rb:92:in 'Gem::Request.verify_certificate'
/home/runner/work/ruby/ruby/src/test/rubygems/test_gem_request.rb:373:in 'block in TestGemRequest#test_verify_certificate_extra_message'
/home/runner/work/ruby/ruby/src/lib/rubygems/user_interaction.rb:46:in 'Gem::DefaultUserInteraction.use_ui'
/home/runner/work/ruby/ruby/src/lib/rubygems/user_interaction.rb:69:in 'Gem::DefaultUserInteraction#use_ui'
/home/runner/work/ruby/ruby/src/test/rubygems/test_gem_request.rb:372:in 'TestGemRequest#test_verify_certificate_extra_message' |
ref: https://bugs.ruby-lang.org/issues/21513 Before this patch, trying to convert endless range (e.g. `(1..)`) to set (using `to_set`) would hang
2241e74
to
d8acf88
Compare
Before this patch, trying to convert endless range (e.g.
(1..)
or any other inifinte enumerable) to set (usingto_set
) would hang