Project

General

Profile

Activity

From 01/17/2022 to 01/23/2022

01/23/2022

10:00 PM Revision 52caeb47 (git): * 2022-01-24 [ci skip]
git[bot]
10:00 PM Revision c1554457 (git): [ruby/reline] Ignore global constants when checking if Fiddle::VERSION exists
If a top-level `VERSION` constant exists, or if a module containing a `VERSION` constant is included into the top-level scope, then `Fiddle.const_defined?(:VERSION)` will erroneously return true when `RUBY_VERSION < 3.0.0`.
https://gith...
postmodern (Hal Brodigan)
02:57 PM Feature #18481: Porting YJIT to Rust (request for feedback)
Numba uses llvmlite https://github.com/numba/llvmlite for its JIT, but seems to need many patches. They also primarily use the stable C LLVM API rather than the C++ API, though LLVM would have slow JIT startup time compared to the YJIT a... bbrklm (Benson Muite)
02:53 PM Bug #18510 (Open): Unexpected waiting for console when starting ruby on windows
# ruby version
C:\Ruby31-x64\bin>"c:\Ruby31-x64\bin\ruby.exe" -v
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x64-mingw-ucrt]
older versions have same issue too.
# how to reproduce
execute ruby.exe from cmd.exe command promput...
YO4 (Yoshinao Muramatsu)
02:34 PM Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
That's great to hear. Yes, we fixed this differently by avoiding flock on non Windows platforms, since it didn't seem necessary and we were not using it in previous versions. But I think your patch might still bel valuable for Windows wh... deivid (David Rodríguez)
08:22 AM Bug #18437: 3.1.0 install stucks on FreeBSD & NFS
I tried installing the latest development version of Ruby and RubyGems, and successfully completed it.
```
% rbenv install 3.2.0-dev
Cloning https://github.com/ruby/ruby.git...
Installing ruby-master...
Installed ruby-master to /h...
os (Shigeki OHARA)
12:56 PM Revision bb955096 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
11:51 AM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
I sent the core files to Aaron privately. byroot (Jean Boussier)

01/22/2022

06:54 PM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
Interesting. Are you able to get a core file? I can poke around that code, but a core file would be very helpful.
Thanks!
tenderlovemaking (Aaron Patterson)
04:18 PM Bug #18507: Incorrect target_os detection in configure script
It seems like intentional, as there is the second substitution.
Is arm-linux-eabihf incorrect?
nobu (Nobuyoshi Nakada)
04:05 PM Bug #18487: Kernel#binding behaves differently depending on implementation language of items on the stack
Nice find!
Agreed this should be fixed, and `Kernel#binding` should never provide access to anything but its direct caller method's frame (whether that's defined in Ruby, C or anything).
In other words `Kernel#binding` should provide a...
Eregon (Benoit Daloze)
03:13 AM Bug #18487: Kernel#binding behaves differently depending on implementation language of items on the stack
I submitted a pull request to make `Kernel#binding` only look up a single frame, which fixes the issue: https://github.com/ruby/ruby/pull/5476. Not sure if all the semantics in the pull request are desired (i.e. `eval` and `receiver` ra... jeremyevans0 (Jeremy Evans)
04:02 PM Revision ab1aa90c (git): * 2022-01-23 [ci skip]
git[bot]
04:02 PM Revision 355bc371 (git): Reuse the default `AC_LANG_PROGRAM(C)` definition
nobu (Nobuyoshi Nakada)
11:13 AM Revision ad150a14 (git): Override `AC_C_PROGRAM` on old autoconf
Autoconf 2.69 fails to detect `-Werror=old-style-definition` due
to the old style definition of `main`.
nobu (Nobuyoshi Nakada)
11:09 AM Revision 2c254274 (git): GCC provides -Wdiv-by-zero
nobu (Nobuyoshi Nakada)
07:26 AM Feature #16757: Add intersection to Range
I'd like to see this explored, as I find myself solving a number of problems that involve Range merging, and potential intersections.
My current implementation, in Ruby, would be something to the note of:
```ruby
class Range
# ...
baweaver (Brandon Weaver)
06:48 AM Revision c00e360b (git): Fix error: old-style function definition
https://rubyci.s3.amazonaws.com/debian-riscv64/ruby-master/log/20220122T050018Z.log.html.gz#miniruby
```
compiling vm_trace.c
vm_trace.c: In function 'rb_vm_memsize_postponed_job_buffer':
vm_trace.c:1599:1: error: old-style function defi...
znz (Kazuhiro NISHIYAMA)
01:00 AM Revision c1a6ff04 (git): [ruby/psych] Add strict_integer option to parse numbers with commas as strings
Authored-by: Seth Boyles <[email protected]>
https://github.com/ruby/psych/commit/75bebb37b8
sethb (Seth Boyles)

01/21/2022

