Project

General

Profile

Activity

From 02/02/2022 to 02/08/2022

02/08/2022

07:21 PM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
I have confirmed that the `rb_mRubyVMFrozenCore` is the problematic class. It seems it gets corrupted during GC cycle... vo.x (Vit Ondruch)
06:57 PM Misc #18557: DevMeeting-2022-02-17
* [Feature #18339] GVL instrumentation API
- The goal is to be able to measure GVL contention and tell users if the...
byroot (Jean Boussier)
05:17 PM Bug #18575 (Closed): [BUG] unsupported: T_NONE
Closing assuming it was fixed as part of 3.0.3, if you do happen to see this bug again on 3.0.3 we can re-open. byroot (Jean Boussier)
02:26 PM Bug #18575: [BUG] unsupported: T_NONE
byroot (Jean Boussier) wrote in #note-4:
> How long does it usually takes for you to repro? I tried on macOS and it ...
PhilCoggins (Phil Coggins)
08:40 AM Bug #18575: [BUG] unsupported: T_NONE
How long does it usually takes for you to repro? I tried on macOS and it didn't repro after a long time. No luck eith... byroot (Jean Boussier)
04:33 PM Bug #18577 (Closed): Range#include? returns wrong result for beginless range with exclusive string end
Exclusive range should not include the end value, but `(...'z').include? 'z'` returns true. `member?` and `===` behav... takaram (Takuya Aramaki)
02:51 PM Revision 85ad8c65 (git): [DOC] Adjustments to links in array.c (#5532)
Mostly suppressing links to itself. burdettelamar (Burdette Lamar)
10:21 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
BTW Python has the "bytes" encoding and it behaves very similar to Ruby's BINARY encoding (it's a different type in P... Eregon (Benoit Daloze)
10:15 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
+1000 for this, I think ASCII-8BIT is always extremely confusing, and BINARY is much more revealing (= we don't know ... Eregon (Benoit Daloze)
09:41 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
duerst (Martin Dürst) wrote in #note-1:
> Well, it's actually not just binary. Binary would mean that none of the by...
naruse (Yui NARUSE)
09:28 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
@duerst I'm aware of this, but I don't quite see how it's a concern. It's a fairly subtle behavior, and I doubt the `... byroot (Jean Boussier)
09:21 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
Well, it's actually not just binary. Binary would mean that none of the bytes have any 'meaning' (i.e. characters) as... duerst (Martin Dürst)
09:08 AM Feature #18576 (Closed): Rename `ASCII-8BIT` encoding to `BINARY`
### Context
I'm now used to it, but something that confused me for years was errors such as:
```ruby
>> "fée" ...
byroot (Jean Boussier)
08:51 AM Feature #18573: Object#pack1
(using Google Translate to understand the discussion, sorry if I misunderstood or missed things).
Since `Object#pa...
byroot (Jean Boussier)
08:47 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
@normalperson: answering here since the dev-meeting issue isn't the right place for discussion:
> Please just keep...
byroot (Jean Boussier)
08:39 AM Bug #16689: [BUG] try to mark T_NONE object
Yeah, it must have bene deleted by some automated script, sorry. I recreated it under my personal account: https://gi... byroot (Jean Boussier)
06:53 AM Revision 36fa57fc (git): Fixed path for ipaddr.rb (#5533)
hsbt (Hiroshi SHIBATA)
01:33 AM Revision 2a30ddd9 (git): Remove extraneous "." in String#+@ documentation
Paarth Madan

02/07/2022

11:40 PM Bug #18575: [BUG] unsupported: T_NONE
tenderlovemaking (Aaron Patterson) wrote in #note-2:
> Hi,
>
> Thanks for the short repro script! I think this migh...
PhilCoggins (Phil Coggins)
11:19 PM Bug #18575: [BUG] unsupported: T_NONE
Hi,
Thanks for the short repro script! I think this might have been fixed, but I'm not sure what revision. Ruby ...
tenderlovemaking (Aaron Patterson)
10:45 PM Bug #18575: [BUG] unsupported: T_NONE
I think i have managed to produce a relatively simply repro script:
```ruby
require 'csv'
parsed = CSV.parse("Foo,bA...
PhilCoggins (Phil Coggins)
09:28 PM Bug #18575 (Closed): [BUG] unsupported: T_NONE
I am seeing this error cropping up in my application, particularly when processing large CSV files. It seems to be se... PhilCoggins (Phil Coggins)
10:52 PM Misc #18557: DevMeeting-2022-02-17
* [Feature #16989] Sets: need ♥️
* matz has already accepted adding Sets as default. However, there hasn’t been any...
greggzst (Grzegorz Jakubiak)
10:31 PM Misc #18557: DevMeeting-2022-02-17
* [Bug #18487] Kernel#binding behaves differently depending on implementation language of items on the stack (jeremye... jeremyevans0 (Jeremy Evans)
06:22 PM Misc #18557: DevMeeting-2022-02-17
"byroot (Jean Boussier)" <[email protected]> wrote:
> Issue #18557 has been updated by byroot (Jean Boussier).
...
normalperson (Eric Wong)
08:45 AM Misc #18557: DevMeeting-2022-02-17
[Feature #18566] Merge `io-wait` gem into core `IO` class. (byroot)
- It's very small and any non-trivial IO code ...
byroot (Jean Boussier)
09:54 PM Bug #16689: [BUG] try to mark T_NONE object
Would it be possible to share the repro script that was deleted at https://github.com/Shopify/ruby-repro? I have enco... PhilCoggins (Phil Coggins)
04:41 PM Revision 546730b7 (git): * 2022-02-08 [ci skip]
git[bot]
04:39 PM Revision 8ca7b0b6 (git): [DOC] Fix broken links to operator methods
Once https://github.com/ruby/rdoc/pull/865 is merged, these hacks
are no longer needed.
nobu (Nobuyoshi Nakada)
04:28 PM Revision 07bf6585 (git): [DOC] Fix broken links to case_mapping.rdoc
nobu (Nobuyoshi Nakada)
04:27 PM Revision 16fdc1ff (git): [DOC] Fix broken links to literals.rdoc
nobu (Nobuyoshi Nakada)
04:18 PM Revision bc5662d9 (git): [DOC] Simplify links to global methods
nobu (Nobuyoshi Nakada)
03:14 PM Bug #18570: Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1
ruby_3_1 73159727ed88a8f739038984c847bb7313336450. naruse (Yui NARUSE)
07:54 AM Bug #18570: Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1
I got the owner grant of ipaddr gem and released ipaddr-1.2.4.
@naruse Please merge https://github.com/ruby/ruby/...
hsbt (Hiroshi SHIBATA)
03:14 PM Revision bb4d9f82 (git): * 2022-02-08 [ci skip]
git[bot]
03:14 PM Revision 73159727 (git): Merge ipaddr-1.2.4 (#5526)
[Bug #18570] hsbt (Hiroshi SHIBATA)
02:52 PM Revision f53f4919 (git): [DOC] Replace with IO@Modes
peterzhu2118 (Peter Zhu)
02:52 PM Revision 9b3115ff (git): [DOC] Remove extra period
peterzhu2118 (Peter Zhu)
02:52 PM Revision a12e2f9a (git): [DOC] Remove extra closing curly bracket
peterzhu2118 (Peter Zhu)
02:52 PM Revision a32e5e1b (git): [DOC] Use RDoc link style for links in the same class/module
I used this regex:
(?<=\[)#(?:class|module)-([A-Za-z]+)-label-([A-Za-z0-9\-\+]+)
And performed a global find & repl...
peterzhu2118 (Peter Zhu)
02:52 PM Revision f9a2802b (git): [DOC] Use RDoc link style for links to other classes/modules
I used this regex:
([A-Za-z]+)\.html#(?:class|module)-[A-Za-z]+-label-([A-Za-z0-9\-\+]+)
And performed a global fin...
peterzhu2118 (Peter Zhu)
02:52 PM Revision ecd469fa (git): [DOC] Fix links in documentation for File and IO
Fixes some typos and dead links. peterzhu2118 (Peter Zhu)
02:06 PM Revision 981a75db (git): [rubygems/rubygems] Fix missing rdoc for Gem::Version
The rdoc for Gem::Version is available here:
* https://docs.ruby-lang.org/en/3.0/Gem/Version.html
However it is curr...
nevans (Nicholas Evans)
01:46 PM Bug #18574 (Closed): Backport Get `ruby_nonempty_memcpy` to have C linkage to to ruby_3_0
Would it be possible to backport https://github.com/ruby/ruby/pull/4429 to ruby_3_0?
I did check out the `ruby_3_0...
Quintasan (Michał Zając)
11:08 AM Bug #18562: throw_data passed to rescue through require
ruby_3_1 807dd0479267a067e8208a2053b446fa13a2e66f merged revision(s) c79d2e54748f52c5023b0a1ee441561df9826c17. naruse (Yui NARUSE)
11:08 AM Revision 807dd047 (git): merge revision(s) c79d2e54748f52c5023b0a1ee441561df9826c17: [Backport #18562]
Fix TAG_THROW through require [Bug #18562]
Previously this was being incorrectly swapped with TAG_RAISE in t...
naruse (Yui NARUSE)
10:58 AM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
ruby_3_1 86c8e15170484fe23b311e567717053f147ffd9c merged revision(s) 2a76440fac62b. naruse (Yui NARUSE)
10:58 AM Revision 86c8e151 (git): merge revision(s) 2a76440fac62b: [Backport #18501]
[Bug #18501] Fire write barrier after hash has been written
Before this change the write barrier was execute...
naruse (Yui NARUSE)
10:55 AM Bug #18556: error: use of undeclared identifier 'MAP_ANONYMOUS'
ruby_3_1 e54289bb632047b750f9c9371410d1adff2a740a merged revision(s) 67f4729. naruse (Yui NARUSE)
10:55 AM Revision e54289bb (git): merge revision(s) 67f4729: [Backport #18556]
[Bug#18556] Fallback `MAP_ ANONYMOUS`
Define `MAP_ANONYMOUS` to `MAP_ANON` if undefined on old systems.
...
naruse (Yui NARUSE)
10:02 AM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
A concrete issue caused by adding `digest` as a needless dependency for net-*: https://github.com/oracle/truffleruby/... Eregon (Benoit Daloze)
06:30 AM Revision 01693807 (git): Appveyor: Link vcpkg DLLs except for readline
nobu (Nobuyoshi Nakada)
04:40 AM Revision 8fe2ce83 (git): [MSWin] Link all vcpkg DLLs except for readline
nobu (Nobuyoshi Nakada)
04:40 AM Revision 65ccae5b (git): [MSWin] Install libyaml using vcpkg
nobu (Nobuyoshi Nakada)
03:19 AM Feature #18573: Object#pack1
今日のOffice Hourで話したんですが、レシーバごとにそれにふさわしい書式って限定されるはずなので、何でも屋のpackではなく、たとえばIntegerならビット幅とエンディアンを指定してバイナリ表現を得るメソッド、Stringな... knu (Akinori MUSHA)
03:02 AM Feature #18573: Object#pack1
String#format / String#% のような感じで書式の方をレシーバにする方がよさそうですが、unpackとの対称性を考えると名前が難しいかも。 knu (Akinori MUSHA)
02:49 AM Feature #18573: Object#pack1
packしたいもの(のclass)はすごく限定的なので、Objectに生やすのはどうかなあと思いました。 knu (Akinori MUSHA)
02:55 AM Feature #18438: Add `Exception#additional_message` to show additional error information
I talked with @matz. He decided to go ahead with it as is, as it is not a serious problem.
If you want an exact co...
mame (Yusuke Endoh)
12:52 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
> I agree this would make a lot of sense, also for `io-nonblock` which is also just a couple IO methods.

Agree, p...
normalperson (Eric Wong)

02/06/2022

06:43 PM Bug #18562: throw_data passed to rescue through require
byroot (Jean Boussier) wrote in #note-2:
> @jhawthorn that was a master only issue right? I could repo it with any r...
jhawthorn (John Hawthorn)
10:55 AM Bug #18562: throw_data passed to rescue through require
@jhawthorn that was a master only issue right? I could repo it with any released version. byroot (Jean Boussier)
02:10 AM Bug #18562 (Closed): throw_data passed to rescue through require
Applied in changeset commit:git|c79d2e54748f52c5023b0a1ee441561df9826c17.
----------
Fix TAG_THROW through require [...
jhawthorn (John Hawthorn)
04:33 PM Feature #18573 (Open): Object#pack1
# 概要
String#unpack1 の逆の Object#pack1 が欲しい。
# 背景
Array#pack というメソッドがありますが、レシーバーの Array の要素数が 1 つしかないことが良くあります...
os (Shigeki OHARA)
03:44 PM Revision a07fa198 (git): Improve links to labels in string.c and struct.c (#5531)
burdettelamar (Burdette Lamar)
03:03 PM Revision 893b0fd7 (git): * 2022-02-07 [ci skip]
git[bot]
01:23 PM Revision 402d7648 (git): [MSWin] Install libffi using vcpkg
nobu (Nobuyoshi Nakada)
01:22 PM Revision b9083c20 (git): [MSWin] Cache installed vcpkg packages
nobu (Nobuyoshi Nakada)
10:24 AM Revision 90a540e9 (git): Appveyor: Try readline extension
nobu (Nobuyoshi Nakada)
10:23 AM Revision 2cf687fe (git): Appveyor: DBM extensions have not been bundled already
nobu (Nobuyoshi Nakada)
10:22 AM Revision 7ce3a100 (git): Fold command line items
nobu (Nobuyoshi Nakada)
02:10 AM Revision c79d2e54 (git): Fix TAG_THROW through require [Bug #18562]
Previously this was being incorrectly swapped with TAG_RAISE in the next
line. This would end up checking the T_IMEMO...
jhawthorn (John Hawthorn)

02/05/2022

08:05 PM Revision 3e6c6c74 (git): {DOC] Enhanced RDoc for io.c (#5529)
Changes parameter name from simple opts to open_opts or enc_opts when appropriate; leaves the name unchanged when mor... burdettelamar (Burdette Lamar)
06:06 PM Revision 3ec2ffed (git): * 2022-02-06 [ci skip]
git[bot]
06:05 PM Revision 603ab709 (git): support concurrent btest execution
* `-j` option for concurrent test with threads
* `-jN` uses N threads
* `-j` uses nproc/2 threads
* Introduce `BT...
ko1 (Koichi Sasada)
11:01 AM Bug #18572 (Closed): Performance regression when invoking refined methods
Since Ruby 3.0, defining a refinement for a method slows down its execution even if we do not activate the refinement... palkan (Vladimir Dementyev)

02/04/2022

10:41 PM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
> I'd like to let it run for a few more days to be fully certain though.
We ran it quite enough and saw no more cr...
byroot (Jean Boussier)
10:36 PM Bug #18501 (Closed): [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
Applied in changeset commit:git|2a76440fac62bb0f6e53ccada07caf4b47b78cf9.
----------
[Bug #18501] Fire write barrier...
tenderlovemaking (Aaron Patterson)
09:07 AM Bug #18501: [BUG] try to mark T_NONE object in RubyVM::InstructionSequence. load_from_binary
@tenderlovemaking implemented a patch for this: https://github.com/ruby/ruby/pull/5525, we deployed it on our infra a... byroot (Jean Boussier)
10:36 PM Revision 2a76440f (git): [Bug #18501] Fire write barrier after hash has been written
Before this change the write barrier was executed before the key and
value were actually reachable via the Hash. Thi...
tenderlovemaking (Aaron Patterson)
10:27 PM Revision 06e96b92 (git): * 2022-02-05 [ci skip]
git[bot]
10:26 PM Revision 06a28ec4 (git): [DOC] Enhanced RDoc for io.c (#5527)
Treats:
IO.binread (abbreviated to be like IO.binwrite).
IO.write
IO.binwrite
IO.copystream
IO#e...
burdettelamar (Burdette Lamar)
09:12 PM Bug #18570 (Closed): Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1
jeremyevans0 (Jeremy Evans)
09:15 AM Bug #18570 (Assigned): Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1
I've prepared to merge ipaddr-1.2.4 at https://github.com/ruby/ruby/pull/5526
But I have no grant for releasing ip...
hsbt (Hiroshi SHIBATA)
08:15 AM Bug #18570 (Closed): Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1
For some reason the following code causes an exception with Ruby 3.1:
``` ruby
require "ipaddr"
([IPAddr.new("192....
dcermak (Dan Čermák)
09:12 PM Bug #18569 (Rejected): RubyVM::InstructionSequence#disasm returns nil for composed functions
I agree, this is expected behavior, since there is no instruction sequence for a composed proc. If you would like an... jeremyevans0 (Jeremy Evans)
09:04 PM Bug #18556 (Closed): error: use of undeclared identifier 'MAP_ANONYMOUS'
jeremyevans0 (Jeremy Evans)
05:54 PM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
So the TracePoint API must use similar paths. Therefore, looking at vm_trace.c, I have noticed this [1] line:
~~~
...
vo.x (Vit Ondruch)
01:26 PM Bug #18257: rb_mRubyVMFrozenCore is broken by GC run
It is actually reproducible everywhere. I was able to reproduce it on x86_64 although it fails less frequently. vo.x (Vit Ondruch)
04:10 PM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
byroot (Jean Boussier) wrote in #note-12:
> It's not a "one or the other" scenario. We can perfectly explore both.
...
Eregon (Benoit Daloze)
12:10 PM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
> That would only work on CRuby, so as such would be unusable on anything but CRuby.
> I think we should rather load...
byroot (Jean Boussier)
11:49 AM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
> Over 80% of CRuby's base startup is due to eagerly booting RubyGems. We can do better!
It's not the main point her...
matthewd (Matthew Draper)
11:33 AM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
byroot (Jean Boussier) wrote in #note-9:
> Another thing that could be explored would be to leverage `RubyVM::Instru...
Eregon (Benoit Daloze)
07:42 AM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
Another thing that could be explored would be to leverage `RubyVM::InstructionSequence.compile_file(path)`. If we ind... byroot (Jean Boussier)
12:55 PM Revision 46f65751 (git): [DOC] Enhanced RDoc for io.c (#5511)
Treats:
IO.foreach
IO.readlines
IO.read
IO.binread
burdettelamar (Burdette Lamar)
11:46 AM Misc #18557: DevMeeting-2022-02-17
* [Feature #18571] Removed the bundled sources from release package after Ruby 3.2
* (dummy comment)
hsbt (Hiroshi SHIBATA)
11:45 AM Feature #18571 (Closed): Removed the bundled sources from release package after Ruby 3.2
We shipped release package with the 3rd party source for mswin environment especially.
The current status is here...
hsbt (Hiroshi SHIBATA)

02/03/2022

11:26 PM Revision 203b1fc7 (git): Add documentation for regexp emoji named character property
Max Leopold
08:55 PM Feature #18438: Add `Exception#additional_message` to show additional error information
> Now Exception#detailed_message has a responsibility to highlight the message, so it need to insert the class name
...
st0012 (Stan Lo)
02:06 PM Feature #18438: Add `Exception#additional_message` to show additional error information
mame (Yusuke Endoh) wrote in #note-25:
> But I agree that this is not a big deal.
Exactly. At this point it's kind o...
Dan0042 (Daniel DeLorme)
10:38 AM Feature #18438: Add `Exception#additional_message` to show additional error information
Thank you for your comment!
st0012 (Stan Lo) wrote in #note-24:
> I think it'll be fine but I'm not sure why the ...
mame (Yusuke Endoh)
09:59 AM Feature #18438: Add `Exception#additional_message` to show additional error information
> My concern was that Sentry will now use #detailed_message instead of #message, but it will now include the exceptio... st0012 (Stan Lo)
01:28 AM Feature #18438: Add `Exception#additional_message` to show additional error information
Dan0042 (Daniel DeLorme) wrote in #note-22:
> My concern was that Sentry will now use #detailed_message instead of #...
mame (Yusuke Endoh)
08:07 PM Revision 9fab2c1a (git): Add the size pool slot size to the output of ObjectSpace.dump/dump_all
eightbitraptor (Matt V-H)
08:07 PM Revision a3caf196 (git): * 2022-02-04 [ci skip]
git[bot]
08:06 PM Revision af321ea7 (git): Move total_freed_pages to size pool
peterzhu2118 (Peter Zhu)
08:06 PM Revision a9221406 (git): Move total_allocated_pages to size pool
peterzhu2118 (Peter Zhu)
06:46 PM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
> https://github.com/rubygems/rubygems/pull/4199
Interesting, that seems a helpful step, although I suspect there ...
Eregon (Benoit Daloze)
04:17 PM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
> I think a faster boot time while still having RubyGems enabled by default would be good for all Rubies.
Thank yo...
headius (Charles Nutter)
02:21 PM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
I worked on https://github.com/rubygems/rubygems/pull/4199 a while ago which avoided all gemspec evaluation during bo... deivid (David Rodríguez)
12:48 PM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
I think a faster boot time while still having RubyGems enabled by default would be good for all Rubies.
https://gith...
Eregon (Benoit Daloze)
06:05 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
@deivid That is a good point.
For io-wait/io-nonblock it just seems very unlikely to have security vulnerabilities i...
Eregon (Benoit Daloze)
02:18 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
> Being a default gem is already enough to fix a security issue without a CRuby release.
This is currently enough...
deivid (David Rodríguez)
01:34 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
vo.x (Vit Ondruch) wrote in #note-19:
> Unlikely? How about openssl in Ruby 3.1?
By "those parts of stdlib" I mea...
Eregon (Benoit Daloze)
01:22 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
Eregon (Benoit Daloze) wrote in #note-14:
> vo.x (Vit Ondruch) wrote in #note-11:
> > 1) Not specifying dependencie...
vo.x (Vit Ondruch)
11:51 AM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
deivid (David Rodríguez) wrote in #note-15:
> Just to be clear, if in this particular case, for pragmatism, it is con...
Eregon (Benoit Daloze)
11:36 AM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
Also I recall issues with the `spring` gem that were fixed by correctly specifying their dependency on default gems l... deivid (David Rodríguez)
11:32 AM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
As an example of 1), I run into trouble with bigdecimal 1.x vs 2.x due to missing proper dependency specifications.
...
deivid (David Rodríguez)
11:02 AM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
vo.x (Vit Ondruch) wrote in #note-11:
> 1) Not specifying dependencies prevents major changes. If there is default ge...
Eregon (Benoit Daloze)
10:21 AM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
I said it in other places too but It's also my opinion that dependencies on default gems should be explicit, for the ... deivid (David Rodríguez)
04:24 PM Misc #18557: DevMeeting-2022-02-17
* [Feature #18568] Explore lazy RubyGems boot to reduce need for --disable-gems
* With more and more default gems, ...
headius (Charles Nutter)
02:22 PM Revision 424374d3 (git): Fix case when gc_marks_continue does not yield slots
gc_marks_continue will start sweeping when it finishes marking. However,
if the heap we are trying to allocate into i...
peterzhu2118 (Peter Zhu)
12:58 PM Bug #18569: RubyVM::InstructionSequence#disasm returns nil for composed functions
Don't take my word as definitive, but I'd say it's expected. `Proc#<<` return has no "source code":
```ruby
>> pr...
byroot (Jean Boussier)
10:46 AM Bug #18569 (Rejected): RubyVM::InstructionSequence#disasm returns nil for composed functions
I was testing function composition Proc#>> (https://ruby-doc.org/core-2.6/Proc.html#method-i-3E-3E) and noticed that ... GabrielMalakias (Gabriel Malaquias)
06:54 AM Feature #13110: Byte-based operations for String
Personally I prefer byterindex because it's a C-like name (I guess String#rindex came from rindex(3)).
However, I fo...
shugo (Shugo Maeda)
02:21 AM Revision 8f3a36fb (git): Fix indents [ci skip]
nobu (Nobuyoshi Nakada)

02/02/2022

11:14 PM Feature #13110: Byte-based operations for String
Eregon (Benoit Daloze) wrote in #note-21:
> I think it should be `byte_index`, `byte_rindex` and `byte_offset`.
> I...
shugo (Shugo Maeda)
05:58 PM Feature #13110: Byte-based operations for String
I think it should be `byte_index`, `byte_rindex` and `byte_offset`.
I know there is `String#byteslice`/`getbyte`/`se...
Eregon (Benoit Daloze)
07:10 AM Feature #13110 (Assigned): Byte-based operations for String
I've created a pull request which adds String#byteindex, String#byterindex, and MatchData#byteoffset:
https://gith...
shugo (Shugo Maeda)
11:05 PM Revision 6728f692 (git): * 2022-02-03 [ci skip]
git[bot]
11:05 PM Bug #18516: Memory leak on aliasing method to itself
ruby_3_1 42c9ef769f210d88241a114395dd5ffc27b2fb87 merged revision(s) 7ff1bf317887c0d7b21e91ad548d07b9f05c540c,e89d807... naruse (Yui NARUSE)
11:04 PM Revision 42c9ef76 (git): merge revision(s) 7ff1bf317887c0d7b21e91ad548d07b9f05c540c,e89d80702bd98a8276243a7fcaa2a158b3bfb659: [Backport #18516]
An alias can suppress method redefinition warning
---
test/ruby/test_alias.rb | 11 +++++++++++
...
naruse (Yui NARUSE)
10:07 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
I agree that io-wait at a minimum should not be gemified. Perhaps digest. I think this is a different argument than... enebo (Thomas Enebo)
09:31 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
Eregon (Benoit Daloze) wrote in #note-9:
> These gems are default gems and so available by default, and for the fore...
vo.x (Vit Ondruch)
09:24 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
There are stdlib gems of dubious value, like io-wait or digest, but I'm not sure where to draw the line. My rule of t... headius (Charles Nutter)
07:33 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
These gems are default gems and so available by default, and for the foreseeable future they will always be shipped w... Eregon (Benoit Daloze)
07:23 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
While I understand the issue, I believe the correct approach is to actually specify the dependencies and specify them... vo.x (Vit Ondruch)
12:06 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
Another issue with upstreaming code to default gems is some default gems need many internals and those should not be ... Eregon (Benoit Daloze)
11:58 AM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
Here is a set of PR to solve the issue for JRuby and TruffleRuby for net-* gems:
https://github.com/ruby/net-protoco...
Eregon (Benoit Daloze)
11:48 AM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
Here is a practical example of needless dependencies on default gems causing JRuby to not be able to install e.g. `ne... Eregon (Benoit Daloze)
11:22 AM Bug #18567 (Closed): Depending on default gems in stdlib gems when not needed considered harmful
CRuby over time moves more and more code to default gems, to bundled gems and or even stops shipping some gems which ... Eregon (Benoit Daloze)
08:10 PM Revision 7529c538 (git): [ruby/net-http] Do not set SNI hostname if connecting to IP address
RFC 6066, section 3, explicitly disallows the use of an IP address
as an SNI server name. So check if the connection...
jeremyevans (Jeremy Evans)
07:24 PM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
@eregon I remember seeing code in TruffleRuby that built up an index of default gem files, so it would know which one... headius (Charles Nutter)
07:19 PM Feature #18568: Explore lazy RubyGems boot to reduce need for --disable-gems
Another comparison: in JRuby, RubyGems booting accounts for around 1/3 of JRuby's startup time in our "fastest" mode.... headius (Charles Nutter)
07:13 PM Feature #18568 (Feedback): Explore lazy RubyGems boot to reduce need for --disable-gems
In https://bugs.ruby-lang.org/issues/17684 there was debate about whether the `--disable-gems` flag should be removed... headius (Charles Nutter)
06:04 PM Feature #13653: Bundled zlib helper
And for macOS: try to not mess up your system by installing random stuff in /usr/local, that's the source of many iss... Eregon (Benoit Daloze)
01:42 AM Feature #13653 (Closed): Bundled zlib helper
After 4 years, We should remove the bundled source code like zlib, libyaml, libffi.
for mswin users: use vcpkg, ot...
hsbt (Hiroshi SHIBATA)
05:21 PM Revision 3ca244a2 (git): * 2022-02-03 [ci skip]
git[bot]
05:20 PM Revision 2913a2f5 (git): Treat TS_ICVARC cache as separate from TS_IVC cache
jemmai (Jemma Issroff)
03:42 PM Feature #18368: Range#step semantics for non-Numeric ranges
"Dead-on-arrival" hyberbole aside, it does seem that using `+` semantics would allow Range#step to work "for free" wi... Dan0042 (Daniel DeLorme)
02:52 PM Revision 7b77d466 (git): Decouple GC slot sizes from RVALUE
Add a new macro BASE_SLOT_SIZE that determines the slot size.
For Variable Width Allocation (compiled with USE_RVARG...
peterzhu2118 (Peter Zhu)
02:51 PM Feature #18438: Add `Exception#additional_message` to show additional error information
My concern was that Sentry will now use #detailed_message instead of #message, but it will now include the exception ... Dan0042 (Daniel DeLorme)
06:23 AM Feature #18438: Add `Exception#additional_message` to show additional error information
@Dan0042 I think your last comment is a different topic. I'd like to keep one proposal as small as I can. mame (Yusuke Endoh)
01:52 PM Revision af107710 (git): Add `econv_get_encoding` function
S_H_ (Shun Hiraoka)
01:39 PM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
I agree this would make a lot of sense, also for `io-nonblock` which is also just a couple IO methods. Eregon (Benoit Daloze)
08:55 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
It makes sense to me. retro (Josef Šimánek)
08:52 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
I am happy to do the initial implementation. ioquatix (Samuel Williams)
08:17 AM Feature #18566 (Closed): Merge `io-wait` and `io-nonblock` gems into core IO
I think we should reconsider status of `io-wait`, and consider simply merging it into core's `IO`.
According to @n...
byroot (Jean Boussier)
12:21 PM Revision d8c54bac (git): [ruby/net-protocol] Fix typo in gem description [ci skip]
https://github.com/ruby/net-protocol/commit/35d7b08a54 olleolleolle (Olle Jonsson)
12:17 PM Revision 94687a68 (git): [ruby/net-protocol] Drop unused gemspec directives
This gem exposes no executables.
https://github.com/ruby/net-protocol/commit/3c4def2a64
olleolleolle (Olle Jonsson)
08:53 AM Revision 7bef8ed1 (git): Update bundled gems list at 2022-02-02
git[bot]
08:32 AM Misc #18557: DevMeeting-2022-02-17
- [Feature #18498] Introduce a public `WeakKeysMap` that compares by equality (byroot)
- Ruby's current weak refere...
byroot (Jean Boussier)
01:43 AM Misc #18557: DevMeeting-2022-02-17
* [Feature #18513] Hide patchlevel from `ruby -v`
* There is no reason to display it now.
hsbt (Hiroshi SHIBATA)
07:57 AM Revision 6794f8cf (git): Merge pull request #5482 from hsbt/rubygems-3-3-bundler-2-3
Merge RubyGems 3.3.x and Bundler 2.3.x hsbt (Hiroshi SHIBATA)
04:30 AM Revision 69463805 (git): * 2022-02-02 [ci skip]
git[bot]
04:29 AM Revision 27046210 (git): Remove "Miscellaneous checks" from CI
It is expected to use on master branch naruse (Yui NARUSE)
04:26 AM Revision ea6b6f1a (git): Update bundled gems list at d4a8c04dc7bb1c9aa48eaf50dc6b18 [ci skip]
git[bot]
04:25 AM Revision d4a8c04d (git): Update RBS (#5515)
* Bundle RBS 2.1.0 soutaro (Soutaro Matsumoto)
02:22 AM Bug #18565 (Rejected): strptime reports invalid date when string is "130AM" and format string is '%I:%M%p'
I don't think this is a bug. `strptime` is supposed to be the inverse of `strftime`:
```ruby
DateTime.now.strfti...
jeremyevans0 (Jeremy Evans)
02:06 AM Bug #18565 (Rejected): strptime reports invalid date when string is "130AM" and format string is '%I:%M%p'
`DateTime.strptime("1:30PM", '%I:%M%p')` and `DateTime.strptime("1:30PM", '%l:%M%p')` both return
`#<DateTime: 2022-...
CaryInVictoria (Cary Swoveland)
12:08 AM Revision bb845fb9 (git): * 2022-02-02 [ci skip]
git[bot]
12:08 AM Revision aff4b219 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom