Project

General

Profile

Activity

From 04/22/2023 to 04/28/2023

04/28/2023

03:26 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Ah right. So an anonymous class is used to ensure there is no conflict with the generated method name and e.g. it can... Eregon (Benoit Daloze)
01:33 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Eregon (Benoit Daloze) wrote in #note-39:
> Why not `#<MyTemplate:0x000055e017895038 @path="path/to/file">` for an i...
Dan0042 (Daniel DeLorme)
10:59 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-38:
> In any case, this also affects the output of errors such that those ...
Eregon (Benoit Daloze)
02:38 PM Feature #8707: Hash#reverse_each
Another point is that that hash.reverse_each already exists via enumerable, but with a highly suboptimal array conver... bughit (bug hit)
12:08 PM Bug #19622 (Closed): Undocumented behavior of Array#& and similar methods
Currently, the [Array#& docs](https://ruby-doc.org/3.2.2/Array.html#method-i-26) only state that the objects are comp... tycooon (Yuri Smirnov)
11:55 AM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
I think `Method#defining_proc` and `UnboundMethod#defining_proc` make more sense, as most methods (all the ones defin... Eregon (Benoit Daloze)
11:32 AM Bug #19621 (Closed): Resolv::Hosts uses ineffective File.read, making using big hosts file 'impossible'
nobu (Nobuyoshi Nakada)
10:05 AM Bug #19621: Resolv::Hosts uses ineffective File.read, making using big hosts file 'impossible'
The reading does not seem to be the problem, but the hash operations.
[email protected] (Felix Wolfsteller)
09:04 AM Bug #19621 (Closed): Resolv::Hosts uses ineffective File.read, making using big hosts file 'impossible'
By default on unixoid systems, `Resolv` will read `/etc/hosts` once. Privacy- and security aware people might use the... [email protected] (Felix Wolfsteller)
07:20 AM Feature #12165: Hash#first, Hash#last
stillhart (Fabian Stillhart) wrote:
> Interestingly I while playing arround I found out that the Hash#first method w...
nobu (Nobuyoshi Nakada)
04:58 AM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
以下のコメントに付き、松本さん以外の開発者の方でも対処できる方がいれば、対処をお願いします。 sawa (Tsuyoshi Sawada)

04/27/2023

09:49 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
The difference between a dynamically defined `inspect` which can do anything vs `Module#name` which is cached is sign... ioquatix (Samuel Williams)
03:36 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Dan0042 (Daniel DeLorme) wrote in #note-35:
> But let's say it really is too slow to do a `rb_funcall` for each ne...
Eregon (Benoit Daloze)
01:27 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-33:
> @Dan0042 unfortunately your proposal doesn't really work for nested ...
Dan0042 (Daniel DeLorme)
12:35 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-33:
> doesn't really work for nested classes
Why not? Can you elaborate...
Eregon (Benoit Daloze)
07:00 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
@Dan0042 unfortunately your proposal doesn't really work for nested classes without major performance issues. ioquatix (Samuel Williams)
01:09 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
I also really want the ability to give better names to dynamically created classes. In particular for something that ... Dan0042 (Daniel DeLorme)
08:28 PM Feature #8707: Hash#reverse_each
> Do we really need it? What is use-cases?
When you have an ordered collection it seems self evident that you may ne...
bughit (bug hit)
08:16 PM Feature #12165: Hash#first, Hash#last
Hash should absolutely have a performant last method that doesn't build an intermediate array (`hash.(values|keys).la... bughit (bug hit)
08:04 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
Another use-case is simply to match `Proc#binding`. I originally assumed that Method#binding and UnboundMethod#bindi... nevans (Nicholas Evans)
06:52 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
Perhaps I shouldn't have given the Regexp use-case, since there are many other approaches we can (and should) use to ... nevans (Nicholas Evans)
06:44 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding

Eregon (Benoit Daloze) wrote in #note-2:
> Maybe an easier/better/more portable way to do that would be to have a ...
nevans (Nicholas Evans)
12:08 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
Ah BTW one concern I have with https://github.com/ruby/net-imap/blob/92db350b24c388d2a2104f36cac9caa49a1044df/test/ne... Eregon (Benoit Daloze)
04:44 PM Feature #19620 (Open): allow non-module rescue filters that implement the === opertor
```ruby
module FooErrorFilter
def self.===(e)
e.message =~ /foo/
end
end
def foo_error_filter
FooE...
bughit (bug hit)
02:15 PM Bug #19619: Numbered parameters don't work with method definition with parameters
Since this doesn't work too, endless and/or singleton method definition doesn't seem to matter.
```ruby
1.times {...
nobu (Nobuyoshi Nakada)
11:55 AM Bug #19606 (Closed): addr2line.c broken on Fedora 38
alanwu (Alan Wu)
05:52 AM Bug #19611 (Closed): Ruby hangs up with `while true && true`
Applied in changeset commit:git|c7bacf84f04201787d26e4a4be8aca61ff1e454b.
----------
[Bug #19611] Remove never-reach...
nobu (Nobuyoshi Nakada)
03:26 AM Bug #19611: Ruby hangs up with `while true && true`
Mine:
https://github.com/ruby/ruby/pull/7753
https://github.com/ruby/ruby/pull/7754
kjtsanaktsidis (KJ Tsanakt...
nobu (Nobuyoshi Nakada)

04/26/2023

08:53 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
Or iterate over all regexps through `ObjectSpace.each_object(Regexp)`? But I suppose it doesn't allow to only look at... byroot (Jean Boussier)
05:07 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
> This would be a useful tool when debugging from the console. As another example, it might be used to scan a code ba... Eregon (Benoit Daloze)
05:02 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
nevans (Nicholas Evans) wrote:
> For methods defined using the `def` keyword, the binding's local variables might be...
Eregon (Benoit Daloze)
07:02 PM Bug #19592 (Closed): Unable to statically link a single extension in 3.2.x and >=3.1.4
Applied in changeset commit:git|adaff1fc496b6f01fb1c4c812b9b4082618e2f79.
----------
[Bug #19592] Fix ext/Setup supp...
alanwu (Alan Wu)
05:37 PM Bug #19619: Numbered parameters don't work with method definition with parameters
The result of the last code:
```
undefined method `bar' for #<Object:0x0000000108e20438> (NoMethodError)
```
okuramasafumi (Masafumi OKURA)
05:32 PM Bug #19619 (Closed): Numbered parameters don't work with method definition with parameters
This works:
```ruby
class Foo
def bar(baz) = 'foo'
end
p Foo.new.bar('baz')
```
This also works:
``...
okuramasafumi (Masafumi OKURA)
02:54 PM Bug #19427 (Closed): Marshal.load(source, freeze: true) doesn't freeze in some cases
Applied in changeset commit:git|6339cb70c3bcc54696e98c303dd4b26ed3d57afd.
----------
marshal.c: shallow freeze user ...
byroot (Jean Boussier)
10:15 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
* [Feature #18885] End of boot advisory API (byroot)
* I'm planning to merge the first optimizations for 3.3
* Ar...
byroot (Jean Boussier)
08:59 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
> [Misc #19608] Being a co-maintainer of the ruby/openssl for the OpenSSL FIPS mode
> I'm +1 to this proposal. D...
jaruga (Jun Aruga)
07:31 AM Bug #19606: addr2line.c broken on Fedora 38
This is also causing test failures on my machine, because there are tests on the output of the bug reporter - e.g.
...
kjtsanaktsidis (KJ Tsanaktsidis)
07:28 AM Bug #19611: Ruby hangs up with `while true && true`
After my patch, the instruction sequence for this method is:
```
== disasm: #<ISeq:<compiled>@<compiled>:1 (1,0)-(1,...
kjtsanaktsidis (KJ Tsanaktsidis)
07:26 AM Bug #19611: Ruby hangs up with `while true && true`
Hm, interesting - it falls into an infinite loop in `iseq_peephole_optimize`, because it's doing useless jump elimina... kjtsanaktsidis (KJ Tsanaktsidis)
01:40 AM Feature #19588: Allow Comparable#clamp(min, max) to accept nil as a specification
The Japanese manual is updated.
https://docs.ruby-lang.org/ja/latest/class/Comparable.html#I_CLAMP
https://github.c...
kyanagi (Kouhei Yanagita)

04/25/2023

11:21 PM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
* [Feature #19572] Add a new TracePoint event for rescued exceptions (st0012)
* I want to add a new `rescue` even...
st0012 (Stan Lo)
11:56 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
* [Bug #19616] Remove ext/readline from Ruby 3.3
* Any opinion about this?
* [Misc #19608] Being a co-maintainer ...
hsbt (Hiroshi SHIBATA)
07:05 PM Feature #19617 (Open): Add Method#binding and UnboundMethod#binding, similar to Proc#binding
When a method is defined dynamically with `define_method`, it would be useful to obtain access to the defining block'... nevans (Nicholas Evans)
05:19 PM Feature #19616: Remove ext/readline from Ruby 3.3
Oh this is great, I missed it.
+1 from me.
Eregon (Benoit Daloze)
12:59 PM Feature #19616: Remove ext/readline from Ruby 3.3
>Would it make sense if we had a readline.rb which is just require "reline"; Readline = Reline?
We already have it...
hsbt (Hiroshi SHIBATA)
12:38 PM Feature #19616: Remove ext/readline from Ruby 3.3
I suspect a fair amount of code still uses `Readline.readline`.
Would it make sense if we had a `readline.rb` which ...
Eregon (Benoit Daloze)
08:01 AM Feature #19616 (Closed): Remove ext/readline from Ruby 3.3
We still bundled ext/readline that is GNU Readline wrapper. But we already have reline written by pure Ruby. It's tim... hsbt (Hiroshi SHIBATA)
03:10 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
@matz 真剣な提案に対して、エイプリルフールネタである可能性を言い出し、貶めているという点で攻撃的です。百歩譲って、エイプリルフールネタであるという可能性がこの人の脳裏に浮かび、どちらとして対処したら良いのか迷ったとしましょう。も... sawa (Tsuyoshi Sawada)
04:52 AM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
I don't see any problem in Austin's comment (#note-2) neither. Probably there's some misunderstanding (lost in transl... matz (Yukihiro Matsumoto)
03:06 PM Bug #4040 (Closed): SystemStackError with Hash[*a] for Large _a_
Applied in changeset commit:git|99c6d19e502b5fdadbd367ae4b6bb3fab850fddc.
----------
Generalize cfunc large array sp...
jeremyevans (Jeremy Evans)
02:52 PM Bug #19427: Marshal.load(source, freeze: true) doesn't freeze in some cases
Revert https://github.com/ruby/spec/commit/036134c0c6af8e01ae150db5e2ac6c5d70364a10 once this is fixed Eregon (Benoit Daloze)
02:44 PM Bug #19427: Marshal.load(source, freeze: true) doesn't freeze in some cases
Shallow freezing of TYPE_USERDEF and TYPE_USRMARSHAL is not done:
```
2)
Marshal.load when called with freeze: true r...
Eregon (Benoit Daloze)
09:05 AM Misc #19613: Add version information to all function documentation
FYI, `File.exist?` has been documented before 2.0.
https://docs.ruby-lang.org/en/2.0.0/File.html#method-c-exist-3F
nobu (Nobuyoshi Nakada)
04:35 AM Bug #19615 (Feedback): ruby psych.so always dynamic links libyaml.so, breaking build when libyaml.so is not in host lib paths
I can't get well what you are trying exactly.
In the first paragraph:
> When you specify a different path for...
nobu (Nobuyoshi Nakada)

04/24/2023

07:51 PM Bug #19615 (Feedback): ruby psych.so always dynamic links libyaml.so, breaking build when libyaml.so is not in host lib paths
Hello,
Before 3.2, libyaml was build statically into psych.so while now it will try to link the one provided durin...
luizluca (Luiz Angelo Daros de Luca)
05:41 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
sawa (Tsuyoshi Sawada) wrote in #note-10:
> Dear moderators
>
> Please ban user austin (Austin Ziegler).
I obj...
austin (Austin Ziegler)
05:23 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
Dear moderators
Please ban user austin (Austin Ziegler).
sawa (Tsuyoshi Sawada)
03:42 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
sawa (Tsuyoshi Sawada) wrote in #note-8:
> @austin (Austin Ziegler) I see that you have logged in. I strongly urge y...
austin (Austin Ziegler)
05:55 AM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
@austin (Austin Ziegler) I see that you have logged in. I strongly urge you to remove that sentence or your entire co... sawa (Tsuyoshi Sawada)
02:37 PM Bug #19416 (Closed): Inconsistent behaviour for Struct.new without any member_names
Applied in changeset commit:git|f8e7048348d022814736d0a7e49f2f2494db6a2f.
----------
Allow anonymous memberless Stru...
jeremyevans (Jeremy Evans)
06:36 AM Misc #19613: Add version information to all function documentation
@fulldecent Your tone is unfriendly. Please be more respectful for all developers.
hsbt (Hiroshi SHIBATA)
02:09 AM Misc #19613: Add version information to all function documentation
jeremyevans0 (Jeremy Evans) wrote in #note-4:
> Ruby solves this problem by generating separate documentation for ea...
austin (Austin Ziegler)
05:49 AM Bug #19614: Adopt Semantic Versioning
> Ruby was created in 1995. That's [...] before most people on Earth today were born.
An issue including age harassm...
sawa (Tsuyoshi Sawada)
02:59 AM Bug #19614: Adopt Semantic Versioning
fulldecent (William Entriken) wrote in #note-2:
> I understand that this was discussed and decided in 2013.
>
> T...
austin (Austin Ziegler)
02:03 AM Bug #19614 (Rejected): Adopt Semantic Versioning
We don't use Semantic Versioning. naruse (Yui NARUSE)
01:54 AM Bug #19614: Adopt Semantic Versioning
I understand that this was discussed and decided in 2013.
That decision might have made sense in 2013 for the Ruby...
fulldecent (William Entriken)
01:41 AM Bug #19614: Adopt Semantic Versioning
This has been discussed and resolved before. See [15456#2](https://bugs.ruby-lang.org/issues/15456#note-2) for a note... austin (Austin Ziegler)
12:56 AM Bug #19614 (Rejected): Adopt Semantic Versioning
Ruby was created in 1995. That's back when the UNIX timestamp was only 9 digits, before Nintendo 64, and before most ... fulldecent (William Entriken)
04:28 AM Bug #19455 (Closed): Ruby 3.2: wrong Regexp encoding with non-ASCII comments
Applied in changeset commit:git|a8ba1ddd78544b4bda749051d44f7b2a8a0ec5ff.
----------
Use UTF-8 encoding for literal ...
jeremyevans (Jeremy Evans)

04/23/2023

10:10 PM Misc #19613 (Closed): Add version information to all function documentation
hsbt (Hiroshi SHIBATA)
05:02 PM Misc #19613: Add version information to all function documentation
Ruby solves this problem by generating separate documentation for each version: https://docs.ruby-lang.org/en/ . If ... jeremyevans0 (Jeremy Evans)
02:41 PM Misc #19613: Add version information to all function documentation
fix fulldecent (William Entriken)
02:27 PM Misc #19613: Add version information to all function documentation
still editin issue... hold on a sec fulldecent (William Entriken)
02:27 PM Misc #19613 (Closed): Add version information to all function documentation
Ruby does not properly support semantic versioning. [1]
Therefore, for example, the function File#exist? should sp...
fulldecent (William Entriken)
04:26 AM Bug #19612 (Feedback): Embed error
I suspect the `CC` is different from the compiler used to build the ruby. nobu (Nobuyoshi Nakada)
02:18 AM Bug #19612 (Feedback): Embed error
Makefile:
```makefile
INC_DIRS=$(HOME)/.rvm/rubies/ruby-3.2.0/include/ruby/
LIB=$(HOME)/.rvm/rubies/ruby-3.2.0/li...
hdiwan415 (Hasan Diwan)
 

Also available in: Atom