10:35 PM Revision b815a0bd (git): * 2022-01-22 [ci skip]
git[bot]
10:34 PM Revision fc6fd4c3 (git): Accurately report VM memsize
Currently the calculation only counts the size of the struct. This commit adds the size of the associated st tables, id tables, and linked lists.
Still missing is the size of the ractors and (potentially) the size of the object space.
kddnewton (Kevin Newton)
09:58 PM Bug #18509 (Third Party's Issue): yajl.rb - (# TODO: this code smells, any ideas?) - "ArgumentError"
This code doesn't come from Ruby, it comes from ruby-yajl (an external project): https://github.com/brianmario/yajl-ruby . You should ask the ruby-yajl developers about this, since it is their code.
In the future, before you file add...
jeremyevans0 (Jeremy Evans)
09:36 PM Bug #18509 (Third Party's Issue): yajl.rb - (# TODO: this code smells, any ideas?) - "ArgumentError"
Please clarify - can we trust this code in yajl-ruby gem yajl.rb file?
class Encoder
def self.encode(obj, *args, &block)
**# TODO: this code smells, any ideas?**
args.flatten!
options = {}
io = nil
...
dklein (Dmitri Klein)
05:35 PM Bug #18505 (Feedback): Crash reported while trying to run Cucumber via ruby on macbook air M1 processor
Could you give us how to reproduce the issue?
I guess this is related to #18496, and maybe the cause is FFI.
mame (Yusuke Endoh)
01:27 PM Bug #18505 (Third Party's Issue): Crash reported while trying to run Cucumber via ruby on macbook air M1 processor
Crash reported while trying to run Cucumber via ruby on macbook air M1 processor marcelle (Marcelle Muniz)
05:35 PM Feature #18508 (Closed): Is it possible to turn off irb autocomplete, it doesn't work very well in my visual studio code terminal.
Looks like `irb --noautocomplete` turns off autocomplete. Or add `IRB.conf[:USE_AUTOCOMPLETE] = false` to `.irbrc`. jeremyevans0 (Jeremy Evans)
05:27 PM Feature #18508 (Closed): Is it possible to turn off irb autocomplete, it doesn't work very well in my visual studio code terminal.
Is it possible to turn off irb autocomplete, it doesn't work very well in my visual studio code terminal.
When the content you enter is close to the bottom and there is not enough space for the content displayed in the autocomplete, it ...
jackmaple (maple jack)
05:08 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
> How about 3.2.0.12345 then?
> ...
I was able to add build metadata to `RUBY_VERSION` and get build metadata support in bundler with minimal difficulty. It seems to work!
```
$ bundle show --paths
/Users/peter/.gem/ruby/3.2.0+4439...
peterzhu2118 (Peter Zhu)
02:53 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
Also from experience in TruffleRuby I can say this is a solution working very well to avoid users unintentionally reusing gems with an incompatible ABI, which usually ends up in segfaults or other errors.
CRuby did not care enough about...
Eregon (Benoit Daloze)
02:48 PM Bug #18249 (Open): The ABI version of dev builds of CRuby does not correspond to the ABI
naruse (Yui NARUSE) wrote in #note-9:
> For dev builds, Ruby switchers has responsibility to handle the ABI compatibility breakage.
> ...
@naruse There is a PR doing the work, and it requires no effort from CRuby devs, how is this a prob...
Eregon (Benoit Daloze)
02:16 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
> Is this to tell if an installed gem set is compatible, at switching ruby versions?
Yes
> ...
We can also add `ruby/config.h` to the hash.
> For dev builds, Ruby switchers has responsibility to handle the ABI compatibility brea...
peterzhu2118 (Peter Zhu)
09:28 AM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
Regarding ruby/setup-ruby, can’t it use `hashFiles('include/**/*.h')` as the cache keys? nobu (Nobuyoshi Nakada)
08:02 AM Bug #18249 (Rejected): The ABI version of dev builds of CRuby does not correspond to the ABI
For dev builds, Ruby switchers has responsibility to handle the ABI compatibility breakage.
CRuby developers don't want to manage the compatibility. (We don't invest our resource here)
naruse (Yui NARUSE)
06:39 AM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
Is this to tell if an installed gem set is compatible, at switching ruby versions?
If so, https://github.com/ruby/ruby/pull/5474 seems including a different change.
And I don't think it is enough by comparing only files under `include`...
nobu (Nobuyoshi Nakada)
03:19 PM Bug #18507 (Open): Incorrect target_os detection in configure script

configure.ac incorrectly detect target_os by target triplet such as arm-unknown-linux-gnueabihf. In case arm-unknown-linux-gnueabihf suffix we have incorrect ruby arch = 'arm-linux-eabihf' instead of 'arm-linux'.
configure.ac: 246:
...
rcl (Andrew Kosteltsev)
01:28 PM Bug #18506 (Open): make and make install rebuild items every time unnecessarily - sometimes causing races in parallel installs
The makefiles are written in a way that a few items are regenerated on every invocation of make, even if nothing changes, including, actually libruby.so. This would've been ok, but from ruby 3.1 onwards it started to cause races in paral... [email protected] (Alexander Kanavin)
08:50 AM Bug #18504: configure prints a warning when cross-compiling
I know what is going on. About the only thing we can do is to settle for that warning. It works nonetheless.
The problem is our `--with-gcc=` configure option. That way you can instruct which compiler to use. Then we have to find ...
shyouhei (Shyouhei Urabe)
08:12 AM Bug #18504 (Closed): configure prints a warning when cross-compiling
```
$ sudo apt-get install gcc-aarch64-linux-gnu
$ ./configure --host=aarch64-linux-gnu
downloading config.guess ... done
downloading config.sub ... done
checking build system type... x86_64-pc-linux-gnu
checking host system type.....
mame (Yusuke Endoh)
08:38 AM Revision 5e3a3202 (git): respect `--quiet` option for btest
Do not print anymore except errors. ko1 (Koichi Sasada)
03:23 AM Revision a15c50d6 (git): * 2022-01-21 [ci skip]
git[bot]
03:22 AM Revision 542bd9b4 (git): [ruby/etc] Exclude change logs for pre 1.0
https://github.com/ruby/etc/commit/c8a133fe95 nobu (Nobuyoshi Nakada)
03:21 AM Revision 563d0fda (git): [ruby/etc] Derive extra_rdoc_files from files
https://github.com/ruby/etc/commit/e8ecce3442 nobu (Nobuyoshi Nakada)
03:21 AM Revision 3fea4f9d (git): [ruby/etc] Move development dependencies to Gemfile
https://github.com/ruby/etc/commit/5cabc3996a nobu (Nobuyoshi Nakada)
01:38 AM Bug #18502: Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
Thanks. Most probably you have OpenSSL higher version (OpenSSL version >= 1.0.1 and < 3.0.0) pre-installed by default - therefore you don't receive such error. Unfortunately we can't change system configuration of the box, it belongs to ... dklein (Dmitri Klein)
01:34 AM Bug #18502: Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
On our Solaris, it is possible to build without any option about OpenSSL. Maybe you need setup your system properly. We don't know the status of your system, so we cannot help you.
I'm repeating myself: Please contact on the administr...
mame (Yusuke Endoh)
01:27 AM Bug #18502: Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
Thanks, Yusuke. Can you also help us to direct gmake openssl extension to the right version of OpenSSL?
We see error "checking for OpenSSL version >= 1.0.1 and < 3.0.0... --no", but if fact our OpenSSL version is
# /opt/csw/bin/a...
dklein (Dmitri Klein)
01:13 AM Bug #18502: Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
Well, I don't think `ln -s /opt/csw/lib/libgmp.so.3 /usr/lib/libgmp.so.3` is a right solution. Have you tweaked your system that way? I suspect your system is on the verge of breaking down, or already has. Please contact on the administr... mame (Yusuke Endoh)
12:42 AM Bug #18503 (Closed): Make ruby-2.7.5 on Solaris 10 openssl: Could not be configured. It will not be installed.
Duplicated with https://github.com/ruby/openssl/issues/494 hsbt (Hiroshi SHIBATA)

01/20/2022

