Activity
From 04/17/2022 to 04/23/2022
04/23/2022
-
07:26 PM Feature #18685: Enumerator.product: Cartesian product of enumerables
- It might also be nice to require at least one `enum` argument, since `Enumerator.product #=> [nil]` seems a bit odd. ...
-
04:19 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- I changed the backport status of #18394 for Ruby 3.0 since it doesn't look like the patch was correctly applied.
-
04:18 PM Bug #18394: Backports for read barrier for GC compaction for Ruby 3.0
- Changing the backport status of Ruby 3.0 to "REQUIRED" again because it doesn't look like the attached patched was ap...
-
01:58 PM Bug #18752 (Rejected): defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
- Expected behavior as Chris said.
-
01:34 PM Bug #18752: defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
- I've proposed some new specs to clarify something you might be confused about.
> The defined? keyword when called ... -
01:08 PM Bug #18752: defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
- Seems as expected to me.
> The defined? keyword when called with a method name having a module as receiver returns... -
01:03 PM Bug #18752 (Rejected): defined? String.instance_method(:abcdefg) will return a "method" string instead nil.
- Please check following IRB example which can be reproduce on ruby 3.1.0
```rb
3.1.0 :012 > defined? String.instan... -
01:09 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- Actually in the simpler example from #6 we have the same inconsistency:
```
p m.super_method #=> UnboundMe... -
11:34 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- On the PR, there is a discussion what should be the return value of `super_method` for a more complex example:
```ru... -
12:58 PM Bug #18731: Parallel test-all sometimes does not run at all some tests
- Thank you.
I think we should also fix the underlying issue of the parallel runner though.
This is otherwise bound... -
11:39 AM Bug #18751 (Closed): Regression on master for Method#== when comparing public with private method
- This script repros:
```ruby
class C
class << self
alias_method :n, :new
private :new
end
end
p ... -
02:59 AM Revision e142bea7 (git): Remove unnecessary sort
- Because `Dir.[]` returns the sorted results since Ruby 3.0.
04/22/2022
-
10:00 PM Revision ab3cb29b (git): Avoid defining the same test class in multiple files
- Should fix issues with parallel testing sometimes not running all
tests.
This should be viewed skipping whitespace c... -
09:29 PM Bug #18731: Parallel test-all sometimes does not run at all some tests
- I submitted a pull request to make it so the same test class is not used in multiple files, for the classes identifie...
-
09:26 PM Revision c2d38a0d (git): Fix build if UBF_TIMER == UBF_TIMER_PTHREAD
-
08:21 PM Revision 79fa27ac (git): rbinstall: Also do `Gem.ruby` patching for unpacked bundled gems
- Pointing `Gem.ruby` to the newly installed ruby gives mkmf the right
inputs to build extensions in bundled gems. Prev... -
06:23 PM Bug #18681 (Closed): crashes when built with AddressSanitizer (clang build)
-
06:18 PM Bug #18737: Windows 'require' is case independent
- I'm fairly sure this is expected behavior when Ruby is used on a case insensitive file system. However, it would be g...
-
06:14 PM Bug #18741 (Rejected): Slicing an Array using index out of range inconsistent return type
-
06:08 PM Revision 03d21a4f (git): introduce struct `rb_native_thread`
- `rb_thread_t` contained `native_thread_data_t` to represent
thread implementation dependent data. This patch separate... -
04:11 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- mame (Yusuke Endoh) wrote in #note-6:
> @ko1 proposed the following, and @matz approved this at the dev meeting.
> ... -
09:56 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- That sounds good, I think it is exactly what I proposed but with more details.
Agreed `source_location` shouldn't ch... -
02:36 AM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- @ko1 proposed the following, and @matz approved this at the dev meeting.
```
class A
private def foo
end
e... - 03:50 PM Revision 69d41480 (git): * 2022-04-23 [ci skip]
-
03:50 PM Revision 702dc116 (git): refactoring thread inits in vm.c
- * `th_init` accepts vm and ractor.
* remove `ruby_thread_init` because it is duplicated with `th_init`.
* add some co... -
02:34 PM Feature #18683: Allow to create hashes with a specific capacity.
- I've prepared a patch for the C-API since it's already accepted: https://github.com/ruby/ruby/pull/5835
I've also ... -
01:23 PM Bug #18649 (Closed): Enumerable#first breaks out of the incorect block when across threads
- Applied in changeset commit:git|4b14b2902abaa0e8f0d1e8282d2322f47431fa3f.
----------
Uncomment code to raise LocalJu... -
11:26 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- Exactly :).
Backwards compatibility, adding a flag, a new method, etc., is something for core to consider. But in ... -
11:06 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- @fxn A good point, it applies both to module and classes, it seems `mod::Name` always ignores constants of Object, wh...
-
10:38 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- @Eregon in your proposal
```ruby
Module.new.const_get(:String)
```
raises.
Would
```ruby
Class.new.co... -
09:46 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- The fix of that would be to use `Object.const_get parent_name` instead of `const_get parent_name`, or to use `const_g...
-
02:08 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- FYI: Here is an example that will be affected by the proposed change
https://github.com/googleapis/google-cloud-ru... -
07:50 AM Bug #18750 (Feedback): Segmentation fault on SIGINT when waiting in TracePoint handler
- Affected rubies: 3.0, 3.1
Currently I'm working on migrating JetBrains debugger to the targeted TracePoint API and... -
06:38 AM Bug #18745 (Closed): build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
- Thank you for confirmation. Closing.
> But ruby 3.1.2 still compiled fail on apple mini m1 (arm64 apple silicon),
... -
12:44 AM Bug #18745: build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
- ruby 3.1.2 still compiled fail on apple mini m1 (arm64 apple silicon)
```ruby
arm64-darwin21-fake.rb updated
...-
12:41 AM Bug #18745: build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
- mame (Yusuke Endoh) wrote in #note-4:
> Perhaps this is the same issue as #18019. Please upgrade binutils and give i... -
05:55 AM Feature #18749 (Rejected): Strangeness of endless inclusive ranges
- I came to think about this while looking at the pull request linked in #18748.
Currently, an endless inclusive ran... -
03:48 AM Revision 4b14b290 (git): Uncomment code to raise LocalJumpError for yield across thread through enum
- Not sure if this is the correct fix. It does raise LocalJumpError in
the yielding thread as you would expect, but th... -
03:46 AM Bug #18748 (Closed): Range#cover? returns true for beginless range of different type
- While adding documentation to address #18155, I found a bug:
```ruby
(2..).cover?("2"..) # => false
(..2).cover?... -
03:11 AM Revision 3fa768c5 (git): Use https for wss test
-
03:00 AM Revision eab354e1 (git): [ruby/uri] Include RFC2396_REGEXP module directly
- REGEXP is defined as RFC2396_REGEXP in lib/uri/common.rb. If we include
REGEXP then a broken URL is generated in rdoc... -
02:59 AM Revision c94f964e (git): [ruby/uri] Feat: Support WSS
- There was a file for WSS so I added one line of `require_relative`
to make it work.
Now `URI.parse('wss://example.com... -
02:05 AM Bug #18629 (Closed): block args array splatting assigns to higher scope _ var
-
02:05 AM Bug #18629: block args array splatting assigns to higher scope _ var
- This ticket was discussed at the dev meeting, and @matz said it should be fixed. @nobu has already committed a fix 3d...
-
01:51 AM Feature #18642: Named ripper fields
- We discussed this ticket at the dev meeting, but no conclusion has been reached. Here is a list of comments:
* It ... -
01:41 AM Bug #18628 (Third Party's Issue): Link contributing is broken
- At the April 2022 dev meeting, it was decided to keep the use of `--page-dir` in Ruby. docs.ruby-lang.org has been f...
-
01:23 AM Misc #18747 (Closed): DevMeeting-2022-05-19
- # The next dev meeting
**Date: 2022/05/19 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeting-log/blob/m... -
01:23 AM Misc #18652 (Closed): DevMeeting-2022-04-21
04/21/2022
- 10:54 PM Revision d1b9609c (git): * 2022-04-22 [ci skip]
-
10:54 PM Revision 1c4fc024 (git): rename thread internal naming
- Now GVL is not process *Global* so this patch try to use
another words.
* `rb_global_vm_lock_t` -> `struct rb_thread... -
07:24 PM Feature #18683: Allow to create hashes with a specific capacity.
- Dan0042 (Daniel DeLorme) wrote in #note-11:
> What was the point of "real keyword arguments" if we can't even start ... -
06:50 PM Feature #18683: Allow to create hashes with a specific capacity.
- mame (Yusuke Endoh) wrote in #note-6:
> My preference of its API style is `Hash.new(capacity: 100000)`. Can we first... -
10:31 AM Feature #18683: Allow to create hashes with a specific capacity.
- I also thought about `Array#to_h`, but in cases such as deserialization like above there is no Array and the extra al...
-
07:37 AM Feature #18683: Allow to create hashes with a specific capacity.
- The problem with `Array#to_h`, is that it require an array of pairs `[[k, v], [k, v]]`. So what you'll get by right s...
-
07:34 AM Feature #18683: Allow to create hashes with a specific capacity.
- in dev-meeting,
* exposing C-API is okay (`rb_hash_new_capa()`)`.
* Matz: `Hash.new(capcacity:)` is not acceptab... -
07:04 AM Feature #18683: Allow to create hashes with a specific capacity.
- Maybe you could add it as the second argument, making the default argument mandatory when specifying a capacity: `Has...
-
03:06 AM Feature #18683: Allow to create hashes with a specific capacity.
- I confirmed the proposed API actually brings performance improvements at least in a micro benchmark.
```
$ time .... -
01:55 AM Feature #18683: Allow to create hashes with a specific capacity.
- * +1 to export C-API with good name.
* idea: Make another API `Hash.create` with kwargs? -
04:45 PM Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
- I use the term `default extension gems` for default gems with an extension (i.e., not pure-Ruby).
Expanding on https:... -
03:30 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- I you want to check only in the receiver, that is `mod.const_get(cname, false)` already.
If you want to check from... -
03:22 PM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- matz (Yukihiro Matsumoto) wrote in #note-12:
> For the sake of consistency, it is nice to start searching from the r... -
06:53 AM Bug #18622: const_get still looks in Object, while lexical constant lookup no longer does
- For the sake of consistency, it is nice to start searching from the receiver class/module. I really like to fix the b...
-
12:35 PM Misc #18691: An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
- > But I couldn't find the log for ext/debug/debug.c in make_install.log.
After changing like this, I could see the... -
12:26 PM Misc #18691: An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
- > How can I check it, logging those ext/openssl/openssl_missing.c and ext/debug/debug.c?
Ah sorry I could find the... -
10:40 AM Misc #18691 (Feedback): An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
- I want to confirm that stdlibs such as "ruby/openssl" (`ext/openssl`) and bundled gems with native extension such as ...
-
08:53 AM Misc #18691 (Closed): An option to build Ruby with build only flags not propagated to `rbconfig.rb`.
- Thanks for the info. I confirmed that the way you suggested works filling things that I want to do.
```
$ ./autog... -
10:40 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
- And between writing `Enumerator.product` in Ruby or C I'd prefer a lot in Ruby because it's a million times more read...
-
10:37 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
- My performance concern was not about Ruby vs C, writing in C would have the same issues.
What I'm saying is this:
... -
08:04 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
- Thanks. Performance monsters can also special-case arrays and ranges and omit calls to each_entry to boost performan...
-
07:59 AM Feature #18685: Enumerator.product: Cartesian product of enumerables
- Looping class method is an unusual pattern in Enumerable. So I first hesitated, but actually it's the only way to go ...
-
10:02 AM Feature #18668: Merge `io-nonblock` gems into core
- Also I don't see why we need so much investigation into the details of io/nonblock and io/wait.
Those were always std... -
09:52 AM Feature #18668: Merge `io-nonblock` gems into core
- @ko1 showed us the output on Windows:
```
require 'io/nonblock'
require 'socket'
# p STDOUT.nonblock?
p s = Socket.t... -
09:43 AM Feature #18668: Merge `io-nonblock` gems into core
- nobu (Nobuyoshi Nakada) wrote in #note-17:
> TIL, `IO#nonblock?` doesn't work on Windows.
> So I'm positive for the... -
09:23 AM Feature #18668: Merge `io-nonblock` gems into core
- TIL, `IO#nonblock?` doesn't work on Windows.
So I'm positive for the deprecation now. -
09:17 AM Feature #18668: Merge `io-nonblock` gems into core
- I don't think the current design of io/nonblock is misleading. I would think the majority of people knowing about its...
-
05:24 AM Feature #18668: Merge `io-nonblock` gems into core
- As @mame described in #note-9, the design of io-nonblock is misleading. I'd rather like to make the gem deprecate.
... -
09:45 AM Bug #18746 (Closed): /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_keys|gc_compact_stats)/ fails on PPC
- Closing this to trigger backport. Either the https://github.com/ruby/ruby/pull/4227 or the patch from #18394 should b...
-
07:58 AM Bug #18746: /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_keys|gc_compact_stats)/ fails on PPC
- I think this is related to #18133 and #18394
-
09:36 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- Looks like I didn't reply to:
> Basically, do we want users to write:
Yes, I think it's fine because it's very ... -
09:20 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
- In relation to #18668, this proposal needs IO#nonblock= and IO#nonblock? because IO#timeout= only applies to IO#nonbl...
- 08:10 AM Revision cb02324c (git): [ruby/pathname] Implement Pathname#lutime
- https://github.com/ruby/pathname/commit/268cb5acff
-
07:47 AM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- @peterzhu2118 I wonder what is the status here. I think you have requested backport of the mmap patch in #18394. Howe...
-
07:04 AM Revision 3ddf6ad4 (git): Private local variables should shadow outer variables [Bug #18629]
-
07:02 AM Bug #18649: Enumerable#first breaks out of the incorect block when across threads
- There is no way to tell whether the underlying `each` method is broken or exited gently.
I think that your PR would ... -
06:36 AM Bug #18155 (Closed): (nil..nil).cover?(x) is true for all x since beginless ranges were introduced
- We consider `nil .. nil` as a begin-less end-less range, so that we keep the current (post 2.7) behavior.
Probably w... -
06:14 AM Revision ee48c9cd (git): [Win32] allow pipe in flock
- 06:05 AM Revision b4f87ff8 (git): * 2022-04-21 [ci skip]
-
05:59 AM Revision dcc42d46 (git): [Doc] correct my understanding about nonblocking mode
- I was wrong. Nonblocking mode nowadays does not interface with
IO#read. Document updated. [ci skip]
04/20/2022
-
07:44 PM Feature #18683: Allow to create hashes with a specific capacity.
- shan (Shannon Skipper) wrote in #note-3:
> Another option would be `Hash.new { capacity }` like `to_enum { size }`.
... -
07:36 PM Feature #18683: Allow to create hashes with a specific capacity.
- Another option would be `Hash.new { capacity }` like `to_enum { size }`.
-
07:22 PM Feature #18668: Merge `io-nonblock` gems into core
- "Eregon (Benoit Daloze)" <[email protected]> wrote:
> Issue #18668 has been updated by Eregon (Benoit Daloze).
... -
07:12 PM Feature #18668: Merge `io-nonblock` gems into core
- "shyouhei (Shyouhei Urabe)" <[email protected]> wrote:
> I don't think this gem deserves a room into core. Are... -
10:48 AM Feature #18668: Merge `io-nonblock` gems into core
- mame (Yusuke Endoh) wrote in #note-11:
> Okay, can you show a self-contained program that demonstrates it?
```rub... -
01:27 AM Feature #18668: Merge `io-nonblock` gems into core
- Eregon (Benoit Daloze) wrote in #note-10:
> this is observable for instance with a Fiber scheduler.
Okay, can you... -
03:01 PM Bug #18746: /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_keys|gc_compact_stats)/ fails on PPC
- There will be probably more like this, e.g. `[ 8892/21298] TestGCCompact#test_compact_count<internal:gc>:213: [BUG] C...
-
01:47 PM Bug #18746 (Closed): /TestGCCompact#test_(ast_compacts|compact_count|complex_hash_keys|gc_compact_stats)/ fails on PPC
- With Ruby 3.0.4, I observe the following segfault, which was not the case for Ruby 3.0.2, neither this is issue for R...
-
08:31 AM Bug #18745 (Feedback): build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
- Perhaps this is the same issue as #18019. Please upgrade binutils and give it a retry.
-
08:10 AM Bug #18745: build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
- Also try
```
RUBYOPT="-rrubygems $RUBYOPT" ./configure rb_cv_symbol_prefix=_ --with-coroutine=ucontext --prefix="... -
08:04 AM Bug #18745: build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
- Use [ruby-build](https://github.com/rbenv/ruby-build/blob/d3bbd54d589150dcee3325ccbf8bf478f922e470/bin/ruby-build#L59...
-
08:01 AM Bug #18745 (Closed): build ruby3.0.4 fail on macOS 12.3.1 monterey fail (Apple silicon arm64)
- Use ruby-build to build ruby 3.0.4 on macOS12.3.1 monterey still fail.
Does miss sth to configure? Thanks.
**- ... -
07:05 AM Revision 4a4c1d69 (git): [CI] resort to clang-14 (#5824)
- * [CI] resort to clang-14
Clang 15 + --std=c2x combination seems actively developed now.
Might better wait for them ... -
06:57 AM Bug #18735 (Closed): The crash reporter need to be updated for Apple silicon
- Merged by @naruse at commit:fa2df520bcaaf3957db0489f1237311f091ac08d
-
06:44 AM Bug #14972 (Closed): Net::HTTP inconsistently raises EOFError when peer closes the connection
- Applied in changeset commit:git|90ccc5674affb64036ca86f566c8650f654fc0f6.
----------
[ruby/net-http] Add ignore_eof ... -
06:12 AM Bug #18744 (Third Party's Issue): I used Jazzy to generate the doc for my iOS library, but it showed me a bug
- See my comment: https://bugs.ruby-lang.org/issues/18744#note-3
-
06:06 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
- matz (Yukihiro Matsumoto) wrote in #note-2:
> It's too hard to determine the reason. It may be caused by a bug in Ru... -
06:05 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
- I had contacted with the developer from Jazzy , he told me it has no relationship with it...
-
06:03 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
- `-------------------------------------
Translated Report (Full Report Below)
Process: ruby [1365]
Path: /System/... -
02:56 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
- My psychic ability says that this is the same issue as #18496. You way want to check: https://github.com/realm/jazzy/...
-
02:27 AM Bug #18744 (Feedback): I used Jazzy to generate the doc for my iOS library, but it showed me a bug
- It's too hard to determine the reason. It may be caused by a bug in Ruby, or in Jazzy, or even in iOS. Show us the lo...
-
12:53 AM Bug #18744: I used Jazzy to generate the doc for my iOS library, but it showed me a bug
- I used the Mac M1 computer
-
12:52 AM Bug #18744 (Third Party's Issue): I used Jazzy to generate the doc for my iOS library, but it showed me a bug
- I used Jazzy to generate the document, but it crashed, the details as the log file
-
05:13 AM Revision c506ddac (git): Added assert_true and assert_false same as test-unit gem
- 04:01 AM Revision cf73cf59 (git): [ruby/net-http] Feature detect to make net/http usable with JRuby
- Handle missing session_new_cb= and do not call
session_cache_mode=, as JRuby SSL does not support
these methods.
htt... - 02:52 AM Revision fa2df520 (git): Enable C backtraces on Apple silicon (#5770)
- Co-authored-by: Jean Boussier <[email protected]>
-
02:04 AM Bug #18677: BigDecimal#power (**) returns FloatDomainError when passing an infinite parameter
- I made a patch at https://github.com/ruby/bigdecimal/pull/227.
Note that the last case `-1 ** BigDecimal::INFINITY... - 01:22 AM Revision d9482913 (git): * 2022-04-20 [ci skip]
-
01:22 AM Revision 90ccc567 (git): [ruby/net-http] Add ignore_eof access to HTTP and HTTPResponse
- The ignore_eof setting on HTTPResponse makes it so an EOFError is
raised when reading bodies with a defined Content-L...
04/19/2022
-
11:18 PM Feature #18742: Introduce a way to tell if a method invokes the `super` keyword
- You could walk the method Iseq like in this example script: https://github.com/ruby/ruby/pull/5809, and look for the ...
-
01:19 AM Feature #18742 (Rejected): Introduce a way to tell if a method invokes the `super` keyword
- In order to implement a "no clobber" checker as in #18618, I would like to have a way to check if a method calls `sup...
-
09:11 PM Feature #18654: Enhancements to prettyprint
- Yes, the majority of the code changes in the initial PR are about delaying output until flush is called.
To be cle... -
07:00 PM Misc #18652: DevMeeting-2022-04-21
- * [Bug #18729] Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private (eregon...
-
04:36 AM Misc #18652: DevMeeting-2022-04-21
- * [Feature #18685] Enumerator.product: Cartesian product of enumerables
-
06:30 PM Bug #18729: Method#owner and UnboundMethod#owner are incorrect after using Module#public/protected/private
- This RSpec test:
https://github.com/rspec/rspec-mocks/blob/1611752449b5beefa1939dd2a20beb0175d46110/spec/rspec/mocks/... -
05:24 PM Bug #18649: Enumerable#first breaks out of the incorect block when across threads
- nobu (Nobuyoshi Nakada) wrote in #note-3:
> jeremyevans0 (Jeremy Evans) wrote in #note-2:
> > With the block uncomm... -
09:46 AM Bug #18649: Enumerable#first breaks out of the incorect block when across threads
- jeremyevans0 (Jeremy Evans) wrote in #note-2:
> With the block uncommented, the yielding thread raises LocalJumpErro... -
03:53 PM Bug #18731: Parallel test-all sometimes does not run at all some tests
- > Ruby implementations except CRuby run MRI tests only when they have no choice
JRuby has run CRuby tests as part ... -
02:42 PM Bug #18743 (Closed): Enumerator#next / peek re-use each others stacktraces
- I encountered an odd behavior.
If I rescue the `StopIteration` exception from `peek` and call `next` afterwards: (... -
11:13 AM Feature #18668: Merge `io-nonblock` gems into core
- `IO#read` behaves *externally*/for the caller the same, i.e., it always "reads N bytes and block until it gets them (...
-
08:15 AM Feature #18668: Merge `io-nonblock` gems into core
- Can you explain what you expect `IO#nonblock=` to do?
`IO#nonblock=` is a low-level API to set `O_NONBLOCK` to the... -
07:07 AM Feature #18668: Merge `io-nonblock` gems into core
- > There are several methods like read and write which behave differently with nonblock=true. It doesn't make sense fo...
-
04:26 AM Feature #18668: Merge `io-nonblock` gems into core
- -1 because I think the name `IO#nonblock =` makes me `IO#read` (or other methods) becomes nonblocking.
-
09:05 AM Misc #18726: CI Error on c99 and c2x
- alanwu (Alan Wu) wrote in #note-8:
> I feel that C2X with
> pre-release versions of Clang is too much of a moving t... -
08:44 AM Feature #18618: no clobber def
- The fact that you want to raise an error suggests that you want this feature to take place during development, and no...
-
05:01 AM Revision fada4d24 (git): [DOC] adjust indent
-
04:32 AM Bug #18739 (Closed): Wrong mid-rule index
- Applied in changeset commit:git|08b6aacc1a14440e0f1644a05238559c6c585e38.
----------
Fix the wrong index of the prev... -
04:32 AM Bug #18680 (Closed): The documentation for File::Stat#ctime (for example) says: stat.ctime -> aTime
- Applied in changeset commit:git|b0666d64176457786c854c12c79f7beae392bee0.
----------
[DOC] Use consistent terms [Bug... -
02:51 AM Bug #18741: Slicing an Array using index out of range inconsistent return type
- HI @zverok, I think your proposition is a little different from what's reported here.
```ruby
array = [:peanut, :...
04/18/2022
- 11:32 PM Revision 810b9c34 (git): Resolve several markedown warnings
- - Spaces before and after blocks.
- Single spaces after sentences everywhere
Signed-off-by: Tim Smith <tsmith@mondoo... - 11:31 PM Revision 4299375b (git): Github -> GitHub
- Fix the case of GitHub in various places
Signed-off-by: Tim Smith <[email protected]> -
11:19 PM Revision b41de3a1 (git): [DOC] Enhanced RDoc for MatchData (#5822)
- Treats:
#to_s
#named_captures
#string
#inspect
#hash
#== -
08:52 PM Revision 6db3f7c4 (git): Enhanced RDoc for MatchData (#5821)
- Treats:
#[]
#values_at -
07:34 PM Revision 86e23529 (git): Enhanced RDoc for MatchData (#5820)
- Treats:
#pre_match
#post_match
#to_a
#captures -
06:02 PM Revision b074bc3d (git): [DOC] Enhanced RDoc for MatchData (#5819)
- Treats:
#begin
#end
#match
#match_length -
04:57 PM Bug #18741: Slicing an Array using index out of range inconsistent return type
- I already raised the problem in #16822, it was closed by @matz with
> I don't think the benefit of changing outwei... -
02:37 PM Bug #18741 (Rejected): Slicing an Array using index out of range inconsistent return type
- Hi there!
I've been learning ruby and following the Koans path. On the arrays part i get the following test case to ... -
04:31 PM Revision 9d1dd7a9 (git): [DOC] Enhanced RDoc for MatchData (#5818)
- Treats:
#regexp
#names
#size
#offset - 03:45 PM Revision 96b2b0ee (git): * 2022-04-19 [ci skip]
-
03:45 PM Revision 51ea6769 (git): [DOC] Enhanced RDoc for Regexp (#5815)
- Treats:
::new
::escape
::try_convert
::union
::last_match -
10:00 AM Bug #18740 (Assigned): Use of rightward assignment changes line number needed for line-targeted TracePoint
- Affected ruby 3.1.1
Sample illustrating the problem (`test.rb`):
```
def foo
File.read("test.rb")
.s... -
09:37 AM Revision 08b6aacc (git): Fix the wrong index of the previous component [Bug #18739]
-
09:36 AM Bug #18739 (Closed): Wrong mid-rule index
- `arg in pattern` rule in the `expr` has a wrong index.
```diff
diff --git a/parse.y b/parse.y
index d391354beaa.... -
09:27 AM Bug #18735: The crash reporter need to be updated for Apple silicon
- byroot (Jean Boussier) wrote in #note-3:
> But I suppose we can assume Apple is going to ship a working `libunwind` ... -
09:07 AM Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
- Never use callcc in practical applications or libraries. It violates a common assumption of control flow that many pr...
-
09:06 AM Bug #18665 (Closed): Tutorial Link for Optionparser is still broken
- Now the links in https://docs.ruby-lang.org/en/master/OptionParser.html should be correct.
-
08:57 AM Bug #18677 (Assigned): BigDecimal#power (**) returns FloatDomainError when passing an infinite parameter
-
08:53 AM Revision b0666d64 (git): [DOC] Use consistent terms [Bug #18680]
-
08:47 AM Bug #18684 (Feedback): Support for out of source build
-
08:38 AM Feature #18654: Enhancements to prettyprint
- Thank you. So, is the essence of your proposal to delay output until flush is called? Sounds like a significant chang...
-
01:29 AM Revision c69bdcf8 (git): [ruby/bigdecimal] Fix docs
- rdoc parses f[i] as a link, which results in a broken link.
https://github.com/ruby/bigdecimal/commit/a18522e9ca -
01:29 AM Revision 92361ad9 (git): [ruby/bigdecimal] Adjust a local variable type to exponent
- https://github.com/ruby/bigdecimal/commit/70146fb6ad
-
12:40 AM Revision e5a852b9 (git): [ruby/tsort] Small tweaks for easier vendoring
- Bundler vendors this file and we have some tools to automatically
prepend the `Bundler::` namespace so that the vendo... - 12:18 AM Revision 8c4ed2d7 (git): * 2022-04-18 [ci skip]
- 12:18 AM Revision d6238007 (git): Fixes grammar
-
12:00 AM Bug #18738: IRB can't recognize heredoc after words
- kaiquekandykoga (Kaíque Koga) wrote in #note-1:
> I think it can be interesting to open an issue at https://github.c...
04/17/2022
-
06:36 PM Bug #18738: IRB can't recognize heredoc after words
- I think it can be interesting to open an issue at https://github.com/ruby/irb.
-
03:51 PM Bug #18738 (Closed): IRB can't recognize heredoc after words
- My irb_info
```ruby
irb(main):001:0> irb_info
=>
Ruby version: 3.1.1
IRB version: i... -
03:20 PM Bug #18737 (Closed): Windows 'require' is case independent
- On Windows, `require` may cause one file to load in more than once if user accidentally spells the wrong name of a ge...
-
11:57 AM Revision 50f3e93c (git): Fix a typo
-
09:57 AM Revision be52c728 (git): Get rid of doubly caching
-
09:53 AM Revision 2c6876f8 (git): Get rid of magic numbers
Also available in: Atom