Activity
From 09/01/2024 to 09/07/2024
09/07/2024
-
05:00 PM Bug #20718: Objects created with Data_Make_Struct and the default free function are not freed
- I think this issue was introduced in 3.3? Let me know if not and I'll update the backport target.
Also for 3.3 the... -
03:19 AM Bug #20718 (Closed): Objects created with Data_Make_Struct and the default free function are not freed
- Applied in changeset commit:git|c1a510a8dffa1c8065e47697cd57edae67126712.
----------
[Bug #20718] Free non-`RTypedDa... -
04:22 PM Bug #20720: prism incorrectly marks SuperNode as forwarding in some cases
- PR here: https://github.com/ruby/ruby/pull/11565
-
01:26 PM Bug #20720 (Closed): prism incorrectly marks SuperNode as forwarding in some cases
- ```ruby
class A
def foo(*b, &block)
end
end
class B < A
def foo(...)
super()
puts "2"
end
... -
08:29 AM Bug #20719 (Closed): `Float` converts ASCII-incompatible string
- Applied in changeset commit:git|c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775.
----------
[Bug #20719] `Float` argument m... -
07:01 AM Bug #20719 (Closed): `Float` converts ASCII-incompatible string
- ```ruby
"\u{3036}" #=> "〶"
Float("\u{3036}".encode("utf-16be")) #=> 6.0
```
While:
```ruby
Integer("\u{3036... -
12:00 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
- This behavior isn't related to `instance_method`. It occurs in the following code:
```ruby
module A
def test(...
09/06/2024
-
09:55 PM Bug #20718: Objects created with Data_Make_Struct and the default free function are not freed
- I have added a pull request that should patch the issue. https://github.com/ruby/ruby/pull/11563 - I was able to buil...
-
09:45 PM Bug #20718 (Closed): Objects created with Data_Make_Struct and the default free function are not freed
- I discovered a memory leak when using the FFI gem prior to version 1.16 and Ruby 3.3 and up.
During debugging I fo... -
09:50 PM Bug #20710: Reducing Hash allocation introduces large performance degradation (probably related to VWA)
- I implemented @byroot's suggestion in this PR: https://github.com/ruby/ruby/pull/11562
It significantly improves t... -
07:13 PM Feature #20715: `Ractor.[]` and `Ractor.[]=` to access Ractor local storage
- > it would be nice to do the same for Fiber and Thread as well
Would also be the occasion for `Thread[]` to be ac... -
03:38 PM Feature #20715: `Ractor.[]` and `Ractor.[]=` to access Ractor local storage
- +1, makes perfect sense (IMO it would be nice to do the same for Fiber and Thread as well but out of scope of this is...
-
06:52 PM Bug #20501: ruby SEGV
- Okay, I figured out what's happening. In compile.c, new LABELs are allocated from an arena, and this is using xmalloc...
-
05:24 PM Bug #20501: ruby SEGV
- This is a weird way to reproduce, but you can see it on https://runruby.dev/ if you comment out the Gemfile and put t...
-
04:45 PM Bug #20501: ruby SEGV
- I'm not able to reproduce on Linux with this script using either master HEAD or 5613d6e95b.
-
03:15 PM Bug #20501: ruby SEGV
- I'm on x86-64 linux so that might have to do with it. I'll investigate a bit more.
-
02:20 AM Bug #20501: ruby SEGV
- luke-gru (Luke Gruber) wrote in #note-5:
> For example, this is a minimal reproduction:
I can't reproduce it with... -
02:48 PM Feature #20309: Bundled gems for Ruby 3.5
- Does this change mean that even if Ruby is installed, the irb command will no longer be available?
If that is the ca... -
05:35 AM Feature #20309: Bundled gems for Ruby 3.5
- I will warn `benchmark`, `irb` and `reline` at Ruby 3.4. and make them and `readline` wrapper to bundled gems at Ruby...
-
10:40 AM Feature #20702 (Closed): Add `Array#fetch_values`
- Applied in changeset commit:git|bc85c8d8529b58c5c649f418ca549569ba348caa.
----------
Implement Array#fetch_values
[... -
08:06 AM Feature #20705: Should "0.E-9" be a valid float value?
- > But I think it's good to make Float/to_f to accept "0.e-9"
Changing `String#to_f` introduces incompatibility:
```... -
02:48 AM Feature #20705: Should "0.E-9" be a valid float value?
- Implementation: https://github.com/ruby/ruby/pull/11559
Should we also accept "0." as @mame showed in #2? The impl... -
04:22 AM Misc #20717 (Closed): DevMeeting-2024-10-03
- # The next dev meeting
**Date: 2024/10/03 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
04:21 AM Misc #20660 (Closed): DevMeeting-2024-09-05
-
03:46 AM Feature #20673: Enable native SOCKS support by default
- As for the current SOCKS support at least, if the necessary library and header are found `socket.so` uses SOCKS funct...
-
03:42 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
- Yes, you are correct. This isn't specific to `define_method`. I modified the snippet a little bit
```
module A
d... -
03:32 AM Bug #20716: Different instance_method behavior in Ruby 2.7 and Ruby 3.x
- This appears to be a method caching bug in `super`. If you remove the `.call(1)`, then it works correctly. `super_m...
-
02:04 AM Bug #20716 (Closed): Different instance_method behavior in Ruby 2.7 and Ruby 3.x
- Hi, I am working on upgrading our project from 2.7 to 3.x and found a breaking change in `instance_method` behavior.
... -
02:20 AM Feature #20692: Rewrite Array#bsearch in Ruby
- I tried `make test-all TESTS=test/ruby/test_array.rb` with the proposed implementation, but several tests failed. The...
-
12:45 AM Misc #20658 (Closed): Dropping the Arm Neoverse (Ubuntu) server on RubyCI
- "Arm Neoverse (Ubuntu)" has been removed from https://rubyci.org/.
-
12:44 AM Bug #20711 (Closed): readline/reline duplicate display of prompt
- https://github.com/ruby/ruby/pull/11558
09/05/2024
-
08:34 PM Feature #20692: Rewrite Array#bsearch in Ruby
- I think this is a good idea, but I think we need to make a few changes. First, `to_enum` and `block_given?` are both...
-
06:34 PM Feature #20702: Add `Array#fetch_values`
- Implementation: https://github.com/ruby/ruby/pull/11555
-
08:46 AM Feature #20702: Add `Array#fetch_values`
- Looks like a good idea. Accepted.
Matz.
-
05:31 PM Bug #20501: ruby SEGV
- I created a patch here: https://github.com/ruby/ruby/pull/11554. I'm new to the code in compile.c so perhaps someone ...
-
05:23 PM Feature #20707 (Closed): Move `Time#xmlschema` into core
- Applied in changeset commit:git|57e3fc32ea83e55d40f4cc6c3e437d485c506d34.
----------
Move Time#xmlschema in core and... -
07:39 AM Feature #20707: Move `Time#xmlschema` into core
- Accepted.
Matz.
-
02:36 PM Feature #20673: Enable native SOCKS support by default
- @nobu there has perhaps been a misunderstanding. The `socksify` library works adequately for HTTP today, but it patch...
-
01:20 PM Feature #20673: Enable native SOCKS support by default
- At the developers' meeting, there was an opinion that we could drop the support for SOCKS if it works well with `sock...
-
10:57 AM Bug #20713: Ruby 3.3.5 triggers a deprecation warning with `require "json"`
- The `rdoc` warning is from `irb` itself: https://github.com/ruby/irb/pull/999
-
10:46 AM Feature #20684 (Closed): Add optimized instructions for frozen literal Hash and Array
- Applied in changeset commit:git|a99707cd9c6a1d53cf8ebc883dc210219bd67a28.
----------
Optimized instruction for Array... -
06:08 AM Feature #20684: Add optimized instructions for frozen literal Hash and Array
- Makes sense, thank you Matz!
-
05:50 AM Feature #20684: Add optimized instructions for frozen literal Hash and Array
- Basically agreed. But the existence (and side effect) of this optimization should be implementation defined, especial...
-
10:11 AM Feature #15554: warn/error passing a block to a method which never use a block
- > Warning category option like
I think this is the better option as it build on top of an existing interface.
... -
03:02 AM Feature #15554: warn/error passing a block to a method which never use a block
- As @Eregon mentioned on #60 we need to discuss how to enable strict mode.
https://hackmd.io/CoLraFp_QrqyHBcv3g8bVg?vi... -
09:43 AM Feature #20590 (Closed): Ensure `fork` isn't called when `raddrinfo`'s background thread is in `getaddrinfo`
- Applied in changeset commit:git|63cbe3f6ac9feb44a2e43b1f853e2ca7e049316c.
----------
Proof of Concept: Allow to prev... -
09:23 AM Bug #20690 (Rejected): URI.encode_www_form_component method escapes tilde when it's not supposed to
- `URI.encode_www_form_component` is designed for HTML form submission.
It is not whatt RFC3986 defines as "Percent-En... -
09:05 AM Feature #20705: Should "0.E-9" be a valid float value?
- It seems a bug in missing/dtoa.c.
-
08:49 AM Feature #20705: Should "0.E-9" be a valid float value?
- We are not going to change the literal format of floating point values. But I think it's good to make Float/to_f to a...
-
08:54 AM Feature #20703: Alias StringIO#string to StringIO#to_s/to_str
- Since `StringIO` is a IO-like object, not String-like object, so it should not provide `to_str`. And string body of a...
-
08:30 AM Feature #20703 (Rejected): Alias StringIO#string to StringIO#to_s/to_str
- At this developers' meeting, no one was favor of this.
IMO, `StringIO` is not a `String`-like object.
-
06:26 AM Bug #20714 (Assigned): Handle optional dependencies in `bundled_gems.rb`
-
06:24 AM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- deivid (David Rodríguez) wrote in #note-6:
> Is it as simple as https://github.com/ruby/ruby/pull/11550?
I had so... -
05:56 AM Bug #20675 (Closed): Parse error with required kwargs and omitted parens
- OK, I understand the reason and background of this behavior. The issue is withdrawn.
Matz.
-
04:54 AM Feature #20594: A new String method to append bytes while preserving encoding
- `String#append_as_bytes` looks good to me too. Accepted.
Matz.
-
02:48 AM Feature #20627: `require` on Ractor should run on the main Ractor
- I want to add new features:
* `Ractor._activated` which is called when the first `Ractor.new` is called
* `Ractor... -
02:35 AM Feature #20715 (Closed): `Ractor.[]` and `Ractor.[]=` to access Ractor local storage
- Trivial proposal.
Now `Ractor#[]/#[]=` is supported to access current ractor local storage. However, it doesn't al...
09/04/2024
-
10:13 PM Bug #20501: ruby SEGV
- It looks like it has to do with `defined?()` in an `if` expression and its catch table entries when the first part of...
-
09:27 PM Feature #16378: Support leading arguments together with ...
- esad (Esad Hajdarevic) wrote in #note-21:
> Is there a reason why this doesn't work with keyword arguments too?
> ... -
09:04 PM Feature #16378: Support leading arguments together with ...
- Is there a reason why this doesn't work with keyword arguments too?
For example:
```
def foo(bar:, ...)
oth... -
08:02 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- > Drop warnings when ruby would throw an error here. When the require will raise, it doesn't need to warn. This is ho...
-
04:38 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- Maybe a good solution is to make `$VERBOSE` thread-local or fiber-local at some point, then at least this concern and...
-
04:20 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- Thanks for you reply, I was about to write something similar about the older rubies.
At first I was writing about ... -
04:07 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- The problem is any new API would be rather cumbersome to use (in a way that still works on older Rubies), so probably...
-
03:51 PM Bug #20714: Handle optional dependencies in `bundled_gems.rb`
- One potential problem with setting `$VERBOSE` to nil is that's not thread-safe, and so might hide valid warnings from...
-
02:17 PM Bug #20714 (Assigned): Handle optional dependencies in `bundled_gems.rb`
- I've encountered a few places around bundled gems where the library doesn't care if the gem is available, but will st...
-
12:29 PM Bug #20713: Ruby 3.3.5 triggers a deprecation warning with `require "json"`
- I believe reline requires a PR like that as well: `bundle exec ruby -e "require 'reline'"`
> /home/user/.rbenv/versi... -
10:23 AM Bug #20713: Ruby 3.3.5 triggers a deprecation warning with `require "json"`
- https://github.com/ruby/ruby/pull/11541
-
06:43 AM Bug #20713: Ruby 3.3.5 triggers a deprecation warning with `require "json"`
- I think that if Bundler is used, that means gems are used and they should always fully specify their dependencies. Th...
-
05:06 AM Bug #20713: Ruby 3.3.5 triggers a deprecation warning with `require "json"`
- Ah is the default `json` gem no longer supported too? This broke REXML CI: https://github.com/ruby/rexml/actions/runs...
-
05:00 AM Bug #20713 (Closed): Ruby 3.3.5 triggers a deprecation warning with `require "json"`
- You can suppress that warning with `json-2.7.2`.
-
04:53 AM Bug #20713 (Closed): Ruby 3.3.5 triggers a deprecation warning with `require "json"`
- Can be reproduced with `bundle exec ruby -e "require 'json'"`:
```
/opt/hostedtoolcache/Ruby/3.3.5/x64/lib/ruby/3... -
10:03 AM Misc #20013: Travis CI status
- > So, I will drop all the pipelines on the 2nd commit on the following PR.
Dropped Travis as temporary workaround.... -
07:09 AM Misc #20660: DevMeeting-2024-09-05
- * [Feature #20707] Move `Time#xmlschema` (AKA `iso8601`) into core (byroot)
* Usability wise, this is such a commo... -
03:28 AM Bug #20710: Reducing Hash allocation introduces large performance degradation (probably related to VWA)
- @peterzhu2118 This is totally different from the issue we talked about in Slack, which was entirely a micro-benchmark...
-
03:17 AM Bug #20708 (Closed): EINTR while opening fifo isn't retried
- Applied in changeset commit:git|37d7ae06afb03ae5508bfd81033961559886bd6b.
----------
[Bug #20708] Retry `open` on EI... -
02:29 AM Bug #20708: EINTR while opening fifo isn't retried
- https://github.com/ruby/ruby/pull/11537
09/03/2024
-
09:47 PM Bug #20711: readline/reline duplicate display of prompt
- tompng (tomoya ishida) wrote in #note-1:
> https://github.com/ruby/reline/pull/742 will fix it.
Great - thanks :-) -
03:30 PM Bug #20711: readline/reline duplicate display of prompt
- https://github.com/ruby/reline/pull/742 will fix it.
-
10:45 AM Bug #20711 (Closed): readline/reline duplicate display of prompt
- ```ruby
#!/usr/bin/env ruby
require 'readline'
prompt = "asdf: "
default = "true"
Readline.pre_input_hook ... -
06:28 PM Feature #20709 (Closed): Improve String#rindex performance on OSX
- Merged in https://github.com/ruby/ruby/commit/e7cb70be4eb7411204f73ee748e317fefaa0410a
-
03:37 PM Feature #20525: Percent string literal with indentation support or String#dedent
- Oh interesting, I thought that was a typo 😂.
I was playing around with characters after I wrote this and found som... -
12:28 PM Feature #20525: Percent string literal with indentation support or String#dedent
- @bradgessler I am not sure if you've missed the suggestion by @shyouhei in https://bugs.ruby-lang.org/issues/20525#no...
-
08:31 AM Feature #20525: Percent string literal with indentation support or String#dedent
- Same reason you can conjure up a Proc via `-> {}` — the syntax looks cleaner and you don't have to stop and try to na...
-
12:48 PM Feature #20712 (Closed): module should return newly defined module
-
12:14 PM Feature #20712: module should return newly defined module
- `module` and `class` don't return `nil`, they return the value of the last statement in the scope:
```ruby
x = modu... -
12:12 PM Feature #20712: module should return newly defined module
- Ok I was too quick on this one. module keyword returns last expression in the block, so just ending module declaratio...
-
12:04 PM Feature #20712 (Closed): module should return newly defined module
- Currently module keyword returns nil after defining a new module:
```
x = module Foo
end
# x is nil
```
It ... -
06:00 AM Misc #20685 (Closed): Ruby 3.2.4 tag mentions unrelated changes (CVE-2024-27280)
- Removed them at https://github.com/ruby/www.ruby-lang.org/pull/3347
-
05:48 AM Bug #20687 (Closed): Does tarball require baseruby?
- This issue happens only when ruby is installled but erb is not installed. 6ab591f80aa19d63ecd1e1df3c09c391efb318a6 ch...
-
05:48 AM Bug #20687: Does tarball require baseruby?
- vo.x (Vit Ondruch) wrote in #note-4:
> nobu (Nobuyoshi Nakada) wrote in #note-1:
> > In that case, the system ruby ... -
03:24 AM Misc #20660: DevMeeting-2024-09-05
- * [Feature #20673] Enable native SOCKS support by default (znz)
* I think enable by default is better than depend o...
09/02/2024
-
11:40 PM Bug #20695 (Closed): Elevated GC allocations in parse.y parser
- Applied in changeset commit:git|c93d07ed7448f332379cf21b4b7b649b057e5671.
----------
[Bug #20695] Do not create need... -
04:53 PM Bug #20710: Reducing Hash allocation introduces large performance degradation (probably related to VWA)
- I still think free pages should be in a global pool rather than tied to a specific pool size. I believe that would so...
-
04:49 PM Bug #20710: Reducing Hash allocation introduces large performance degradation (probably related to VWA)
- Thank you for the detailed report.
I had a discussion about this with @mame and @byroot last year in the Ruby core... -
06:24 AM Bug #20710 (Closed): Reducing Hash allocation introduces large performance degradation (probably related to VWA)
- I found a surprising performance degradation while developing RBS.
In short, I tried to remove unnecessary Hash allo... -
10:19 AM Bug #20701: Hash argument passed as keyword splat can be mutated inside method
- ruby_3_3 commit:cf9a6c2b63e6337a3f6ce76527446739e5aceb67 merged revision(s) commit:a3562c2a0abf1c2bdd1d50377b4f929580...
-
10:13 AM Bug #20698: Please backport fix for CVE-2024-43398
- Please consider filing PRs to branches like `ruby_3_3` next time.
-
10:12 AM Bug #20698: Please backport fix for CVE-2024-43398
- ruby_3_3 commit:e0e23e7d5e.
-
10:11 AM Bug #20691: Use-after-free in WeakKeyMap#clear
- ruby_3_3 commit:ac8d50e52ebc2d2684914e56548a64a65830c16a.
-
10:10 AM Bug #20344: argument stack underflow (-1)
- ruby_3_3 commit:d83b5633b16f4ddcece4ff924f21c5a5851470cf merged revision(s) commit:992596fb7af18a7f472589a607d0eb3fbb...
-
10:07 AM Bug #20649: Ripper fails to tokenize `def f; (x)::A =`
- ruby_3_3 commit:b210c86a0201f6a97c4da8266908260746f53ae0 merged revision(s) commit:97449338d6cb42d9dd7c9ca61550616e7e...
-
10:05 AM Bug #20571: Compile error on for loop
- ruby_3_3 commit:6a4e79533b4454392f3afdfa0c4d35b763b68466.
-
09:57 AM Bug #20651: `false && (1 in 1)` produces argument stack underflow (-1)
- ruby_3_3 commit:6a4e79533b4454392f3afdfa0c4d35b763b68466 merged revision(s) commit:1870505f478cc75993b296b7144a45137a...
-
09:53 AM Bug #20667: Backport REXML CVE fixes
- Please consider filing a backport PR to stable branches next time.
-
09:53 AM Bug #20667: Backport REXML CVE fixes
- ruby_3_3 commit:e0e23e7d5eb4da42c490b1d3408bd6e5047e8f83 merged revision(s) commit:29500e30346.
-
09:40 AM Bug #20668: [3.3] shareable_constant_value: literal crash
- ruby_3_3 commit:65cca99b30c65d462aa67969e0f16f6e45db4705.
-
09:40 AM Bug #20653: Memory leak in String#start_with? when regexp times out
- ruby_3_3 commit:ce565cd4b851977bf37a470bee54e441bb60486d.
-
09:39 AM Bug #20641: `lib/bundled_gems.rb` makes `Kernel.require` over 100x slower
- ruby_3_3 commit:4667f8ec10269b0b5deca459f098abbdf3bae4ec.
-
09:34 AM Bug #20670: fork deadlocks in child process due to timer thread
- ruby_3_3 commit:66312ad913d67bfd3c2c83b174eabf537f5def84.
-
09:31 AM Bug #20633: compile error at vm_insnhelper.c when HAVE_DECL_ATOMIC_SIGNAL_FENCE is 0
- The message was auto-generated by a script. The script only matches the last commit mentioning the ticket number, and...
-
08:55 AM Bug #20633: compile error at vm_insnhelper.c when HAVE_DECL_ATOMIC_SIGNAL_FENCE is 0
- Hey @k0kubun I don't think 66312ad913d67bfd3c2c83b174eabf537f5def84 is related to this one? 👀
(Although I think th... -
08:42 AM Bug #20633: compile error at vm_insnhelper.c when HAVE_DECL_ATOMIC_SIGNAL_FENCE is 0
- ruby_3_3 ~~commit:66312ad913d67bfd3c2c83b174eabf537f5def84~~, commit:425e468d25a70740cef3ed676e9b82f7902e077a.
09/01/2024
-
02:58 AM Misc #20660: DevMeeting-2024-09-05
- * [Bug #20693] Dir.tmpdir should perform a real access check before warning about writability
* A minor paper-cut,...
Also available in: Atom