11:07 PM Bug #18503: Make ruby-2.7.5 on Solaris 10 openssl: Could not be configured. It will not be installed.
Adding --with-openssl-dir
CC=/usr/sfw/bin/gcc CFLAGS="-std=gnu99" ./configure --with-openssl-dir=/opt/csw/bin/amd64
didn't help:
--------------------
checking for OpenSSL version >= 1.0.1 and < 3.0.0... -------------------- no
"/usr...
dklein (Dmitri Klein)
10:41 PM Bug #18503 (Closed): Make ruby-2.7.5 on Solaris 10 openssl: Could not be configured. It will not be installed.
openssl:
Could not be configured. It will not be installed.
/export0/home/telegraf/fluentd/ruby_versions/ruby275/ruby-2.7.5/ext/openssl/extconf.rb:111: OpenSSL >= 1.0.1, < 3.0.0 or LibreSSL >= 2.5.0 is required
...
dklein (Dmitri Klein)
10:46 PM Bug #18502 (Closed): Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
jeremyevans0 (Jeremy Evans)
10:39 PM Bug #18502: Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
Please close the issue as resolved. dklein (Dmitri Klein)
10:13 PM Bug #18502: Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
Error fixed by creating following links MANUALLY:
# cd /usr/lib/
ln -s /opt/csw/lib/libintl.so.8 libintl.so.8
ln -s /opt/csw/lib/libiconv.so.2 libiconv.so.2
ln -s /opt/csw/lib/libmpc.so.2 libmpc.so.2
ln -s /opt/csw/lib/libmpfr.so....
dklein (Dmitri Klein)
04:15 PM Bug #18502: Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
# pkginfo -i CSWlibintl8
application CSWlibintl8 libintl8 - GNU locale utilities, libintl.so.8
#
dklein (Dmitri Klein)
04:07 PM Bug #18502 (Closed): Make ruby-2.7.5 on Solaris 10 ld.so.1: gcc: fatal: libintl.so.8: open failed: No such file or directory
Attempt to make ruby-2.7.5 on Solaris 10 generates error (same error repeated on multiple extensions:)
...
gmake[1]: Entering directory `/export0/home/telegraf/fluentd/ruby_versions/ruby275/ruby-2.7.5'
*** Following extensions are n...
dklein (Dmitri Klein)
10:46 PM Feature #14394: Class.descendants
Shouldn't the `#descendants` method be the reverse of `#ancestors`?
`#ancestors` traverses up both class hierarchies and module inclusion chains.
That tells me both `Module#descendants` and `Class#descendants` will make sense, and ...
dgutov (Dmitry Gutov)
09:47 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
> There might be more places that have this kind of assumption, so I feel like changing ruby_version will be a breaking change.
But only for dev builds right? People testing dev builds are more likely to adapt to that kind of small ch...
byroot (Jean Boussier)
07:28 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
There's assumptions that the format of `ruby_version` is three, period separated integers. I tried adding a tag with the ABI version (e.g. `3.2.0+12345`) and Bundler fails with a `Malformed version number string`. There might be more pla... peterzhu2118 (Peter Zhu)
06:46 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
Actually, `RbConfig::CONFIG["ruby_version"]` is what is considered the ABI version by RubyGems, Bundler, some Ruby switchers probably, and more (even though it's not obvious from the name it really means that AFAIK).
So I believe that sh...
Eregon (Benoit Daloze)
06:08 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
@peterzhu2118 That's great, thank you for this work!
> In Ruby, the ABI version is exposed through RbConfig::CONFIG["rb_abi_version"].
I would have a preference for `RbConfig::CONFIG["abi_version"]`, the `rb_` prefix seems redundan...
Eregon (Benoit Daloze)
04:48 PM Bug #18249: The ABI version of dev builds of CRuby does not correspond to the ABI
I've implemented ABI checking in development versions of Ruby in this PR: https://github.com/ruby/ruby/pull/5474
Copying the description:
> During compilation, the script `tool/abi.rb` will generate a MD5 hash of
> ...
> `RbConfig...
peterzhu2118 (Peter Zhu)
03:02 PM Bug #18501 (Closed): [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
```
<OBJ_INFO:[email protected]:6709> 0x00007fbf1fba1270 [2 M ] T_NONE
/tmp/bundle/ruby/3.1.0/gems/bootsnap-1.10.1/lib/bootsnap/compile_cache/iseq.rb:49: [BUG] try to mark T_NONE object
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) ...
byroot (Jean Boussier)
11:40 AM Bug #18500: Fix segfault in `TestArray#test_sample` on s390x.
If it helps, I have applied [this](https://src.fedoraproject.org/rpms/ruby/blob/a28556f68416aa9c42025bb481605ae2793227b0/f/ruby-3.1.0-Fix-stack-buffer-overflow.patch) patch in Fedora to fix this issue. vo.x (Vit Ondruch)
11:31 AM Bug #18500: Fix segfault in `TestArray#test_sample` on s390x.
Snippet provided by @sharkcz:
~~~
Breakpoint 4, rand_init (rng=rng@entry=0x3fffdf15318 <random_mt_if>, rnd=rnd@entry=0x2aa00632eb0, seed=seed@entry=1) at random.c:365
365 {
(gdb) n
367 VALUE buf0 = 0;
(gdb)
371 len = rb...
vo.x (Vit Ondruch)
10:28 AM Bug #18500: Fix segfault in `TestArray#test_sample` on s390x.
I should also mention that the test case was passing just fine using gcc 11 vo.x (Vit Ondruch)
10:27 AM Bug #18500 (Closed): Fix segfault in `TestArray#test_sample` on s390x.
vo.x (Vit Ondruch)
10:27 AM Bug #18500 (Closed): Fix segfault in `TestArray#test_sample` on s390x.
Building with gcc 12 on Fedora Rawhide s390x, I observe following segfault in test suite:
~~~
... snip ...
[ 3104/21226] TestArray#test_sample/builddir/build/BUILD/ruby-3.0.3/test/ruby/test_array.rb:2871: [BUG] Segmentation fault ...
vo.x (Vit Ondruch)
04:54 AM Revision 59a91f22 (git): Mark `rb_clear_constant_cache` as internal use only
In the past, many internal functions are declared in intern.h
under include/ruby directory, because there were no headers for
internal use.
nobu (Nobuyoshi Nakada)
04:18 AM Revision 82b0a900 (git): [wasm] skip pull-requests labeled as Documentation [ci skip]
nobu (Nobuyoshi Nakada)
01:39 AM Revision ef2cf924 (git): [ruby/psych] Remove alias of load to unsafe_load
https://github.com/ruby/psych/commit/39e23cc86f Michael Nikitochkin
01:03 AM Revision eba90bc0 (git): Fix warnings
```
compiling ..../ruby/ruby/dln.c
..../ruby/ruby/dln.c:108:1: warning: unused function 'init_funcname_len' [-Wunused-function]
init_funcname_len(const char **file)
^
..../ruby/ruby/dln.c:122:19: warning: unused variable 'funcname_prefix...
znz (Kazuhiro NISHIYAMA)

01/19/2022

09:45 PM Revision 2b7025e6 (git): [rubygems/rubygems] Rename `Gem.open_with_flock` to `Gem.open_file`
Since it only uses `flock` on Windows.
https://github.com/rubygems/rubygems/commit/b877de4d9c
deivid (David Rodríguez)
09:45 PM Revision ec5bde1a (git): [rubygems/rubygems] Restrict `flock` to Windows
It was introduced to fix some race conditions there, but it doesn't seem
necessary on other systems and it's actually causing issues there.
https://github.com/rubygems/rubygems/commit/27b682c812
deivid (David Rodríguez)
06:02 PM Feature #18408: Allow pattern match to set instance variables
Dan0042 (Daniel DeLorme) wrote in #note-16:
> I don't think an additional assignment and a few bytes on the stack can be considered a performance concern.
It can, that cost would be for every variable in the pattern, not just `@ivar` be...
Eregon (Benoit Daloze)
02:44 AM Feature #18408: Allow pattern match to set instance variables
I don't think an additional assignment and a few bytes on the stack can be considered a performance concern. I hope we worry about having meaningful semantics before such premature micro-optimization. Because I do agree that "the behavio... Dan0042 (Daniel DeLorme)
05:41 PM Feature #18498: Introduce a public WeakKeysMap that compares by equality
This looks great to me.
I prefer `WeakKeysMap`. `WeakRef::WeakKeysMap` sounds fine too.
Anything with `Hash` in the name is IMHO not great because Hash implies ordering and Map no ordering, per well-established concurrent-ruby classe...
Eregon (Benoit Daloze)
03:36 PM Feature #18498: Introduce a public WeakKeysMap that compares by equality
After another quick chat with @eregon I removed one of the use cases because I made a mistake, it does require a `WeakValuesMap`. Leaving it in comment for posterity
#### Deduplicating constructors.
Can be used by large value objec...
byroot (Jean Boussier)
11:14 AM Feature #18498 (Closed): Introduce a public WeakKeysMap that compares by equality
This is a clean take on #16038
### Spec
#### Weak keys only
After a chat with @eregon we believe that what would make the most sense and would be most useful would be
a "WeakKeysMap". Meaning **the keys would be weak reference...
byroot (Jean Boussier)
05:38 PM Bug #18499 (Third Party's Issue): yajl.rb : wrong number of arguments (1 for 0)
This is either an issue in fluent or yajl-ruby, and you already reported this upstream to yajl-ruby (https://github.com/brianmario/yajl-ruby/issues/207). It's not a bug in Ruby itself. jeremyevans0 (Jeremy Evans)
05:27 PM Bug #18499 (Third Party's Issue): yajl.rb : wrong number of arguments (1 for 0)
# echo '{"json":"message"}' | fluent-cat debug.test
wrong number of arguments (1 for 0)
====
2022-01-18 17:45:05 -0500 [warn]: fluent/root_agent.rb:187:emit_error_event: dump an error event: error_class=ArgumentError error="wrong ...
dklein (Dmitri Klein)
04:52 PM Bug #18496 (Feedback): Segmentation fault at 0x0000000005107620
Sorry about the crash. Since there are FFI usages in your application, the issue might be in one of the gems, rather than in Ruby itself. Unfortunately since the stack trace is incomplete, it's hard to pin down the party responsible, so ... alanwu (Alan Wu)
04:18 PM Revision 71bc9990 (git): MinGW also uses `rb_w32_shutdown`
Winsock's `shutdown` is incompatible with the other platforms.
And autoconf fails to detect WINAPI functions on 32bit Windows,
probably due to the argument size suffixes.
nobu (Nobuyoshi Nakada)
04:05 PM Revision 45e065ca (git): * 2022-01-20 [ci skip]
git[bot]
04:04 PM Revision 7353f950 (git): [rubygems/rubygems] Change generated namespaced test class name in minitest
* `foo` => `TestFoo`
* `foo_bar` => `TestFooBar`
* `foo-bar` => `Foo::TestBar`
https://github.com/rubygems/rubygems/commit/353cdd61c3
unasuke (Yusuke Nakamura)
04:04 PM Revision 26e0450b (git): [rubygems/rubygems] Add spec to class name definition in newgem spec
https://github.com/rubygems/rubygems/commit/5f698fc4a0 unasuke (Yusuke Nakamura)
04:04 PM Revision 44513132 (git): [rubygems/rubygems] Update generated minitest file style
foo => test/test_foo.rb
foo-bar => test/foo/test_bar.rb
foo_bar => test/test_foo_bar.rb
https://github.com/rubygems/rubygems/commit/c795e5d40d
unasuke (Yusuke Nakamura)
04:04 PM Revision 4e955b2e (git): [rubygems/rubygems] Create minitest file to underscored path in "bundle gem" command
...with dashed gem name
In "bundle gem" command with dashed name gem (e.g. foo-bar) generates
`test/test_foo/bar.rb`, but this file contains undefined class `TestFoo`
and moreover, does not include in "bundle exec rake test" target.
Th...
unasuke (Yusuke Nakamura)
03:35 PM Feature #18481: Porting YJIT to Rust (request for feedback)
After more discussions with the team, we've made the decision to go forward with Rust for the time being. The fact that Rust has such a large community of enthusiasts is an important factor. This makes it easier to find documentation, he... maximecb (Maxime Chevalier-Boisvert)
04:56 AM Feature #18481: Porting YJIT to Rust (request for feedback)
@mwlang I'm a big fan of Crystal, but unfortunately it contains a GC and cannot compile down to a shared or static library that can be embedded. This disqualifies it, along with Nim and Go. However, it would definitely be possible to cre... postmodern (Hal Brodigan)
01:53 AM Feature #18481: Porting YJIT to Rust (request for feedback)
maximecb (Maxime Chevalier-Boisvert) wrote in #note-15:
> We are currently still early in our investigation of the Rust port. I am curious to know if you would also be open to YJIT being written in a language like Zig, or is that too ...
duerst (Martin Dürst)
02:55 PM Revision 5c4734d1 (git): Refactor dln_load into dln_open and dln_sym
Refactor dln_load into dln_open and dln_sym to simplify the code for
Windows and platforms that have dlopen.
peterzhu2118 (Peter Zhu)
02:34 PM Bug #18497: Fiber内でProcess.daemonをするとSegmentation faultが起こる
In 2.7 or earlier, commit:bf3b2a43741e or the following patch is also needed.
```diff
diff --git a/cont.c b/cont.c
index 7f971a9e9d5..50403b8258d 100644
--- a/cont.c
+++ b/cont.c
@@ -1930,7 +1930,7 @@ fiber_current(void)
}

s...
nobu (Nobuyoshi Nakada)
02:10 PM Bug #18497 (Closed): Fiber内でProcess.daemonをするとSegmentation faultが起こる
Applied in changeset commit:git|d650b17686d49c2ce8e6a87039861154e93d4621.
----------
`rb_fiber_terminate` must not return [Bug #18497]
In a forked process from a fiber, the fiber becomes the only
fiber, `fiber_switch` does nothing as t...
nobu (Nobuyoshi Nakada)
08:11 AM Bug #18497 (Closed): Fiber内でProcess.daemonをするとSegmentation faultが起こる
```
ruby -e 'Fiber.new { Process.daemon true, true }.resume'
```
OCIのUbuntu(`ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [aarch64-linux]`)で確認出来ましたが、WSL(`ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux]`)では確認出来ませんでした。
sevenc-nanashi (Nanashi. @sevenc-nanashi)
02:17 PM Revision 374904b2 (git): remain `RUBY_ON_BUG` for child processes.
`RUBY_ON_BUG` is useful for child processes created by the test
process.
ko1 (Koichi Sasada)
02:17 PM Revision 308fe1eb (git): Do not create core file if it is intentional abort
Two tests abort intentionally and they create core files if
possible. In these case, we don't need to see core files
so disable by `"Process.setrlimit(Process::RLIMIT_CORE, 0)` for
those cases.
ko1 (Koichi Sasada)
11:15 AM Feature #16038 (Closed): Provide a public WeakMap that compares by equality rather than by identity
Closing in favor of https://bugs.ruby-lang.org/issues/18498 as requested. byroot (Jean Boussier)
10:57 AM Revision d650b176 (git): `rb_fiber_terminate` must not return [Bug #18497]
In a forked process from a fiber, the fiber becomes the only
fiber, `fiber_switch` does nothing as there is no other fibers,
`rb_fiber_terminate` does not terminate the fiber. In that case,
reaches the end of `fiber_entry` finaly, which...
nobu (Nobuyoshi Nakada)
10:57 AM Revision 5c7af723 (git): Assuming EXIT_SUCCESS equals 0 is not portable
nobu (Nobuyoshi Nakada)
08:52 AM Revision 528344b8 (git): include/ruby/win32.h: explicitly define HAVE_SHUTDOWN
Configuration for mingw32 can't detect 'shutdown' due to wrong -l
option even though it's available (this has been going on for a while,
and it needs to be fixed).
In this situation, include/ruby/missing.h declares a stub shutdown
functi...
katei (Yuta Saito)
06:56 AM Revision 0dd8c615 (git): [rubygems/rubygems] Don't pass regexp to `Gem::Dependency.new` during `gem dependency`
https://github.com/rubygems/rubygems/commit/89dd5158a4 deivid (David Rodríguez)
06:56 AM Revision 1d530ae2 (git): [rubygems/rubygems] Remove dead method
https://github.com/rubygems/rubygems/commit/477d5f6f6e deivid (David Rodríguez)
06:56 AM Revision 0350c179 (git): [rubygems/rubygems] Don't pass regexp to `Gem::Dependeny.new` from list, search, and query commands
It's deprecated functionality.
https://github.com/rubygems/rubygems/commit/13d3eb6cb0
deivid (David Rodríguez)
06:56 AM Revision 8b6a02de (git): [rubygems/rubygems] Simplify argument processing logic in `gem list` & `gem search`
Make it more explicit that if not specific arguments are given, the
value of `-n` is used.
https://github.com/rubygems/rubygems/commit/ed811ddc00
deivid (David Rodríguez)
06:38 AM Revision e4f8d5b2 (git): .github/workflows: BASERUBY check for Ruby 3.1
shyouhei (Shyouhei Urabe)
06:01 AM Revision d22511fd (git): Merge rubygems/rubygems HEAD.
Picked at 12aeef6ba9a3be0022be9934c1a3e4c46a03ed3a hsbt (Hiroshi SHIBATA)
05:46 AM Revision 5646f4b6 (git): Fix a missing comma
nobu (Nobuyoshi Nakada)
04:33 AM Revision 8f3e29c8 (git): Fix format size qualifier on IL32P64
nobu (Nobuyoshi Nakada)
04:19 AM Revision 8c217019 (git): include/ruby/io.h: use 0 as POLLPRI when no support for it
0x003 is not suitable as a bit mask, and it's ok just to be 0 to avoid
setting unsupported bit.
katei (Yuta Saito)
04:15 AM Revision 68e821c3 (git): test/ruby/test_assignment.rb: Prevent a warning
```
/home/chkbuild/chkbuild/tmp/build/20220119T003004Z/ruby/test/ruby/test_assignment.rb:727: warning: assigned but unused variable - m
```
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20220119T003004Z.log.html.gz
mame (Yusuke Endoh)
03:04 AM Revision 2f0f56bd (git): [DOC] Enhanced Process.groups related
* On some platforms (e.g., macOS), the user's default group access
list may exceed `NGROUPS_MAX`.
* Use upcase "GID" instead of "gid" for other than variable names.
nobu (Nobuyoshi Nakada)
02:57 AM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
headius (Charles Nutter) wrote in #note-23:
> I did a quick implementation for JRuby in https://github.com/jruby/jruby/pull/7014. It passes all tests except the `to_enum` form, which might be tricky to support. When the Enumerator is ac...
jeremyevans0 (Jeremy Evans)
02:20 AM Revision e7249294 (git): [rubygems/rubygems] Fix regression with old marshaled specs having null required_rubygems_version
https://github.com/rubygems/rubygems/commit/91f07a0208 deivid (David Rodríguez)
02:20 AM Revision 39c36a5c (git): [rubygems/rubygems] Fix skipped spec on Windows
https://github.com/rubygems/rubygems/commit/bf0f4b98ee deivid (David Rodríguez)
02:20 AM Revision f04954d9 (git): [rubygems/rubygems] Normalize end alignment style with Bundler
https://github.com/rubygems/rubygems/commit/f7f504b24c deivid (David Rodríguez)
02:19 AM Revision a892e559 (git): * expand tabs. [ci skip]
Tabs were expanded because the file did not have any tab indentation in unedited lines.
Please update your editor config, and use misc/expand_tabs.rb in the pre-commit hook.
git[bot]
02:19 AM Revision d015b0c9 (git): [wasm] add ci workflow .github/workflows/wasm.yml
katei (Yuta Saito)
02:19 AM Revision 50f1468b (git): [wasm] include/ruby/io.h: define RB_WAITFD_PRI by ourselves for wasi
RB_WAITFD_PRI uses POLLPRI for other platforms, but wasi-libc doesn't
have POLLPRI for now.
katei (Yuta Saito)
02:19 AM Revision 4f579ecf (git): [wasm] wasm/README.md: write a brief instruction to cross build
katei (Yuta Saito)
02:19 AM Revision bb222881 (git): [wasm] configure.ac: disable mjit on wasi by default
katei (Yuta Saito)
02:19 AM Revision dd99ee1f (git): [wasm] bootstraptest, basictest: disable backquote literal tests
WASI doesn't support spawning a new process for now. katei (Yuta Saito)
02:19 AM Revision df31fa4a (git): [wasm] configure.ac: don't require dup and dup2 only for wasi
katei (Yuta Saito)
02:19 AM Revision f72f01ab (git): [wasm] add unit test suite for fiber, register scan, sjlj in platform dir
katei (Yuta Saito)
02:19 AM Revision 3794ef6f (git): configure.ac: stop overwriting cc wrapper by darwin-cc everytime
katei (Yuta Saito)
02:19 AM Revision be1382b4 (git): ruby.c: initialize extra optional extensions linked statically
Add a hook point to initialize extra extension libraries. The default
hook function is replaced when linking a strong `Init_extra_exts`
symbol. A builder can insert an object file that defines Init_extra_exts
by XLDFLAGS.
katei (Yuta Saito)
02:19 AM Revision 9033ac3e (git): dir.c: ignore ENOTCAPABLE while glob similar to EACCES
katei (Yuta Saito)
02:19 AM Revision 420622b5 (git): [wasm] add no thread variant for freestanding environment
This implementation does nothing around preemptive context switching
because there is no native thread.
katei (Yuta Saito)
02:19 AM Revision d6d52a7d (git): thread.c: put platform specific part in each impl file
katei (Yuta Saito)
02:19 AM Revision bf1c4d25 (git): [wasm] gc.c: scan wasm locals and c stack to mark living objects
WebAssembly has function local infinite registers and stack values, but
there is no way to scan the values in a call stack for now.
This implementation uses Asyncify to spilling out wasm locals into
linear memory.
katei (Yuta Saito)
02:19 AM Revision e7fb1fa0 (git): [wasm] gc.c: disable read signal barrier for wasi
WASI currently does not yet support signal katei (Yuta Saito)
02:19 AM Revision 23de01c7 (git): [wasm] eval_inter.h gc.c vm_core.h: include wasm/setjmp.h instead of sysroot header
katei (Yuta Saito)
02:19 AM Revision a4b73f1b (git): [wasm] add coroutine/asyncify implementation
set the default coroutine_type as asyncify when wasi katei (Yuta Saito)
02:19 AM Revision 7ee78638 (git): [wasm] wasm/missing.{c,h}: add missing libc stubs for wasi-libc
katei (Yuta Saito)
02:19 AM Revision 65f95f26 (git): [wasm] add asyncify based setjmp, fiber, register scan emulation
configure.ac: setup build tools and register objects
main.c: wrap main with rb_wasm_rt_start to handle asyncify unwinds
tool/m4/ruby_wasm_tools.m4: setup default command based on WASI_SDK_PATH
environment variable. checks wasm-opt whic...
katei (Yuta Saito)
02:19 AM Revision e41b121e (git): [wasm] configure.ac: setup platform specific libraries
These flags are very wasi-libc version specific, so updating wasi-libc
may break the build. But supporting multiple wasi-libc versions in ruby
doesn't have much benefit because wasi-libc is not installed in most
systems.
katei (Yuta Saito)
02:19 AM Revision 8a50a6b6 (git): [wasm] configure.ac: disable stack-protector
clang does not yet support stack-protector for wasm katei (Yuta Saito)

01/18/2022

09:15 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
Gmake has been stopped at:
Generating RDoc documentation
uh-oh! RDoc had a problem:
ld.so.1: ruby: fatal: Init_ripper: can't find symbol
Can you help with that, please? Many thanks!
dklein (Dmitri Klein)
09:15 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
Looks like all of our GCCs are configured with --with-gnu-as! dklein (Dmitri Klein)
09:13 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
# /usr/sfw/bin/gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr...
dklein (Dmitri Klein)
08:42 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
.. dklein (Dmitri Klein)
08:36 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
Thanks. We have tried three different gcc compilers:
# /usr/sfw/bin/gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
# /usr/local/gcc4/bin/gcc --version
gcc (GCC) 4.5.1
# /opt/csw/gcc5/bin/gcc --version
gcc (...
dklein (Dmitri Klein)
07:45 PM Revision 09ed5aa8 (git): * 2022-01-19 [ci skip]
git[bot]
07:40 PM Revision e7b4abf3 (git): Don't assume __builtin_bswap32 and __builtin_bswap64 are defined on OpenBSD
At least OpenBSD/sparc64 doesn't appear to define them, and possibly
some other OpenBSD GCC platforms don't (most OpenBSD platforms have
already switched to clang).
jeremyevans (Jeremy Evans)
05:52 PM Feature #18408: Allow pattern match to set instance variables
IMHO there is no such thing as "undefined behavior" in Ruby, the behavior is whatever CRuby currently does, and with enough time people depend on it.
In this case I think it's best to "keep it stupid and simple" and just assign while ...
Eregon (Benoit Daloze)
04:21 PM Feature #16663: Add block or filtered forms of Kernel#caller to allow early bail-out
I did a quick implementation for JRuby in https://github.com/jruby/jruby/pull/7014. It passes all tests except the `to_enum` form, which might be tricky to support. When the Enumerator is actually run, we are at least two frames deeper (... headius (Charles Nutter)
02:52 PM Feature #18491 (Closed): Drop support for IBM AIX and HP UX
Applied in changeset commit:git|ffda21b7ba451b8fd874e9c8c2162c55053caa1e.
----------
[Feature #18491] Drop support for HP-UX
IA64 support was dropped in ticket #15894, so we can drop support for
HP-UX.
peterzhu2118 (Peter Zhu)
02:52 PM Revision ffda21b7 (git): [Feature #18491] Drop support for HP-UX
IA64 support was dropped in ticket #15894, so we can drop support for
HP-UX.
peterzhu2118 (Peter Zhu)
02:50 PM Feature #18490: MakeMakefile.pkg_config should accept multiple options
Thank you for taking the time to review. I've split the commit as you requested:
https://github.com/ruby/ruby/pull/5436/commits
mdalessio (Mike Dalessio)
04:38 AM Feature #18490: MakeMakefile.pkg_config should accept multiple options
Thank you for the report and patch.
It seems fine.
Could you split adding tests of existing methods from the new feature?
nobu (Nobuyoshi Nakada)
02:09 PM Feature #18481: Porting YJIT to Rust (request for feedback)
Suggestion: Consider Crystal language for this effort. It's Ruby-like syntax would make the YJIT more accessible to Rubyists getting involved and contributing and we would gain all the benefits of a modern language, which is the stated... mwlang (Michael Lang)
01:45 AM Feature #18481: Porting YJIT to Rust (request for feedback)
@maximecb, it's OK for me to use Zig to implement YJIT, as long as foreseeable portability problems (mentioned above) are addressed.
Besides that, I prefer Zig to Rust, as a long-term C programmer, but all up to you.
Matz.
matz (Yukihiro Matsumoto)
01:57 PM Revision 54568c94 (git): Fix a link [ci skip]
znz (Kazuhiro NISHIYAMA)
01:52 PM Bug #18496 (Third Party's Issue): Segmentation fault at 0x0000000005107620
Getting that error Segmentation fault at 0x0000000005107620 when I try to run cucumber scenarios (cucumber -t @TestCase) on macbook m1 pro
ruby -e 'require "rbconfig"; pp RbConfig::CONFIG' | grep "host"
"host_os"=>"darwin21.1.0",
...
akors (Oleksandr Korshun)
12:25 PM Revision ab85c5e9 (git): [DOC] Enhanced RDoc for io.c (#5451)
Treats:
IO#reopen
IO#printf
Kernel#printf
IO#print
Kernel#print
IO#putc
IO.new
IO#set_encoding_by_bom
IO.for_fd
burdettelamar (Burdette Lamar)
12:21 PM Bug #18495: `LC_ALL=C.UTF-8` sets `Encoding.default_external` to `Encoding::US_ASCII`
byroot (Jean Boussier) wrote in #note-4:
> Fedora, but maybe more stripped down than yours?
Probably a much older (and unsupported by upstream) Fedora then.
https://bugzilla.redhat.com/show_bug.cgi?id=902094 says it was backported t...
Eregon (Benoit Daloze)
10:09 AM Bug #18396: An unexpected "hash value omission" syntax error when without parentheses call expr follows
Personally I would suggest only allowing shorthand syntax in case when brackets are present. So that
```ruby
x = 15
p x: # Syntax error
p(x:) # Works
```
OR maybe change current behavior and require trailing backslash in order to make...
tycooon (Yuri Smirnov)
10:08 AM Revision 67292588 (git): include/ruby/win32.h: define HAVE_X for the missing prototypes (#5456)
katei (Yuta Saito)
06:56 AM Revision 3fb1f411 (git): [ruby/irb] require_relative can't be used for default gems' exe files
The `exe` folder and `lib` folder of default gems don't locate under the
same place. While `exe/irb` will be under the gem folder, `irb.rb` will be
under `lib/ruby/VERSION/`.
So `require_relative` will make `irb` unuseable when shipped ...
st0012 (Stan Lo)

01/17/2022

11:50 PM Feature #18481: Porting YJIT to Rust (request for feedback)
Exciting stuff! This doesn't need to turn into an "all things Rust" thread, but I wanted to highlight some Rust related stuff I'm working on bringing to the Ruby community. Hopefully it's helpful to some.
- [Cargo support in Rubygems fo...
ianks (Ian Ker-Seymer)
03:21 PM Feature #18481: Porting YJIT to Rust (request for feedback)
Thank you for chiming in @Matz :)
We will try to work with the people doing the packages/ports to help them resolve problems if there are any.
We are currently still early in our investigation of the Rust port. I am curious to know...
maximecb (Maxime Chevalier-Boisvert)
11:15 PM Feature #18494: [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
> https://bugs.ruby-lang.org/issues/18494

Thanks both for the comments.

"ko1 (Koichi Sasada)" wrote:
> Some `RUBY_GC_...` vars do not affect correctly because they are used only on setup.
> We need to document which vars can be ...
normalperson (Eric Wong)
09:11 AM Feature #18494: [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
> Some RUBY_GC_... vars do not affect correctly because they are used only on setup.
Should we allow to change them at runtime through some `::GC` API? I could see some automatic/dynamic GC tuning gems being implemented using these AP...
byroot (Jean Boussier)
01:38 AM Feature #18494: [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
Some `RUBY_GC_...` vars do not affect correctly because they are used only on setup.
We need to document which vars can be modified dynamically.
ko1 (Koichi Sasada)
01:08 AM Feature #18494 (Open): [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
This is intended to give Ruby application developers a way to to
improve the out-of-the-box experience for end users running
tools written in Ruby. In most cases, end users are not and
cannot be expected to know how to tune the G...
normalperson (Eric Wong)
10:23 PM Bug #18495: `LC_ALL=C.UTF-8` sets `Encoding.default_external` to `Encoding::US_ASCII`
> This sounds like a bug of the operating system.
Yes that's what I figured after digging into the code.
> ...
Indeed, it doesn't exist on OSX as far as I can tell, and likely wasn't present on the initial reporter system (Fedora, ...
byroot (Jean Boussier)
09:35 PM Bug #18495: `LC_ALL=C.UTF-8` sets `Encoding.default_external` to `Encoding::US_ASCII`
This sounds like a bug of the operating system.
On Fedora 33:
```
$ env LC_ALL=C.UTF-8 locale
LANG=en_US.UTF-8
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="...
Eregon (Benoit Daloze)
12:23 PM Bug #18495 (Closed): `LC_ALL=C.UTF-8` sets `Encoding.default_external` to `Encoding::US_ASCII`
Closing since I now believe it's up to the system to properly define locales. Apologies for the noise. byroot (Jean Boussier)
11:53 AM Bug #18495: `LC_ALL=C.UTF-8` sets `Encoding.default_external` to `Encoding::US_ASCII`
So I dug into the code a bit, and Ruby seem to delegate most of that to the system with `nl_langinfo`
And reading more into it, it seems that `C.UTF-8` while common, isn't POSIX, and my system seem to behave the same:
```bash
$ en...
byroot (Jean Boussier)
11:42 AM Bug #18495 (Closed): `LC_ALL=C.UTF-8` sets `Encoding.default_external` to `Encoding::US_ASCII`
Original bug report on Bootsnap: https://github.com/Shopify/bootsnap/issues/395#issuecomment-1014421271
```bash
$ env LC_ALL=en_US.UTF-8 ruby -e 'p Encoding.default_external'
#<Encoding:UTF-8>
$ env LC_ALL=C.UTF-8 ruby -e 'p Encodi...
byroot (Jean Boussier)
08:39 PM Revision eb98275c (git): * 2022-01-18 [ci skip]
git[bot]
08:39 PM Revision c0d18a1a (git): [ruby/erb] Revert "Remove safe_level and further positional arguments (https://github.com/ruby/erb/pull/7)"
This reverts commit https://github.com/ruby/erb/commit/5133efa06f0603ae79292f3b2b942957bc8a442e.
While we already handled this deprecation in many libraries, we noticed
that some (e.g. sprockets) relied on the format of `ERB.version` an...
k0kubun (Takashi Kokubun)
04:25 PM Feature #18408: Allow pattern match to set instance variables
Dan0042 (Daniel DeLorme) wrote in #note-13:
> @palkan Wow, thank you for blowing my mind.
> ...
The examples demonstrate a hypothetical situations if we allow binding ivars.
However, we can just drop `@` and get the same behaviour for...
palkan (Vladimir Dementyev)
02:54 PM Feature #18408: Allow pattern match to set instance variables
@palkan Wow, thank you for blowing my mind.
However, is that behavior documented? I can't find it in the docs. I mean, it seems to me that it's relying on the undefined behavior discussed above, so by definition it's not guaranteed to...
Dan0042 (Daniel DeLorme)
07:23 AM Feature #18408: Allow pattern match to set instance variables
Dan0042 (Daniel DeLorme) wrote in #note-11:
> There are a few possible ways to solve these problems right?
> ...
So, we need to scan the whole pattern, reserver stack locations for all *mentioned* variables and resolve them when match ...
palkan (Vladimir Dementyev)
04:09 AM Feature #18408: Allow pattern match to set instance variables
ktsj (Kazuki Tsujimoto) wrote in #note-8:
> If assignment to instance variables (or variables other than local variables) is allowed in pattern matching, there are problems such as:
> ...
There are a few possible ways to solve these pr...
Dan0042 (Daniel DeLorme)
02:19 PM Feature #18491: Drop support for IBM AIX and HP UX
I see. Thanks @ngoto! I'll drop support for HP-UX and keep support for AIX. peterzhu2118 (Peter Zhu)
01:01 PM Feature #18491: Drop support for IBM AIX and HP UX
About HP-UX:
Ruby already dropped support for IA-64 (Itanium) CPU architecture ( Feature #15894 ) on which HP-UX runs.
About older architecture, PA-RISC, end of support date of PA-RISC servers were 2013. (References: https://en.wikiped...
ngoto (Naohisa Goto)
01:53 PM Feature #18490: MakeMakefile.pkg_config should accept multiple options
Pinging @nobu for feedback as he is the primary maintainer of mkmf mdalessio (Mike Dalessio)
12:56 PM Bug #18489: Segmentation fault with ruby 3.1.0 in `active_decorator`
Yes, this is a fix up of b680b632e5b8. nobu (Nobuyoshi Nakada)
12:49 PM Bug #18489: Segmentation fault with ruby 3.1.0 in `active_decorator`
@nobu Thanks for the fix. What's the required backport on this, only 3.1? byroot (Jean Boussier)
12:24 PM Bug #18489 (Closed): Segmentation fault with ruby 3.1.0 in `active_decorator`
Applied in changeset commit:git|f3c77bd480834f2835fe6fef5c0475336248dbde.
----------
Fix the placeholder subclass entry skipping [Bug #18489]
nobu (Nobuyoshi Nakada)
10:45 AM Bug #18489: Segmentation fault with ruby 3.1.0 in `active_decorator`
Thank you very much!!
I can confirm that this issue is fixed.
t_mimura (Tomohiko Mimura)
12:23 PM Revision f3c77bd4 (git): Fix the placeholder subclass entry skipping [Bug #18489]
nobu (Nobuyoshi Nakada)
12:09 PM Revision e53962b9 (git): [ruby/irb] Use require_relative to load extensions/commands
https://github.com/ruby/irb/commit/d5060f7668 st0012 (Stan Lo)
12:05 PM Bug #18429: Configure ruby-3.0.3 on Solaris 10 Unknown keyword 'URL' in './ruby.tmp.pc'
Could you please show the full output of `gcc -v` and check the "Configured with:" line?
On Intel Solaris, it seems that gcc configured with `--with-gnu-as` is needed to compile recent Ruby versions. i.e. gcc configured with `--withou...
ngoto (Naohisa Goto)
10:43 AM Revision 1a0e0e89 (git): lldb_cruby.py: support RVARGC on T_CLASS [ci skip]
nobu (Nobuyoshi Nakada)
08:11 AM Revision 549af505 (git): [ruby/net-http] Remove redundant MJIT condition
ref https://github.com/ruby/ruby/commit/da0f67c0383f57129c7a76255964b1ee739d8db8
https://github.com/ruby/net-http/commit/dbeb5f1c8f
znz (Kazuhiro NISHIYAMA)
06:32 AM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
The revert was proposed and implemented at https://bugs.ruby-lang.org/issues/18349. k0kubun (Takashi Kokubun)
06:00 AM Feature #17490: Rename RubyVM::MJIT to RubyVM::JIT
MEMO: This feature reverted at https://github.com/ruby/ruby/commit/1a63468831524f68e73cbb068071652c6486cfc6 without major release. znz (Kazuhiro NISHIYAMA)
05:56 AM Revision b4e362d4 (git): lib/drb/drb.rb: Prevent a "warning: assigned but unused variable"
... by replacing the variable with a underscore-prefixed name mame (Yusuke Endoh)
05:43 AM Misc #18493 (Closed): zverok as a commiter
I've finished to setup zverok's accounts in ruby-lang.org. hsbt (Hiroshi SHIBATA)
05:43 AM Misc #18488 (Closed): Add katei as a commiter
I've finished to setup katei's accounts in ruby-lang.org. hsbt (Hiroshi SHIBATA)
05:23 AM Revision 81b604fb (git): [ruby/irb] Use require_relative to require lib files
1. `require` can mislead Ruby to load system irb's files and cause
constant redefined warnings as other code loads the same module/class
from lib folder.
2. Most files already use `require_relative`.
https://github.com/ruby/irb/co...
st0012 (Stan Lo)
04:49 AM Revision 804a7149 (git): Replace to RBOOL macro
S_H_ (Shun Hiraoka)
01:39 AM Revision 35158673 (git): Removed skip alias in test suite
hsbt (Hiroshi SHIBATA)
01:17 AM Revision ac1bb6b5 (git): [ruby/net-http] Rename `D` to `debug` in `Net::HTTP`
Renames `D` to `debug` in `Net::HTTP` and introduces an alias for
backwards compatibility. This was done for readability reasons, in that
`D` did not clearly reflect what the method was doing and can cause some
confusion.
https://github...
baweaver (Brandon Weaver)
 

Also available in: Atom