Project

General

Profile

Activity

From 03/23/2022 to 03/29/2022

03/29/2022

10:29 PM Bug #18631 (Closed): Range check breaks multiplex backreferences in regular expressions
Applied in changeset commit:git|6d3f447aecfb56f7d3edbdf9cc68e748e150d7d8.
----------
Fix multiplex backreferencs nea...
jeremyevans (Jeremy Evans)
10:29 PM Revision 6d3f447a (git): Fix multiplex backreferencs near end of string in regexp match
Idea from Jirka Marsik.
Fixes [Bug #18631]
jeremyevans (Jeremy Evans)
10:05 PM Misc #18662 (Closed): Fiber scheduling and Module#autoload
Thanks for your report. ioquatix (Samuel Williams)
10:04 PM Bug #18663: Autoload doesn't work with fiber context switch.
I've tracked down the root of this bug, being that it's not yielding to the fiber scheduler and implements it's own c... ioquatix (Samuel Williams)
09:58 PM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
@eregon it makes sense to me to introduce `IO::Timeout` or `IO::TimeoutError` (not sure timeout is strictly an error?... ioquatix (Samuel Williams)
09:58 PM Bug #18396: An unexpected "hash value omission" syntax error when without parentheses call expr follows
mame (Yusuke Endoh) wrote in #note-6:
> ```diff
> diff --git a/parse.y b/parse.y
> index 0ff3ddbb4e..73deae8627 10...
jeremyevans0 (Jeremy Evans)
09:14 PM Bug #18667 (Closed): Windows mswin RbConfig::CONFIG['LIBRUBY_SO'], ABI version '+' suffix
Recently was reviewing Windows builds, and noticed that mswin's `RbConfig::CONFIG['LIBRUBY_SO']` value and the actual... MSP-Greg (Greg L)
09:09 PM Feature #12655: Accessing the method visibility
I modified @nobu's patch for undefined methods to remove `Object#undefined_methods` and remove the optional argument ... jeremyevans0 (Jeremy Evans)
07:10 PM Bug #18561 (Closed): Make singleton def operation and define_singleton_method explicitly use public visibility
Applied in changeset commit:git|173a6b6a802d80b8cf200308fd3653832b700b1c.
----------
Make define_singleton_method al...
jeremyevans (Jeremy Evans)
07:10 PM Revision 173a6b6a (git): Make define_singleton_method always define a public method
In very unlikely cases, it could previously define a non-public method
starting in Ruby 2.1.
Fixes [Bug #18561]
jeremyevans (Jeremy Evans)
06:58 PM Bug #18665: Tutorial Link for Optionparser is still broken
The reason for this problem is that `optparse` is expecting to use the `--page-dir` rdoc option, but `docs.ruby-lang.... jeremyevans0 (Jeremy Evans)
06:52 PM Bug #18664 (Closed): Segmentation fault with Ruby 3.1.1 in Rails 7.0.2.3
jeremyevans0 (Jeremy Evans)
03:21 PM Revision f3b58e1d (git): * 2022-03-30 [ci skip]
git[bot]
03:21 PM Revision 87123c4f (git): Refactor test_dump_all to make assertions about the contents of the dumped hash
jemmai (Jemma Issroff)
02:54 PM Revision b257034a (git): [DOC] Enhanced RDoc for String (#5730)
Treats:
#start_with?
#end_with?
#delete_prefix
#delete_prefix!
#delete_suffix
#delete_suffix!
burdettelamar (Burdette Lamar)
12:12 PM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
I'm fine with that. ioquatix (Samuel Williams)
11:03 AM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
@larskanis That's a good point (it seems a bug).
And `IO#wait` also evolved more than `IO#wait_{readable,writable,pr...
Eregon (Benoit Daloze)
10:39 AM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
IMHO the problem with IO#wait is that its return value not well defined. Here is the issue: https://github.com/ruby/i... larskanis (Lars Kanis)
10:29 AM Feature #18655: Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
Copying a general comment (https://github.com/ruby/ruby/pull/5694#issuecomment-1081700929) on the PR here:
I agree...
Eregon (Benoit Daloze)
11:57 AM Revision c67088db (git): [ruby/psych] Try bundled libyaml source if pre-installed is unavailable
https://github.com/ruby/psych/commit/f78e1dba89 nobu (Nobuyoshi Nakada)
11:19 AM Revision c8e1ae4d (git): [DOC] Repair format of What's Here sections in object.c (#5722)
* Repair format of What's Here sections in object.c burdettelamar (Burdette Lamar)
11:17 AM Bug #18666: No rule to make target 'yaml/yaml.h', needed by 'api.o'
I hoped https://github.com/ruby/ruby/commit/8e2a2ba0f9 (Merge psych master; Added files: ext/psych/extlibs; Modified ... duerst (Martin Dürst)
01:19 AM Bug #18666: No rule to make target 'yaml/yaml.h', needed by 'api.o'
I created and successfully compiled a completely new clone of Ruby. That had no problem finding the `yaml.h` file. Th... duerst (Martin Dürst)
10:07 AM Revision 8e2a2ba0 (git): Merge psych master
https://github.com/ruby/psych/commit/c386ecb0c24eeb9693cc4ad3b1f263b2622c4f1e hsbt (Hiroshi SHIBATA)
08:18 AM Feature #18566: Merge `io-wait` and `io-nonblock` gems into core IO
The core method for waiting is `IO#wait`. Everything else if I recall correctly is just a wrapper around that core me... ioquatix (Samuel Williams)

03/28/2022

09:00 PM Revision 51e98eab (git): Fix Ractor.receive_if + rb_vm_barrier() deadlock
I have this scripts that deadlocks after about
5 minutes if I repeatedly run it with a shell loop:
```ruby
$VERBOSE ...
alanwu (Alan Wu)
08:49 PM Revision 5525e47a (git): [DOC] Enhanced RDoc for String (#5726)
Treats:
#ljust
#rjust
#center
#partition
#rpartition
burdettelamar (Burdette Lamar)
03:48 PM Revision 79bd12a6 (git): * 2022-03-29 [ci skip]
git[bot]
03:47 PM Revision 8db4f25b (git): Update to ruby/spec@aaf998f
Eregon (Benoit Daloze)
02:16 PM Feature #18660: Line event flags on instruction in method/block signature
ko1 (Koichi Sasada) wrote in #note-2:
> I understand the request, but current specification is because of the curren...
hurricup (Alexandr Evstigneev)
07:02 AM Feature #18660: Line event flags on instruction in method/block signature
ko1 (Koichi Sasada) wrote in #note-2:
> I understand the request, but current specification is because of the current...
hurricup (Alexandr Evstigneev)
01:47 AM Feature #18660 (Closed): Line event flags on instruction in method/block signature
I understand the request, but current specification is because of the current implementation (I don't have good idea ... ko1 (Koichi Sasada)
01:41 AM Feature #18660: Line event flags on instruction in method/block signature
I think it is by design. Call events are fired after evaluation of optinal arguments. Line events are not fired durin... mame (Yusuke Endoh)
02:02 PM Revision ae650f03 (git): Remove unneeded function declarations in gc.c
peterzhu2118 (Peter Zhu)
10:24 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
Per https://bugs.ruby-lang.org/issues/17837?next_issue_id=17835&prev_issue_id=17843#note-44, `class IO::TimeoutError ... Eregon (Benoit Daloze)
10:19 AM Feature #17837: Add support for Regexp timeouts
Good point `Timeout::Error` being an asynchronous (i.e., Thread#raise) exception, and of course `Regexp::TimeoutError... Eregon (Benoit Daloze)
06:04 AM Feature #17837: Add support for Regexp timeouts
I created a PR: https://github.com/ruby/ruby/pull/5703 mame (Yusuke Endoh)
05:15 AM Feature #17837: Add support for Regexp timeouts
Eregon (Benoit Daloze) wrote in #note-41:
> @naruse Could you explain why you think Regexp::TimeoutError should inhe...
mame (Yusuke Endoh)
08:28 AM Revision 035b75c8 (git): Update zlib version to 1.2.12
nobu (Nobuyoshi Nakada)
08:02 AM Revision 5568cd5a (git): Fix a missing comma
nobu (Nobuyoshi Nakada)
08:01 AM Revision 152bb3c0 (git): Use m4 comments outside macros in m4 files
nobu (Nobuyoshi Nakada)
07:56 AM Revision 2cb3efff (git): Extract RUBY_REQUIRE_FUNCS
nobu (Nobuyoshi Nakada)
06:23 AM Feature #18571 (Assigned): Removed the bundled sources from release package after Ruby 3.2
hsbt (Hiroshi SHIBATA)
06:05 AM Feature #18571 (Closed): Removed the bundled sources from release package after Ruby 3.2
Applied in changeset commit:git|282baa694320bbe385693902dfde0bdf93a532b8.
----------
[DOC] Move the entry for [Featu...
nobu (Nobuyoshi Nakada)
06:03 AM Revision 282baa69 (git): [DOC] Move the entry for [Feature #18571]
nobu (Nobuyoshi Nakada)
05:28 AM Bug #18666: No rule to make target 'yaml/yaml.h', needed by 'api.o'
hsbt (Hiroshi SHIBATA) wrote in #note-1:
> Can you install `libyaml-dev` package via apt?
Many thanks for your ad...
duerst (Martin Dürst)
01:05 AM Bug #18666: No rule to make target 'yaml/yaml.h', needed by 'api.o'
Can you install `libyaml-dev` package via apt? hsbt (Hiroshi SHIBATA)
12:59 AM Bug #18666 (Feedback): No rule to make target 'yaml/yaml.h', needed by 'api.o'
When updating my Ruby compilation with `make up; make`, I hit the following error:
```
make[2]: Entering director...
duerst (Martin Dürst)
01:59 AM Revision 4e580bd6 (git): Fix a link [ci skip]
znz (Kazuhiro NISHIYAMA)
01:43 AM Revision c3555e3d (git): Added entry of Psych changes for #18571
hsbt (Hiroshi SHIBATA)

03/27/2022

11:10 PM Bug #18665: Tutorial Link for Optionparser is still broken
https://docs.ruby-lang.org/en/3.1/OptionParser.html
Points the tutorial link to: https://docs.ruby-lang.org/en/3...
apatniv (Vivek Ak)
03:17 PM Bug #18665 (Closed): Tutorial Link for Optionparser is still broken
Previous issue that was filed:
https://bugs.ruby-lang.org/issues/18468
apatniv (Vivek Ak)
07:45 PM Revision 63f6dce0 (git): * 2022-03-28 [ci skip]
git[bot]
07:45 PM Revision d52cf101 (git): [DOC] Enhanced RDoc for String (#5724)
Treats:
#scan
#hex
#oct
#crypt
#ord
#sum
burdettelamar (Burdette Lamar)
10:34 AM Revision ca85f16a (git): ext/psych/extconf.rb: Fail when libyaml is unavailable
WHen libyaml is not installed, make fails with the following cryptic
message:
```
gmake[2]: Entering directory '/hom...
mame (Yusuke Endoh)
08:58 AM Bug #18664: Segmentation fault with Ruby 3.1.1 in Rails 7.0.2.3
Thank you.
I confirmed that it seems not to be reproduced on ruby 3.2.0dev (2022-03-27 master 956e57f7f3) [x86_64-li...
Anonymous
02:24 AM Revision 1b0f0516 (git): [DOC] Fix references to unary operator
nobu (Nobuyoshi Nakada)

03/26/2022

08:36 PM Bug #17489 (Closed): Ractor segfaults
kirs (Kir Shatrov) wrote in #note-8:
>
> I wish I knew how to close this ticket. Not sure I have permissions to do...
wanabe (_ wanabe)
09:50 AM Bug #17489: Ractor segfaults
wanabe (_ wanabe) wrote in #note-6:
> It seems be a autoload on non-main Ractor problem [Bug #18120].
> This operat...
kirs (Kir Shatrov)
07:05 PM Bug #18664 (Feedback): Segmentation fault with Ruby 3.1.1 in Rails 7.0.2.3
peterzhu2118 (Peter Zhu)
07:04 PM Bug #18664: Segmentation fault with Ruby 3.1.1 in Rails 7.0.2.3
Thank you for the bug report. Looking at the backtrace, this looks like the same issue as #18627, which has been fixe... peterzhu2118 (Peter Zhu)
01:45 PM Bug #18664 (Closed): Segmentation fault with Ruby 3.1.1 in Rails 7.0.2.3
https://github.com/tabuchi0919/rails-segfault
This is code to reproduce.
I'm sorry that sample app is not simple an...
Anonymous
05:43 PM Revision 956e57f7 (git): * 2022-03-27 [ci skip]
git[bot]
05:42 PM Revision e699e2d9 (git): Enhanced RDoc for String (#5723)
Treats:
#lstrip
#lstrip!
#rstrip
#rstrip!
#strip
#strip!
Adds section Whitespace in Strings.
burdettelamar (Burdette Lamar)
12:13 PM Revision 300f4677 (git): [DOC] Use simple references to operator methods
Method references is not only able to be marked up as code, also
reflects `--show-hash` option.
The bug that prevente...
nobu (Nobuyoshi Nakada)
02:26 AM Bug #18294: error when parsing regexp comment
I've submitted a pull request to fix this: https://github.com/ruby/ruby/pull/5721
The basic approach is skip the p...
jeremyevans0 (Jeremy Evans)

03/25/2022

10:49 PM Revision 4acc757d (git): [ruby/psych] Added condition for macOS homebrew
https://github.com/ruby/psych/commit/a876de5a82
Co-authored-by: David Rodríguez <[email protected]>
hsbt (Hiroshi SHIBATA)
10:29 PM Bug #18663: Autoload doesn't work with fiber context switch.
@ioquatix hmmm, let me explain.
The feature in development for a web application is reloading. Ordinary gems using...
fxn (Xavier Noria)
09:12 PM Bug #18663: Autoload doesn't work with fiber context switch.
@fxn If I understand correctly, autoload is mostly a feature of a development environment, so if we made this a littl... ioquatix (Samuel Williams)
09:10 PM Bug #18663: Autoload doesn't work with fiber context switch.
Autoload uses a spin lock:
```c
static VALUE
autoload_sleep(VALUE arg)
{
struct autoload_state *state = (s...
ioquatix (Samuel Williams)
09:01 PM Bug #18663: Autoload doesn't work with fiber context switch.
```c
/* always on stack, no need to mark */
struct autoload_state {
struct autoload_const *ac;
VALUE resu...
ioquatix (Samuel Williams)
08:39 PM Bug #18663: Autoload doesn't work with fiber context switch.
Pure fiber repro.
```ruby
#!/usr/bin/env ruby
require 'tempfile'
Tempfile.create(['foo', '.rb']) do |file|
...
ioquatix (Samuel Williams)
08:12 PM Bug #18663 (Closed): Autoload doesn't work with fiber context switch.
As discussed most recently here: https://github.com/ruby/debug/issues/580
The following program appears to work:
...
ioquatix (Samuel Williams)
09:33 PM Revision f79765ab (git): Update NEWS for {Kernel,TracePoint}#binding change
jeremyevans (Jeremy Evans)
08:43 PM Revision 7f93b7dc (git): [DOC] Fix formatting for What's Here in IO (#5719)
* Fix formatting for What's Here in IO
* Repair formatting in What's Heres in numeric.c
* Fix formatting for What's...
burdettelamar (Burdette Lamar)
08:17 PM Misc #18662: Fiber scheduling and Module#autoload
https://bugs.ruby-lang.org/issues/18663 is the same, human race condition :D. We could close one of the two, at your ... fxn (Xavier Noria)
07:50 PM Misc #18662 (Closed): Fiber scheduling and Module#autoload
Looks like Fiber context-switching does not synchronize constant reference access. This script using the `async` gem ... fxn (Xavier Noria)
06:48 PM Revision 1a002d9a (git): Fix formatting errors in What's Here for Array, Hash, ENV (#5718)
burdettelamar (Burdette Lamar)
06:14 PM Bug #18658: Need openssl 3 support for Ubuntu 22.04 (Ruby 2.7.x and 3.0.x)
https://src.fedoraproject.org/rpms/ruby/c/2da7a540e7714777b93c430b4f252838b555b703
https://gitlab.com/redhat/centos-...
vo.x (Vit Ondruch)
11:00 AM Bug #18658: Need openssl 3 support for Ubuntu 22.04 (Ruby 2.7.x and 3.0.x)
This would be particularly useful given it's often impossible to get an older openssl version on a system
(and if on...
Eregon (Benoit Daloze)
05:16 PM Revision d0b7df81 (git): Fix formatting of What's Here for File (#5717)
burdettelamar (Burdette Lamar)
03:52 PM Revision 52793c00 (git): * 2022-03-26 [ci skip]
git[bot]
03:52 PM Revision f918f6e4 (git): [DOC] Repair format and links in What's Here sections (#5711)
* Repair format and links in What's Here for Comparable and Array
* Repair format for What's Here in enum.c
burdettelamar (Burdette Lamar)
03:17 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
Ah, now I found this commit:git|bac6e8ca5d8f6bc45984d12ddad55d3d876d4324, so it used to be the case. I'll try to take... vo.x (Vit Ondruch)
12:09 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
This is even more tricky then I initially thought, at least in the RPM context. The issue that RPM assumes there is "... vo.x (Vit Ondruch)
01:57 PM Bug #18661 (Open): Net::HTTP behavior changed between 2.6 and 3.1 on windows.
We are upgrading a rails application from Ruby 2.6 to Ruby 3.1 on Windows.
Running rails systems tests hang on Rub...
jleblanc (Joshua LeBlanc)
12:43 PM Feature #18660 (Closed): Line event flags on instruction in method/block signature
Ruby in question is 3.0.3. Not sure what behavior is on different versions, but presume the same.
It's unclear why...
hurricup (Alexandr Evstigneev)
11:30 AM Feature #18589 (Closed): Finer-grained constant invalidation
Applied in changeset commit:git|69967ee64eac9ce65b83533a566d69d12a6046d0.
----------
Revert "Finer-grained inline co...
nobu (Nobuyoshi Nakada)
11:29 AM Bug #17489: Ractor segfaults
It seems be a autoload on non-main Ractor problem [Bug #18120].
This operation is prohibited after https://bugs.ruby...
wanabe (_ wanabe)
11:29 AM Revision 69967ee6 (git): Revert "Finer-grained inline constant cache invalidation"
This reverts commits for [Feature #18589]:
* 8008fb7352abc6fba433b99bf20763cf0d4adb38
"Update formatting per feedba...
nobu (Nobuyoshi Nakada)
11:27 AM Revision 7ee26740 (git): [ruby/readline-ext] Removed the duplicated dependencies
https://github.com/ruby/readline-ext/commit/324d324427 hsbt (Hiroshi SHIBATA)
10:55 AM Feature #18659: Create a Binding at the time of an exception and make it available to Rescue
This would be a huge overhead, so I don't think it's a good idea.
If you need this data, you could just pass it down...
Eregon (Benoit Daloze)
02:02 AM Feature #18659 (Open): Create a Binding at the time of an exception and make it available to Rescue
When an exception occurs, create a binding or I assume make a reference to the current binding and then add that to ... pedz (Perry Smith)
08:00 AM Bug #17382 (Closed): Segfault in String#inspect
Thank you for confirming.
This is not reproduced in 3.0 or later, and it would be better to close this issue, leavin...
wanabe (_ wanabe)
06:36 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
duerst (Martin Dürst) wrote in #note-9:
> - The best time to introduce the gem would be once the 3.1 release branc...
duerst (Martin Dürst)
12:53 AM Revision 033d9796 (git): Disabled cross compile for unknown errors with psych build
hsbt (Hiroshi SHIBATA)
12:53 AM Revision 0292a34c (git): Removed libyaml object files from depends
hsbt (Hiroshi SHIBATA)
12:53 AM Revision bfdceab3 (git): Try to remove yaml sources from depend
hsbt (Hiroshi SHIBATA)
12:53 AM Revision 829754b3 (git): Added libyaml-dev into BASERUBY check
hsbt (Hiroshi SHIBATA)
12:53 AM Revision 8e3fbf94 (git): Merge psych master: Removed the bundled libyaml
hsbt (Hiroshi SHIBATA)
12:40 AM Revision 465edb96 (git): [DOC] Enhanced RDoc for String (#5707)
Treated:
#chomp
#chomp!
#chop
#chop!
burdettelamar (Burdette Lamar)

03/24/2022

09:25 PM Misc #18652: DevMeeting-2022-04-21
* [Feature #18642] Named ripper fields (kddnewton)
* This commit adds a new subclass for ripper that functions simi...
kddnewton (Kevin Newton)
09:23 PM Misc #18652: DevMeeting-2022-04-21
* [Feature #18654] Enhancements to prettyprint (kddnewton)
* PrettyPrint currently immediately pushes content onto...
kddnewton (Kevin Newton)
08:27 PM Bug #18631: Range check breaks multiplex backreferences in regular expressions
I don't know much about this code, but the approach described does fix the issue. I submitted a pull request for it:... jeremyevans0 (Jeremy Evans)
08:27 PM Bug #18658 (Rejected): Need openssl 3 support for Ubuntu 22.04 (Ruby 2.7.x and 3.0.x)
Ubuntu 22.04 is being released soon and ships with openssl 3. As of now Ruby 2.7.x and 3.0.x are under core support a... schneems (Richard Schneeman)
08:24 PM Bug #18657: IRB raises exception when stdout is a pipe
Can you please submit this as a pull request upstream?: https://github.com/ruby/irb/pulls jeremyevans0 (Jeremy Evans)
08:23 PM Bug #18657 (Closed): IRB raises exception when stdout is a pipe
When piping stdout to another process IRB fails:
```
lib/ruby/3.0.0/irb/input-method.rb:42:in `winsize': Inapprop...
pjones (Peter Jones)
07:32 PM Bug #18484 (Rejected): Fiber should return it self when blocked by IO
jeremyevans0 (Jeremy Evans)
07:32 PM Bug #18487 (Closed): Kernel#binding behaves differently depending on implementation language of items on the stack
Applied in changeset commit:git|343ea9967e4a6b279eed6bd8e81ad0bdc747f254.
----------
Raise RuntimeError if Kernel#bi...
jeremyevans (Jeremy Evans)
07:31 PM Revision 343ea996 (git): Raise RuntimeError if Kernel#binding is called from a non-Ruby frame
Check whether the current or previous frame is a Ruby frame in
call_trace_func before attempting to create a binding ...
jeremyevans (Jeremy Evans)
07:11 PM Bug #18628: Link contributing is broken
The underlying problem here is that CONTRIBUTING.md is assuming the use of the RDoc `--page-dir` option, and neither ... jeremyevans0 (Jeremy Evans)
04:14 PM Revision 33b13bd9 (git): * 2022-03-25 [ci skip]
git[bot]
04:14 PM Revision 8008fb73 (git): Update formatting per feedback
Co-authored-by: Nobuyoshi Nakada <[email protected]> kddnewton (Kevin Newton)
04:14 PM Revision 8f6eaca2 (git): Delete ID from constant cache table if it becomes empty on ISEQ free
Co-authored-by: John Hawthorn <[email protected]> kddnewton (Kevin Newton)
04:14 PM Revision 62990858 (git): Finer-grained inline constant cache invalidation
Current behavior - caches depend on a global counter. All constant mutations cause caches to be invalidated.
```ruby...
kddnewton (Kevin Newton)
04:10 PM Bug #18656 (Rejected): Documentation of Comparable Module: clamp method not mentioned in introduction
It's mentioned in the "What's Here" section: https://ruby-doc.org/core-3.1.1/Comparable.html#module-Comparable-label-... jeremyevans0 (Jeremy Evans)
02:54 PM Feature #18179: Add Math methods to Numeric
Out of all Math methods:
```
acos, acosh, asin, asinh, atan, atan2, atanh, cbrt, cos, cosh, erf,
erfc, exp, fr...
Eregon (Benoit Daloze)
07:13 AM Feature #18179: Add Math methods to Numeric
For the Complex Problem, maybe add an optional parameter like `:raise_on_complex` or something so when you try:
`(...
Hanmac (Hans Mackowiak)
04:44 AM Feature #18179: Add Math methods to Numeric
mrkn (Kenta Murata) wrote in #note-2:
> I'm negative to this proposal. I don't think `Math.sqrt` is the behavior or...
duerst (Martin Dürst)
02:03 PM Revision 5f10bd63 (git): Add ISEQ_BODY macro
Use ISEQ_BODY macro to get the rb_iseq_constant_body of the ISeq. Using
this macro will make it easier for us to chan...
peterzhu2118 (Peter Zhu)
12:39 PM Revision 04591e1b (git): Update default gems list at 4c4a1e2035e08a627e71efd41d6654 [ci skip]
git[bot]
12:38 PM Revision 4c4a1e20 (git): [ruby/ostruct] v0.5.4
https://github.com/ruby/ostruct/commit/fe19de4644 Marc-Andre Lafortune
12:37 PM Revision ad575416 (git): [ruby/ostruct] Avoid aliasing `block_given?` for JRuby [Fixes #40]
https://github.com/ruby/ostruct/commit/14d04ff694 Marc-Andre Lafortune
11:39 AM Revision 137e69b4 (git): Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actio...
dependabot[bot]
11:38 AM Revision 9deacb31 (git): Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cac...
dependabot[bot]
11:31 AM Revision 2ec82dd3 (git): Added dependabot configuration for actions dependencies
hsbt (Hiroshi SHIBATA)
11:22 AM Revision 39606a77 (git): [rubygems/rubygems] Maybe this is now fixed
https://github.com/rubygems/rubygems/commit/d9c442e54c deivid (David Rodríguez)
10:08 AM Revision e6c1db1d (git): [DOC] Refine flip-flop
nobu (Nobuyoshi Nakada)
04:23 AM Revision 8dc357fa (git): Add Yuta Saito (katei) as the platform maintainer of WebAssembly/WASI
mame (Yusuke Endoh)
04:16 AM Revision 1bb9e42f (git): extlibs.rb: Add fallback `Colorize`
To get rid of an unnecessary dependency for the case using
in other repositories.
nobu (Nobuyoshi Nakada)
04:16 AM Revision 9ed6875f (git): extlibs.rb: Enclose `Vars` in `ExtLibs` class
To get rid of an unnecessary top-level constant for the case using
as a library.
nobu (Nobuyoshi Nakada)
04:16 AM Revision 247f8ecf (git): extlibs.rb: Extract ExtLibs#process
For the case using this script as a library.
- `ExtLibs#process` reads and processes an extlibs file.
- `ExtLibs#proc...
nobu (Nobuyoshi Nakada)
03:05 AM Feature #18462: Proposal to merge WASI based WebAssembly support
Just for record: https://github.com/ruby/ruby/pull/5702 mame (Yusuke Endoh)
12:48 AM Bug #14103 (Closed): Regexp absense operator has no chance to ^C
Fixed at 9112cf4ae7f7ea8ab33c282aa02eec812421aeab. mame (Yusuke Endoh)
12:47 AM Revision 9112cf4a (git): regint.h: Reduce the frequency of rb_thread_check_ints
edc8576a65b7082597d45a694434261ec3ac0d9e checks interrupt at every
backtrack, which brought significant overhead.
Th...
mame (Yusuke Endoh)
12:21 AM Bug #17382: Segfault in String#inspect
@palkan thank you for the reproducer. That hepls us a lot.
Also thank you @wanabe. I'm :+1: for the "alternative...
shyouhei (Shyouhei Urabe)

03/23/2022

11:59 PM Revision 1357b147 (git): Now all extension libraries must consider the ABI header
nobu (Nobuyoshi Nakada)
11:34 PM Revision cccfd653 (git): [DOC] Remove mis-synced bundler directory
nobu (Nobuyoshi Nakada)
10:34 PM Revision d9dd88a6 (git): [rubygems/rubygems] Avoid crash in test teardown
If an exception happens during test `setup` method, the `teardown`
method will still be run for cleaning up, but if s...
deivid (David Rodríguez)
10:29 PM Bug #18511 (Closed): ruby in infinite loop consuming 100% CPU
jeremyevans0 (Jeremy Evans)
09:34 PM Bug #18553: Memory leak on compiling method call with kwargs
I did some testing and can confirm this is still a bug in the master branch. From my testing, this isn't related to ... jeremyevans0 (Jeremy Evans)
09:16 PM Bug #18656 (Rejected): Documentation of Comparable Module: clamp method not mentioned in introduction
From the comparable docs ( https://ruby-doc.org/core-3.1.1/Comparable.html ): "Comparable uses <=> to implement the c... steenslag (siep korteling)
08:32 PM Revision 8b05b5a0 (git): * 2022-03-24 [ci skip]
git[bot]
08:32 PM Revision 13481c1e (git): [rubygems/rubygems] Improve RDoc setup
Completely exclude the full bundler folder. The actual Bundler docs are
excluded anyways by ruby-core (by bundler/lib...
deivid (David Rodríguez)
05:07 PM Bug #14103 (Open): Regexp absense operator has no chance to ^C
This change degrades the performance of regular expression matching when frequent backtracking occurs.
Before edc8...
mame (Yusuke Endoh)
02:56 PM Bug #18635 (Closed): Enumerable#inject without block/symbol will return values or raise LocalJumpError
Applied in changeset commit:git|8f1c69f27ce6b3f5ed1c1cf8d2aa62aa9701d636.
----------
Raise ArgumentError when callin...
jeremyevans (Jeremy Evans)
02:41 PM Bug #18635: Enumerable#inject without block/symbol will return values or raise LocalJumpError
I think either is fine.
I think some methods raise LocalJumpError early, even if they didn't try to use the block ye...
Eregon (Benoit Daloze)
02:55 PM Revision 8f1c69f2 (git): Raise ArgumentError when calling Enumberable#inject without block or arguments
Previously, this would work as expected if the enumerable contained
0 or 1 element, and would raise LocalJumpError ot...
jeremyevans (Jeremy Evans)
02:38 PM Feature #17837: Add support for Regexp timeouts
mame (Yusuke Endoh) wrote in #note-40:
> @naruse conceived the idea. TBH, I am unsure if it will work well.
@naru...
Eregon (Benoit Daloze)
12:21 AM Feature #17837: Add support for Regexp timeouts
Eregon (Benoit Daloze) wrote in #note-38:
> I think it's not a good idea to have Regexp::TimeoutError < Timeout::Err...
mame (Yusuke Endoh)
02:31 PM Revision d32fa986 (git): [rubygems/rubygems] Make `rescue` clause more specific
This is hiding a real bundler issue as a "network error". It's more
helpful to get a proper bug report, with stack tr...
deivid (David Rodríguez)
01:47 PM Feature #18566 (Closed): Merge `io-wait` and `io-nonblock` gems into core IO
Closing in favor of [Feature #18655], since `wait_readable` and `wait_writable` are really the two method I personall... byroot (Jean Boussier)
01:45 PM Feature #18655 (Closed): Copy `IO#wait_readable`, `IO#wait_writable`, `IO#wait_priority` and `IO#wait` into core.
Extracted from [Feature #18566].
The decision was made to consider the methods from `io-wait` and `io-nonblock` on...
byroot (Jean Boussier)
01:17 PM Bug #18651: oob access in CP51932 -> CP50220 transcoder
As this converter seems to convert JIS0201 to JIS0208 as possible, this part would be intentional.
nobu (Nobuyoshi Nakada)
10:52 AM Bug #18651: oob access in CP51932 -> CP50220 transcoder
Accessing outside the table is definitely a bug.
Before that, SS2+0xA1 which should be JIS0201 is converted to JIS02...
nobu (Nobuyoshi Nakada)
06:42 AM Feature #18653: Use RE2 for Regexp
duerst (Martin Dürst) wrote in #note-3:
> Aren't there still regular expressions that RE2 can't handle but that may ...
mame (Yusuke Endoh)
02:56 AM Feature #18653: Use RE2 for Regexp
mame (Yusuke Endoh) wrote in #note-2:
> My original motivation was a security measure against ReDoS. If RE2 worked...
duerst (Martin Dürst)
02:47 AM Feature #18653: Use RE2 for Regexp
vo.x (Vit Ondruch) wrote in #note-1:
> Could you please elaborate what was the motivation for this experiment?
My...
mame (Yusuke Endoh)
12:37 AM Bug #18649: Enumerable#first breaks out of the incorect block when across threads
Looks like this bug started in Ruby 2.2:
```
$ ruby21 -v t/t55.rb
ruby 2.1.9p490 (2016-03-30 revision 54437) [x8...
jeremyevans0 (Jeremy Evans)
12:25 AM Bug #18641: UTF-16 surrogate pairs
noraj (Alexandre ZANNI) wrote in #note-3:
> As far as I understand, it's not possible to have a native UTF-16 stri...
duerst (Martin Dürst)
 

Also available in: Atom