Project

General

Profile

Activity

From 05/04/2023 to 05/10/2023

05/10/2023

03:06 PM Bug #19334: Defining many instance variables and accessing them is slow in Ruby 3.2.0
jemmai (Jemma Issroff) wrote in #note-8:
> We are planning a more permanent fix as well. Our thinking is that after ...
Dan0042 (Daniel DeLorme)
12:46 AM Bug #19334 (Closed): Defining many instance variables and accessing them is slow in Ruby 3.2.0
jeremyevans0 (Jeremy Evans)
12:00 PM Misc #19608: Being a co-maintainer of the ruby/openssl for the OpenSSL FIPS mode
In Dev Meeting 5/10 at Matsumoto, no one objects this proposal. hsbt (Hiroshi SHIBATA)
08:54 AM Bug #595: Fiber ignores ensure clause
https://github.com/ruby/ruby/pull/7823 ioquatix (Samuel Williams)
08:14 AM Bug #19597 (Closed): Process.argv0 returns the same mutable String
Applied in changeset commit:git|2d9bc3efe57fe0ec1a8171340c950fb98ca8c8f2.
----------
[Bug #19597] Freeze script name
nobu (Nobuyoshi Nakada)
07:33 AM Feature #19637: Use Lrama LALR parser generator instead of Bison
I'm +1 to this because we should reduce required dependencies. hsbt (Hiroshi SHIBATA)
07:31 AM Feature #19637 (Closed): Use Lrama LALR parser generator instead of Bison
I want to propose to use Lrama LALR parser generator instead of Bison.
https://github.com/yui-knk/lrama is a pure ...
yui-knk (Kaneko Yuichiro)
05:16 AM Bug #19636 (Open): String#encode EUC_JIS_2004で"¥"がEncoding::UndefinedConversionErrorになる
既知のバグでしたらすみません。
EUC-JIS-2004はJIS X 0213の実装なので"¥"は含まれているはずですがEncoding::UndefinedConversionErrorになります。
https://ja...
sagittalplane (sagital plane)
04:06 AM Bug #19635 (Closed): errno may be overwritten by rb_sprintf if it triggers GC
Here is an excerpt in the `trap` function in `signal.c`
``` c
oldfunc = ruby_signal(sig, func);
...
wks (Kunshan Wang)
03:17 AM Bug #19238: URI.open fails for file path when second argument is a hash
This is a bug in `URI.open`. It can be fixed by using `ruby2_keywords`. I submitted a pull request to fix it: https... jeremyevans0 (Jeremy Evans)
01:33 AM Bug #11582 (Third Party's Issue): On Solaris, Rational#** returns -Infinity for Rational(0) when passed a negative Float
This is an inconsistency in the default behavior of the Solaris pow function compared to other platforms. You could ... jeremyevans0 (Jeremy Evans)
01:29 AM Bug #11064: #singleton_methods for objects with special singleton_class returns an empty array
Issue filed for JRuby's differing behavior; if we decide that the method should always be visible through the `single... headius (Charles Nutter)
01:19 AM Bug #11064: #singleton_methods for objects with special singleton_class returns an empty array
The behavior for this is at least consistent in JRuby; `singleton_method` does not see methods defined directly on `n... headius (Charles Nutter)
01:00 AM Bug #7976 (Closed): TracePoint call is at call point, not call site
@headius and I agree this is not a bug. JRuby has similar behavior for Java extensions as CRuby does for C extensions. jeremyevans0 (Jeremy Evans)
12:58 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
@byroot pointed out today that if it was possible to both register a require path _and_ a block to an autoloaded cons... shioyama (Chris Salzberg)
12:56 AM Bug #19534 (Closed): [ruby 3.2.1] Regular expression comparisons may be slower than in older versions.
jeremyevans0 (Jeremy Evans)
12:54 AM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend! shioyama (Chris Salzberg)
12:39 AM Bug #16185 (Feedback): basictest failure on AIX 6.1 for 64bit build
naruse (Yui NARUSE)
12:04 AM Bug #16185: basictest failure on AIX 6.1 for 64bit build
A note just from poking around here... I'm guessing this is due to the reporter's system using a filesystem encoding ... headius (Charles Nutter)
12:35 AM Bug #19168: "such file" is bad grammar
Note that this verbiage is similar to the standard ENOENT message: "No such file or directory". I suspect this messag... headius (Charles Nutter)
12:32 AM Bug #19168 (Closed): "such file" is bad grammar
@headius, @alanwu, @ioquatix, and I agree this is not a bug. jeremyevans0 (Jeremy Evans)
12:21 AM Bug #18737 (Closed): Windows 'require' is case independent
jeremyevans0 (Jeremy Evans)
12:18 AM Bug #18678 (Closed): Crash on Mac - vm_call0_cfunc_with_frame
jeremyevans0 (Jeremy Evans)
12:13 AM Bug #18616 (Closed): Error with clang(1) on MacOS due to __declspec()
jeremyevans0 (Jeremy Evans)
12:07 AM Bug #16820 (Closed): LEGAL is out of sync
Ruby does not seem to have any LGPL code anymore. The IBM code is now documented in LEGAL. The BSD-2-Clause code is... jeremyevans0 (Jeremy Evans)

05/09/2023

11:58 PM Bug #16185: basictest failure on AIX 6.1 for 64bit build
Does this issue still occur with the master branch? Does it occur with a supported version of AIX? AIX 6.1 went out ... jeremyevans0 (Jeremy Evans)
07:07 PM Feature #18368: Range#step semantics for non-Numeric ranges
This is a cool improvement! I think it's fine to keep the special String behavior, and maybe that of Symbols. These s... janosch-x (Janosch Müller)
07:05 PM Feature #19634 (Open): Pattern matching dynamic key
I found myself in a situation ([stable marriage problem](https://rosettacode.org/wiki/Stable_marriage_problem#top-pag... baweaver (Brandon Weaver)
12:57 PM Feature #19236: Allow to create hashes with a specific capacity from Ruby
ianks (Ian Ker-Seymer) wrote in #note-8:
> To me `Hash.with_capacity` clearly communicates what’s happening. Anyone ...
Dan0042 (Daniel DeLorme)
09:55 AM Bug #19622 (Closed): Undocumented behavior of Array#& and similar methods
Applied in changeset commit:git|986268afae7bde07073da3ba483d12549b12801f.
----------
Document that Array#{&,intersec...
jeremyevans (Jeremy Evans)
09:54 AM Feature #19633: Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
cc @fxn
I know you're not in favour of what I'm doing with autoloads on anonymous modules, but hoping you'd agree ...
shioyama (Chris Salzberg)
08:34 AM Feature #19633 (Open): Allow passing block to `Kernel#autoload` as alternative to second `filename` argument
`Kernel#autoload` takes two arguments, a symbol `module` representing the constant to be autoloaded, and a `filepath`... shioyama (Chris Salzberg)
09:01 AM Misc #19608: Being a co-maintainer of the ruby/openssl for the OpenSSL FIPS mode
For someone who is interested in how to debug the ruby/openssl with OpenSSL 3 FIPS mode, I created a document about t... jaruga (Jun Aruga)
08:40 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
* [Feature #19633] Allow passing block to `Kernel#autoload` as alternative to second `filename` argument`
* Somethi...
shioyama (Chris Salzberg)
05:12 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
I would like to talk a little bit about Ruby Governance and what improvements we can make to how it is communicated t... ufuk (Ufuk Kayserilioglu)
07:02 AM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend. make_now_just (Hiroya Fujinami)
05:03 AM Feature #19610: GC.delay_promotion
> If my understanding is correct,
It is.
> can we measure some values (major GC counts per minor GC and so on?)...
byroot (Jean Boussier)
04:56 AM Feature #19610: GC.delay_promotion
On my understanding, this proposal is for an object which are marked by an old object, and do not promote it immediat... ko1 (Koichi Sasada)
04:46 AM Feature #19435: Expose counts for each GC reason in GC.stat
Sorry for late response.
> Yes, but unfortunately GC hooks have the adverse effect of disallowing allocation fast ...
ko1 (Koichi Sasada)
04:29 AM Feature #19616 (Closed): Remove ext/readline from Ruby 3.3
I removed `ext/readline` at https://github.com/ruby/ruby/commit/59fd67fc3d405e529e038172e769ff20a8fb5535
Welcome c...
hsbt (Hiroshi SHIBATA)
04:21 AM Feature #19572: Add a new TracePoint event for rescued exceptions
Sorry for late response.
Two points:
1. How should we handle C level rescue?
Some C code catch the exception. Shou...
ko1 (Koichi Sasada)
01:41 AM Bug #19632: Disable external iterator for frozen enumerator
Sounds reasonable. nobu (Nobuyoshi Nakada)
01:26 AM Bug #19632: Disable external iterator for frozen enumerator
A Pull Request for this is created. https://github.com/ruby/ruby/pull/7791 make_now_just (Hiroya Fujinami)
01:22 AM Bug #19632 (Closed): Disable external iterator for frozen enumerator
Currently, methods to manipulate an external iterator like `#next` and `#feed` can be called even if a receiver of an... make_now_just (Hiroya Fujinami)

05/08/2023

09:15 AM Bug #19597: Process.argv0 returns the same mutable String
It's commit:8c9a453f2d8a.
`ruby_set_script_name` makes an unfrozen copy.
nobu (Nobuyoshi Nakada)
06:16 AM Bug #19597: Process.argv0 returns the same mutable String
Once assigned to `$0`, it is frozen.
```shell-session
$ ruby -v -e '$0 = "test"; p $0; $0.upcase!'
ruby 3.3.0dev...
nobu (Nobuyoshi Nakada)
04:17 AM Bug #19597: Process.argv0 returns the same mutable String
I found `$0` had been frozen till 1.9.
```shell-session
$ ruby1.9 -e 'p $0.upcase!; p $0; system("ps #$$")'
-e:1...
nobu (Nobuyoshi Nakada)

05/06/2023

01:40 PM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
I enthusiastically support this suggestion. This is something that even experienced Ruby developers frequently forget... mdalessio (Mike Dalessio)
12:14 AM Feature #19630: [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
A more complete list of the CVEs related to `Kernel.open`:
* CVE-2017-17405 (ruby, net-ftp)
* CVE-2017-17790 (rub...
postmodern (Hal Brodigan)
07:47 AM Bug #19629: Fix for CVE-2023-28755 breaks "puppet apply" run
You are right, and they have already fixed it through https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/2018547. ManuelKiessling (Manuel Kießling)
05:39 AM Feature #19236: Allow to create hashes with a specific capacity from Ruby
> For example, Hash[capacity: 5] can look very similar to Hash.new(capacity: 5).
That seems like a very handwavy a...
byroot (Jean Boussier)
05:31 AM Feature #19236: Allow to create hashes with a specific capacity from Ruby
I worry that new Rubyists might be confused with the `Hash.new(capacity: n)` semantics.
For example, `Hash[capacit...
ianks (Ian Ker-Seymer)
05:19 AM Bug #19611: Ruby hangs up with `while true && true`
aa Anonymous
03:06 AM Bug #19631 (Open): module_eval does not propulate absolute_path for Kernel.caller_locations

I am using module_eval and noticing that since ruby 3.2 the Kernel locations do not have absolute_path for any of t...
daveola (David Stellar)

05/05/2023

11:59 PM Feature #19236: Allow to create hashes with a specific capacity from Ruby
Previousy, a `capacity` reader/writer was suggested by @byroot in #18683#note-2
I would like to see this idea cons...
Dan0042 (Daniel DeLorme)
11:12 PM Feature #19630 (Closed): [RFC] Deprecate `Kernel#open("|command-here")` due to frequent security issues
`Kernel.open()` is the source of numerous [1] security [2] issues [3], due to the fact that it can be used to execute... postmodern (Hal Brodigan)
08:08 PM Bug #19629 (Third Party's Issue): Fix for CVE-2023-28755 breaks "puppet apply" run
In Ruby 2.7.8 and 3.0.6, URI#host returns `nil`. Ruby 3.1.4 and 3.2.2 return `""`:
```
$ ruby32 -r uri -e 'p URI...
jeremyevans0 (Jeremy Evans)
09:45 AM Bug #19629: Fix for CVE-2023-28755 breaks "puppet apply" run
Also see https://tickets.puppetlabs.com/browse/PUP-11848. ManuelKiessling (Manuel Kießling)
09:11 AM Bug #19629 (Third Party's Issue): Fix for CVE-2023-28755 breaks "puppet apply" run
(Not neccessarily a bug in Ruby - chances are I should have formatted my Puppet file URIs differently from the get-go... ManuelKiessling (Manuel Kießling)

05/04/2023

06:49 AM Feature #19627 (Closed): Ensure the VM is alive before accessing objspace in C API
Applied in changeset commit:git|2f9f44f077a53b14aa1fbd43111955251750d31f.
----------
Ensure the VM is alive before a...
ianks (Ian Ker-Seymer)
04:43 AM Feature #19015: Language extension by a heredoc
@duerst It is funny you asked cause I just found this
> [Kernel] Support for multi-letter uppercase sigils
here ht...
pyromaniac (Arkadiy Zabazhanov)
04:03 AM Feature #19015: Language extension by a heredoc
@pyromaniac I think the main problem would be how to handle namespacing. With single letters, the chance of collision... duerst (Martin Dürst)
03:24 AM Feature #19015: Language extension by a heredoc
Hey folks. I'm actually wondering, why don't support Elixir-like sigils in Ruby? We have a ton of them already: `%w[]... pyromaniac (Arkadiy Zabazhanov)
 

Also available in: Atom