Activity
From 12/02/2021 to 12/08/2021
12/08/2021
-
11:58 PM Revision 45c5794d (git): [rubygems/rubygems] Don't load system rubygems during tests
- Since tests are about testing our development copy of rubygems, not
whatever is installed in the system.
https://git... -
09:59 PM Revision 82bb9ced (git): YJIT: Fix leak in compilation loop
- Previously, when there are too many blocks in a batch, the last block in
the batch is not tracked in the array of bat... - 07:47 PM Revision c47e821b (git): [ruby/ostruct] Bump version to 0.5.2
-
07:47 PM Revision 9c269316 (git): [ruby/ostruct] `Proc`'s self should be shareable.
- To fix the issue https://bugs.ruby-lang.org/issues/18243
we need to make sure the Proc's self is shareable.
These pro... -
07:04 PM Bug #18243: Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
- At least we need fix it.
This PR simply prohibits `make_shareable()` if the proc's self is unshareable.
https://g... -
06:54 PM Feature #15912: Allow some reentrancy during TracePoint events
- implementation: https://github.com/ruby/ruby/pull/5231
> tp.reentrant
It should not be an instance method of `tp` b... -
06:34 PM Feature #18397 (Closed): Remove documentation that Qfalse == 0 in `extension.rdoc`, instead encourage use of RTEST
- Currently, [the extension documentation](https://github.com/ruby/ruby/blob/master/doc/extension.rdoc#label-Convert+VA...
-
06:29 PM Revision 9a2ecddf (git): Enhanced RDoc for String (#5227)
- Treats:
#replace
#clear
#chr
#getbyte
#setbyte
#byteslice
#reverse
#reverse!
#in... -
05:15 PM Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
- Patches are welcome to check them without breaking things on other platforms (including Oracle Solaris 11).
I gues... -
05:03 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- I don't have access to a ppc64 machine. Do you know what the crash is?
-
04:52 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- Unfortunately, the build fails already in miniruby:
~~~
... snip ...
gcc -O2 -flto=auto -ffat-lto-objects -fex... -
02:16 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- Hey @vo.x, can you check if also backporting this PR fixes the crashes? https://github.com/ruby/ruby/pull/4227
Rub... -
01:04 PM Bug #18133: LTO: TestGCCompact#test_ast_compacts segfaults on i686
- vo.x (Vit Ondruch) wrote in #note-5:
> Thanks for looking into this. However, applying these two patches, while fixi... -
12:47 PM Bug #18133 (Assigned): LTO: TestGCCompact#test_ast_compacts segfaults on i686
- Thanks for looking into this. However, applying these two patches, while fixing i686, it breaks ppc64le :(
~~~
[ ... -
04:42 PM Feature #18395: Introduce Array#subtract! for performance
- Have you benched `array.reject! { |e| array_or_set.include?(e) }`?
-
04:38 PM Feature #18395: Introduce Array#subtract! for performance
- schneems (Richard Schneeman) wrote in #note-2:
> > We have Array#delete already, the only difference from your propos... -
03:26 PM Feature #18395: Introduce Array#subtract! for performance
- It would be very helpful if you could write a code example in the description to help us understand your proposal at ...
-
02:55 PM Feature #18395: Introduce Array#subtract! for performance
- > We have Array#delete already, the only difference from your proposal (other than the receiver) being that it does n...
-
05:16 AM Feature #18395: Introduce Array#subtract! for performance
- I am strongly against it. It is a practice in Ruby for methods that destructively remove something from the receiver ...
- 03:30 PM Revision 1966dc7a (git): * 2021-12-09 [ci skip]
-
03:30 PM Revision 17e72196 (git): ext/ripper/lib/ripper/lexer.rb: Do not deprecate Ripper::Lexer::State#[]
- The old code of IRB still uses this method. The warning is noisy on
rails console.
In principle, Ruby 3.1 deprecates ... -
10:11 AM Revision 3021c3ce (git): Add `to_f` to predefined conversion method name to ID table
-
08:59 AM Revision 454b4da7 (git): [DOC] Integer.try_convert [ci skip]
-
06:39 AM Bug #18396: An unexpected "hash value omission" syntax error when without parentheses call expr follows
- I get it. Thank you for the explanation!
-
04:09 AM Bug #18396 (Rejected): An unexpected "hash value omission" syntax error when without parentheses call expr follows
- It is by design.
```
foo key:
bar
```
was parsed as `foo(key: bar)` in Ruby 3.0 or before. It is incompatibl... -
03:25 AM Bug #18396 (Open): An unexpected "hash value omission" syntax error when without parentheses call expr follows
- ## Summary
I encountered an unexpected "hash value omission" syntax error when parentheses call expression follows... -
04:26 AM Revision af6e0883 (git): Skip bind port 1 when ip_unprivileged_port_start<=1
- Linux can allow to bind port 1 to user.
And `ip_unprivileged_port_start` is 0 on [lima](https://github.com/lima-vm/li...
12/07/2021
-
11:18 PM Revision 4a3e7984 (git): Avoid Array allocation when appending to args array (#5211)
- * Use duparray when possible for argspush
ARGSPUSH is the node we see with a single value pushed to the end of a
spl... -
10:59 PM Revision 852ea1e8 (git): [rubygems/rubygems] Remove unnecessary comment
- https://github.com/rubygems/rubygems/commit/5e50f12e7a
-
10:59 PM Revision 76cad137 (git): [rubygems/rubygems] Don't add custom github source to `bundle init` Gemfile
- It's provided by bundler.
https://github.com/rubygems/rubygems/commit/25ccaab46b -
10:59 PM Revision f0ef9ffe (git): [rubygems/rubygems] Cancel deprecation of custom git sources
- https://github.com/rubygems/rubygems/commit/99cd6e0627
-
10:20 PM Revision 6beb05c2 (git): YJIT: Undo add_block_version() in OOM code path
- Preivously, [1] failed to undo the effect of applying
add_block_version() to a block, leaving dangling pointers in th... -
10:20 PM Revision 286c07f0 (git): YJIT: Remove guard_self_is_heap()
- It's superseded by functionality added to jit_guard_known_klass().
In weird situations such as the ones in the includ... -
09:21 PM Feature #18395 (Open): Introduce Array#subtract! for performance
- PR: https://github.com/ruby/ruby/pull/5110#issuecomment-984345309
It is common to use `-=` to modify an array to r... -
07:15 PM Bug #18133 (Closed): LTO: TestGCCompact#test_ast_compacts segfaults on i686
- Hi, I was able to debug a core dump for this bug. Backports in #18394 should fix it. Thanks for the bug report!
-
07:14 PM Bug #18394 (Closed): Backports for read barrier for GC compaction for Ruby 3.0
- Please backport commits [0130e17a410d60a10e7041ce98748b8de6946971](https://github.com/ruby/ruby/commit/0130e17a410d60...
-
05:58 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- xtkoba (Tee KOBAYASHI) wrote in #note-2:
> $ grep '^arch_hdrdir' /var/tmp/build/arm64-v8a/lib/ruby/gems/3.1.0/gems/r... - 04:49 PM Revision e51d0d28 (git): * 2021-12-08 [ci skip]
- 04:49 PM Revision 1b12ebb9 (git): [rubygems/rubygems] Add require parameter to `bundle add``
- Test and ensure "false" is handled
Don't use yield_self to operate on autorequire
Remove duplicate autorequire
Add... -
02:27 PM Revision 26303c31 (git): [rubygems/rubygems] Pass "--" to git commands to separate positional and optional args
- To make sure git uri's specified in Gemfile are never misinterpreted as
optional arguments, potentially allowing for ... -
02:17 PM Bug #16920: TestThread#test_signal_at_join fails on aarch64
- Still issue with ruby 3.1.0dev (2021-12-07 master ec878dac90) [aarch64-linux]
-
02:15 PM Feature #18033: Time.new to parse a string
- Eregon (Benoit Daloze) wrote in #note-23:
> > `Time.try_convert` feels considerable, but passing the timezone option... -
02:03 PM Bug #18393 (Closed): TestReadline#test_interrupt_in_other_thread fails on armv7hl
- Testing Ruby 3.1 on Fedora, I observe following issue:
~~~
1) Failure:
TestReadline#test_interrupt_in_other_th... -
01:00 PM Revision bb3f17bd (git): More indentation in NEWS.md [ci skip]
- The current Markdown implementation of RDoc requires list contents
to be indented 4 columns except for the first para... -
12:56 PM Bug #18392 (Closed): ObjectSpace::WeakMap#inspect causes BUG
- Applied in changeset commit:git|d6c5a30cfdf658280338dbb8c8b17fab3190b928.
----------
ObjectSpace::WeakMap#inspect: c... -
05:01 AM Bug #18392 (Closed): ObjectSpace::WeakMap#inspect causes BUG
- ```ruby
wmap = ObjectSpace::WeakMap.new
(2**32).times do |i|
wmap[i] = "foo"
wmap.inspect
end
```
```
... -
12:55 PM Revision a2d4e1cd (git): Fixed the check order in wmap_live_p [Bug #18392]
- Check if the object is a pointer to heap before check the flag in
that object. -
12:55 PM Revision d6c5a30c (git): ObjectSpace::WeakMap#inspect: check if living object [Bug #18392]
-
12:31 PM Bug #18391: Error building gems with binary extensions on Ruby 3.1
- Thx a lot for the fix.
-
08:38 AM Bug #18391 (Closed): Error building gems with binary extensions on Ruby 3.1
- Applied in changeset commit:git|ec878dac90df0ca5f39e72261b8d4e2898486a93.
----------
Move -ljemalloc to DLDLIBS [Bug... -
08:30 AM Feature #15912: Allow some reentrancy during TracePoint events
- What about:
```ruby
TracePoint.trace(:line) do |tp|
tp.reentrant do
...
end
end -
06:43 AM Feature #15912: Allow some reentrancy during TracePoint events
- naming issue:
`TracePoint.allow_reentrance do ... end` ?
`TracePoint.allow_reentrancy do ... end` ?
-
07:44 AM Feature #12913 (Open): A way to configure the default maximum width of pp
-
03:08 AM Feature #12913 (Closed): A way to configure the default maximum width of pp
- Applied in changeset commit:git|dfd9728c87640d9699b1e7c63a6fefb6b2797fbc.
----------
NEWS.md: Describe the change of... -
06:43 AM Misc #18346: DevelopersMeeting20211209Japan
- * [Feature #18331] Kernel.#Time (sawa)
* Introduce `Kernel.#Time` {instead of/in addition to} extending `Time.ne... -
06:07 AM Misc #18346: DevelopersMeeting20211209Japan
- * [Feature #18033] https://bugs.ruby-lang.org/issues/18033
* `Time.at("2021-12-09")` instead of `Time.new`.
* Oth... -
04:26 AM Misc #18346: DevelopersMeeting20211209Japan
- * [Feature #12737] Module#defined_refinements
* Is the name Module#refinements acceptable?
* It's consistent ... -
06:20 AM Revision ec878dac (git): Move -ljemalloc to DLDLIBS [Bug #18391]
- Set the alternative memory management library only as a platform
specific library, without other libraries. -
06:18 AM Bug #14434: IO#reopen fails after EPIPE
- I think this is a bug definitely, but non-critical.
-
06:02 AM Revision 91e9d276 (git): Fix a link [ci skip]
-
05:26 AM Bug #14891 (Closed): Pathname#join has different behaviour to File.join
-
05:21 AM Feature #18351: Support anonymous rest and keyword rest argument forwarding
- compare with `...` parameter delegation, the advantage is we can specify with `*` and `**` respectively, like `def fo...
- 04:21 AM Revision ad4ac68c (git): [ruby/ostruct] ostruct v0.5.1
- 04:21 AM Revision 95d9bcf2 (git): [ruby/ostruct] Alias less methods
- Skips methods that do not end with letter (in particular `!~` and `=~`)
For JRuby, also skip `instance_exec`, `instan... -
03:07 AM Revision dfd9728c (git): NEWS.md: Describe the change of the default width of `pp`
- [Feature #12913]
-
01:27 AM Revision 794b9a28 (git): YJIT: Add integrity checks for blockid
- Verify that the iseq idx pair for the block is valid in
invalidate_block_version(). While we are at it, bound loop
it... -
12:24 AM Revision b7ea66bc (git): YJIT: Fix incomplete invalidation from opt_setinlinecache
- As part of YJIT's strategy for promoting Ruby constant expressions into
constants in the output native code, the inte... -
12:16 AM Bug #18390: Enumerator::Lazy#find returns invalid value
- Oh that's good to know. I see you have created a ticket for Opal: https://github.com/opal/opal/issues/2367 . Thank yo...
12/06/2021
-
10:26 PM Revision 0209beac (git): Enhanced RDoc for literals.rdoc (#5213)
- Makes link targets among percent literals.
Adds links to those targets.
Adds examples to percent literals.
... -
08:30 PM Feature #18376: Version comparison API
- We reverted it for now.
-
01:16 PM Feature #18376: Version comparison API
- I disagree that this will "break" anything, but I'll revert for now until we gather some more opinions on my better i...
-
12:56 PM Feature #18376: Version comparison API
- deivid (David Rodríguez) wrote in #note-24:
> I mean, of course, right? What else would you expect? Isn't that the w... -
12:52 PM Feature #18376: Version comparison API
- To clarify, won't users of `--disable-gems` will expect that nothing under `Gem` is defined except for the explicitly...
-
12:49 PM Feature #18376: Version comparison API
- > And also this seems quite confusing if the Gem constant is defined but all the constants/classes under Gem are not ...
-
12:36 PM Feature #18376: Version comparison API
- deivid (David Rodríguez) wrote in #note-22:
> Something like https://github.com/rubygems/rubygems/pull/5136 would al... -
09:02 AM Feature #18376: Version comparison API
- Thinking a bit more about this, current `Gem::Version` functionality seems quite independent, so there may be a way t...
-
08:16 PM Feature #17047: Support parameters for MAIL FROM and RCPT TO
- tommy (Masahiro Tomita) wrote in #note-12:
> How about this: https://github.com/ruby/net-smtp/pull/34
👍
Probab... -
05:55 PM Bug #18390 (Third Party's Issue): Enumerator::Lazy#find returns invalid value
-
05:38 PM Bug #18390: Enumerator::Lazy#find returns invalid value
- I just found that playground runs Opal, not MRI. Sorry for incorrect addressee, please close the issue.
-
05:35 PM Bug #18390: Enumerator::Lazy#find returns invalid value
- I'm not sure about build parameters, I found this bug at the ruby playground https://try.ruby-lang.org/ I'm attaching...
-
02:04 PM Bug #18390: Enumerator::Lazy#find returns invalid value
- I cannot reproduce the issue
```
$ ~/local/bin/ruby -ve 'p [1, 2, 3, 4].lazy.find(&:even?)'
ruby 3.0.2p107 (2021... -
12:57 PM Bug #18390 (Third Party's Issue): Enumerator::Lazy#find returns invalid value
- There is a regression bug in `#find`
```ruby
# RUBY_VERSION 3.0.2
[1, 2, 3, 4].lazy.find(&:even?) # => nil (ERROR!... -
05:37 PM Feature #18033: Time.new to parse a string
- nobu (Nobuyoshi Nakada) wrote in #note-22:
> I wrote `Time#inspect`, but the "ISO 8601-like" format is not only used... -
02:54 PM Feature #18033: Time.new to parse a string
- Eregon (Benoit Daloze) wrote in #note-21:
> Why we do we need to parse `Time#inspect` output?
> It seems in general... -
01:18 PM Feature #18033: Time.new to parse a string
- nobu (Nobuyoshi Nakada) wrote in #note-19:
> First, the primary target is the result of `Time#inspect`, and it is no... -
04:55 AM Feature #18033: Time.new to parse a string
- Eregon (Benoit Daloze) wrote in #note-10:
> Also it's technically incompatible (the first argument is always the yea... -
05:15 PM Bug #18391: Error building gems with binary extensions on Ruby 3.1
- Please note that the culprit was originally identified in this thread:
https://lists.fedoraproject.org/archives/li... -
05:14 PM Bug #18391 (Closed): Error building gems with binary extensions on Ruby 3.1
- Testing Ruby 3.1 on Fedora, it seems that every gem with binary extension fails to build. This is the mkmf.log:
~~... -
05:03 PM Revision 4c39fae4 (git): add a NEWS entry for `mandatory_only?`
-
05:03 PM Revision 87664b5c (git): add a NEWS entry about GC.total_time
-
05:03 PM Revision 660687e6 (git): add NEWS about the improvement of `Struct`
- 04:53 PM Revision fb356c6f (git): * 2021-12-07 [ci skip]
-
04:53 PM Revision 526c9359 (git): [rubygems/rubygems] Don't cleanup paths from gems already activated from `$LOAD_PATH`
- This way, if some default gem has been required before bundler, and
rubygems has enhanced the `$LOAD_PATH` to use the... -
04:17 PM Bug #18374: make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
- This is resolved testing with 715a51a0d6. Thx for helping with the analysis and fix.
-
01:48 PM Bug #18385: Refinement#import_methods(Enumerable) doesn't work
- Eregon (Benoit Daloze) wrote in #note-5:
> zverok (Victor Shepelev) wrote in #note-2:
> > I didn't realize that `im... -
01:25 PM Bug #18385: Refinement#import_methods(Enumerable) doesn't work
- zverok (Victor Shepelev) wrote in #note-2:
> I didn't realize that `import_methods` is a make-believe feature, not r... -
12:43 AM Bug #18385 (Closed): Refinement#import_methods(Enumerable) doesn't work
- Applied in changeset commit:git|c2192cb985c10c90ba5e4d64652f79f89afff983.
----------
Clarify the error message when ... -
12:35 AM Bug #18385 (Assigned): Refinement#import_methods(Enumerable) doesn't work
- Eregon (Benoit Daloze) wrote in #note-1:
> It means you can't import methods defined in C, only methods defined with... -
11:27 AM Revision 715a51a0 (git): [rubygems/rubygems] Feature: accept pull request URLs as github source
- Very often github source is used to temporarily use a modified gem
while a PR upstream is being reviewed.
So for ins... -
10:53 AM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- Main motivation for this issue is consistency.
AFAIK `Exception#full_message` was introduced to have exactly the s... -
04:59 AM Feature #18370: Call Exception#full_message to print exceptions reaching the top-level
- Please clearly write the motivation first. Cite from https://bugs.ruby-lang.org/issues/18296#note-14
* Callers can... -
09:43 AM Revision d044ffd7 (git): [rubygems/rubygems] Allow using `Gem::Version` without loading the rest of rubygems
- https://github.com/rubygems/rubygems/commit/1b862537a5
-
09:43 AM Revision e41c195c (git): [rubygems/rubygems] Fix incorrect quoting
- Test was just returning a string instead of actually exercising the
require.
https://github.com/rubygems/rubygems/co... -
09:03 AM Revision 25423f09 (git): [rubygems/rubygems] Add --version parameter to bundle info command.
- https://github.com/rubygems/rubygems/commit/7d9fdd908d
-
08:53 AM Revision 5ce3272e (git): autogen.sh: Copy auxiliary files instead of symlinks with `-i`
- When accessing from containers, symbolic links may not be able to
reach outer file systems. - 08:42 AM Revision 9c0c66f7 (git): [rubygems/rubygems] add login & logout for the signin & signout commands respectively
- https://github.com/rubygems/rubygems/commit/49b491970b
-
05:18 AM Revision e563c606 (git): sync_default_gems.rb: convert commit hashes to github URLs [ci skip]
-
05:03 AM Bug #18381 (Assigned): Default vs Bundled gems
-
04:54 AM Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
- Another idea (evaluate a given block with a result):
```ruby
class Enumerator
def with_value(&b)
v = each(&b)
... -
04:44 AM Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
- matz (Yukihiro Matsumoto) wrote in #note-9:
> Just for confirmation, is it OK that `min_with_value` returns only a s... -
03:14 AM Bug #18386 (Third Party's Issue): bash-3.2$ pod install / GRDB on OSX 12.01. Monterey / M1 Max
-
03:07 AM Bug #18386: bash-3.2$ pod install / GRDB on OSX 12.01. Monterey / M1 Max
- Sorry for your inconvenience.
We have already received more than a dozen of similar reports; see https://bugs.ruby... -
12:40 AM Revision c2192cb9 (git): Clarify the error message when trying to import C methods [Bug #18385]
12/05/2021
-
11:17 PM Bug #16852: Refining Enumerable fails with ruby 2.7
- Can backport this fix?
-
10:15 PM Bug #18389 (Closed): `binding.irb` can fail in some classes that implement `context` and `print` methods.
- ```ruby
class Foo
def boop
binding.irb
end
def context
end
def print
end
end
Foo.... -
08:25 PM Revision e7135528 (git): [rubygems/rubygems] LOAD_PATH is already reset globally
- https://github.com/rubygems/rubygems/commit/b0bbb27115
-
08:25 PM Revision 2fc47bad (git): [rubygems/rubygems] Remove unneded setup
- https://github.com/rubygems/rubygems/commit/9815a04e31
-
05:17 PM Bug #18387: Backport of fix for #16798 to Ruby 2.6 introduced C99 syntax
- it's unintentionally, so I'll fix it later. thx!
-
03:51 AM Bug #18387 (Closed): Backport of fix for #16798 to Ruby 2.6 introduced C99 syntax
- Building Ruby 2.6.9 on OpenBSD/sparc64 fails with the following error:
```
cc -O2 -pipe -fPIC -D_FORTIFY_SOURCE=... -
04:06 PM Revision a785e6c3 (git): Make `leaf` const in VM generator
- Assigning to `leaf` in insns.def would give undesirable results.
- 03:26 PM Revision 26e4887e (git): * 2021-12-06 [ci skip]
-
03:26 PM Revision 26063d39 (git): YJIT: Initialize code buffer with PUSH DS
- PUSH DS triggers the #UD processor exception in 64-bit mode, which the
OS translates to a SIGILL. Unlike INT3, this t... -
02:13 PM Revision bbfefd45 (git): [ruby/securerandom] Remove no longer used helper methods
- Unused since r59801, 782b2050b837206d06767d42d0ea5117921247c8,
or https://github.com/ruby/securerandom/commit/52c8e7a... -
11:34 AM Revision 00a941ac (git): Update stdlib versions [ci skip]
-
11:31 AM Revision 20dfc762 (git): Sort URLs by issue numbers [ci skip]
-
10:23 AM Revision 19f037e4 (git): More indentation in NEWS.md [ci skip]
- The current Markdown implementation of RDoc requires list contents
to be indented 4 columns except for the first para... - 10:07 AM Revision e8181937 (git): Fix wrong indentation in NEWS.md [ci skip]
-
10:04 AM Bug #18388 (Closed): IO.copy_stream incompatibility between Ruby 2 and Ruby 3
- Applied in changeset commit:git|b555e659c4974acc423083b71b1bd5ec6a926046.
----------
Do not use `fcopyfile` if appen... -
08:23 AM Bug #18388 (Closed): IO.copy_stream incompatibility between Ruby 2 and Ruby 3
- Put `test.rb`, `src` and dst in the same directory:
`test.rb` file:
``` ruby
src = "src"
dst = "dst"
File.open... -
09:47 AM Revision b555e659 (git): Do not use `fcopyfile` if appending to non-empty file [Bug #18388]
- `fcopyfile` appends `src` to `to` and then truncates `to` to it's
original size. -
03:06 AM Misc #18362: mswin builds & vs2022
- It was transferred to https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
12/04/2021
-
08:48 PM Feature #17881: Add a Module#const_added callback
- Alternative solution can be implemented with two hooks for "opening" and "closing" class/module definition i.e. `Modu...
-
03:40 PM Feature #17881: Add a Module#const_added callback
- To clarify my earlier concern, I'm against adding a hook triggered on every constant defined, because of the involved...
-
08:47 PM Revision a72aecac (git): [rubygems/rubygems] Don't write outside of destdir when regenerating plugins
- https://github.com/rubygems/rubygems/commit/141ef4cb9a
-
08:47 PM Revision 9dc76e10 (git): [rubygems/rubygems] Don't write outside of destdir when installing default bundler
- https://github.com/rubygems/rubygems/commit/a62d00c5e8
-
08:47 PM Revision ec28771f (git): [rubygems/rubygems] Fold a line that got out of hand
- https://github.com/rubygems/rubygems/commit/49317d8beb
-
08:47 PM Revision ed7a5001 (git): [rubygems/rubygems] Fix binstubs and plugins regeneration with `--destdir` is used
- https://github.com/rubygems/rubygems/commit/7079de16fa
-
08:02 PM Bug #18385: Refinement#import_methods(Enumerable) doesn't work
- Yeah, at least the message should be clearer.
I didn't realize that `import_methods` is a make-believe feature, no... -
05:48 PM Bug #18385: Refinement#import_methods(Enumerable) doesn't work
- It means you can't import methods defined in C, only methods defined with Ruby code.
Methods need to be defined in Ru... -
02:53 PM Bug #18385 (Closed): Refinement#import_methods(Enumerable) doesn't work
- Very simple to reproduce:
```ruby
module M
refine String do
import_methods Enumerable
end
end
```
Lea... -
06:04 PM Revision 62957deb (git): README.md: Fix link to platform maintainers list
- Follow up for 6bca410ae8b16238d02c868ce8fa1af13a5c4460
[ci skip] -
05:16 PM Bug #18386 (Third Party's Issue): bash-3.2$ pod install / GRDB on OSX 12.01. Monterey / M1 Max
- Crash during installation of GRDB (https://github.com/groue/GRDB.swift#installation) on a MacBook Pro with M1 Max pro...
- 04:35 PM Revision 9733b7e3 (git): * 2021-12-05 [ci skip]
-
04:35 PM Revision 34b5e256 (git): YJIT: Enable out of memory tests
- As of [1] and [2], YJIT has enough support for out of memory conditions
to pass these two basic tests.
OOM code path... -
04:29 PM Bug #17799: Seg fault in rb_class_clear_method_cache
- I ran into this once again when I forgot to apply the patch in https://bugs.ruby-lang.org/issues/17799#note-3.
@tend... -
03:33 PM Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
Thanks, but I think this is partly a Ruby configuration issue.
The goal of "configure" is to find suitable confi...-
12:48 PM Feature #17047: Support parameters for MAIL FROM and RCPT TO
- How about this: https://github.com/ruby/net-smtp/pull/34
For example, to send `MAIL FROM:<[email protected]> size=1... -
10:55 AM Feature #15912: Allow some reentrancy during TracePoint events
- I think the idea to explicitly `reopen`/allow recursive events is good.
For common usages of tracepoint I think it's... -
08:32 AM Feature #15912: Allow some reentrancy during TracePoint events
- I took the liberty to re-add this to the next developer meeting because `ruby/debug` appear to have the same problem:...
-
08:31 AM Misc #18346: DevelopersMeeting20211209Japan
- * [Feature #15912] Allow some reentrancy during TracePoint event
* Alternative to `Module#const_added` for fixing ... -
07:29 AM Bug #18374 (Closed): make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
- Applied in changeset commit:git|a4964174e26303524cee8c2d8523048b87137993.
----------
Fix circular dependencies speci... -
06:14 AM Bug #18374: make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
- As for `ruby.pc`, this is due to `--with-ruby-pc=ruby.pc` specified for `configure` argument. Combined with [configur...
-
07:20 AM Revision 4a6ca129 (git): Remove unversioned phony target for pkgconfig file [Bug #18374]
- It results in a circular dependency when `--with-ruby-pc=ruby.pc`
is given. [ci skip] -
06:49 AM Feature #14835: Support TracePoint#raised_exception on non-:raise events
- We cannot know how "return" events are triggered. It can be triggered by usual returns (return values), and also be t...
-
01:40 AM Revision a4964174 (git): Fix circular dependencies specific to in-place build [Bug #18374]
- * Move the rubyspec running recipe after the rule for rubyspec
C-API extension library, so that separate dummy reci... -
01:35 AM Revision d118e7c0 (git): Turn nd_type_p into an inline function
-
01:02 AM Revision f41b4d44 (git): YJIT: Bounds check every byte in the assembler
- Previously, YJIT assumed that basic blocks never consume more than
1 KiB of memory. This assumption does not hold for...
12/03/2021
-
11:19 PM Feature #17881: Add a Module#const_added callback
- I added the ticket back to the next developer meeting (Dec 9th) agenda.
-
11:13 PM Feature #17881: Add a Module#const_added callback
- I thought `debug` didn't have this tracepoint issue, hence why I didn't bother to push this more. But if it does, the...
-
11:02 PM Feature #17881: Add a Module#const_added callback
- I came across this issue when researching why `zeitwerk`-enabled applications can fail to autoload constants inside `...
-
11:19 PM Misc #18346: DevelopersMeeting20211209Japan
- - [Feature #17881] Add a Module#const_added callback
- Would allow the Zeitwerk autoloader to no longer use tracep... -
08:58 PM Revision 3be06723 (git): NEWS for [GH-#5146] [ci skip] (#5210)
-
08:18 PM Revision c38c1d82 (git): [rubygems/rubygems] Let original EACCES error be raised
- This block of code already wraps file operations with
`SharedHelpers.filesystem_access`, which rescues and re-raises ... -
05:45 PM Revision 54ca530d (git): YJIT: Add ivar counter exits
- On Rails we're seeing a lot of exits for ivars in the Active Record
tests. In trying to track them down it was hard t... -
04:46 PM Revision 7fc9d83b (git): Fix link (#5208)
-
03:45 PM Bug #18374: make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
- vo.x (Vit Ondruch) wrote in #note-3:
> So looking into the source:defs/gmake.mk history (thx for the pointer), the c... -
03:42 PM Bug #18374: make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
- Carefully checking the logs, there is one more place with similar issue:
~~~
make: Circular ruby.pc <- ruby.pc de... -
03:24 PM Bug #18374: make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
- So looking into the source:defs/gmake.mk history (thx for the pointer), the commit:git|d1f0d1ca2ea4d7418b096ce71f68ce...
-
01:30 PM Bug #18374: make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
- This is the build [1], but for your convenience and because it will be garbage collected soon, I'll attach the full b...
-
03:44 PM Bug #18375: Timeout.timeout(sec, klass: MyExceptionClass) can not retry correctly.
- jeremyevans0 (Jeremy Evans) wrote in #note-2:
> I don't think this is a bug, and I don't think timeout can work with ... -
03:40 PM Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
- There's also a frequent similar problem with `#find` when you need to find the first matched value instead of entry. ...
-
03:00 PM Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
- What about `min_with` ?
```ruby
%w(abcde fg hijk).min_with(&:size) # => ['fg', 2]
... -
05:04 AM Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
- Just for confirmation, is it OK that `min_with_value` returns only a single value?
I don't like the name `_with_valu... -
03:26 PM Revision 08153902 (git): Refactor GC functions to have consistent naming
- Refactor function names for consistency. Function with name xyz_page
should have a corresponding function named xyz_p... -
03:04 PM Bug #18073: test/ruby/test_jit.rb: "error: invalid use of '__builtin_va_arg_pack ()'" on Ruby 2.7.4 on gcc 4.8.5
- I run into a similar issue (in https://github.com/DataDog/dd-trace-rb/issues/1799); in my case, I was running the Sem...
- 03:01 PM Revision 81eadd97 (git): * 2021-12-04 [ci skip]
-
03:01 PM Revision ec7f14d9 (git): Add `nd_type_p` macro
-
02:44 PM Feature #18384: Pattern Match Object
- > it leads to a proverbial rabbit hole
Probably, instead of a separate Patter Match class it would be enough to make... -
09:23 AM Feature #18384: Pattern Match Object
- There was an idea in the past, while various attempts to facilitate functional programming were considered, to deprec...
-
08:35 AM Feature #18384: Pattern Match Object
- I remember we briefly discussed the problem with @palkan and @matz in person at RubyConf'19, and, if the memory serve...
-
07:06 AM Feature #18384: Pattern Match Object
- See also this comment from Zverok: https://bugs.ruby-lang.org/issues/18369#note-11
-
07:05 AM Feature #18384 (Open): Pattern Match Object
- Related to discussion in #18369 it might be nice to have a literal syntax for constructing a single pattern match cas...
-
02:34 PM Feature #18275: Add an option to define_method to not capture the surrounding environment
- ~~Does `Ractor.make_shareable(proc{})` actually _do_ anything? It seem to only check if the proc is (can be?) shareab...
-
11:56 AM Feature #18275: Add an option to define_method to not capture the surrounding environment
- +1 for `define_method(:show_a, shareable: true){p a}`.
That nicely avoids the issue of whether `Ractor.make_shareabl... -
03:42 AM Feature #18275 (Open): Add an option to define_method to not capture the surrounding environment
- Eregon's comment #7 is true. This is why `Ractor.make_shareable(proc_object)` is supported.
So
```ruby
class C
a ... -
02:32 PM Feature #18279: ENV.merge! support multiple arguments as Hash.merge!
- https://github.com/ruby/ruby/pull/5207
-
03:53 AM Feature #18279 (Assigned): ENV.merge! support multiple arguments as Hash.merge!
- `Hash#merge!(*other)` accepts multiple values, so I think it is acceptable.
Matz, how about it? -
02:23 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
- > Close enough?
Obviously :) But still a "hack". E.g. it is not a "value representing the pattern", this way we can ... -
02:04 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
- zverok (Victor Shepelev) wrote in #note-11:
> TBH, since pattern matching inception I hope for some way of putting p... -
02:14 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- Can you provide the full log of the `build.log` showing the build error as an attachment of this ticket or somewhere?...
-
01:35 AM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- What `make` command do you use?
-
02:09 PM Misc #18354: Lazily create singletons on instance_{exec,eval}
- Bravo! This is really great work!
-
12:52 AM Misc #18354 (Closed): Lazily create singletons on instance_{exec,eval}
- Closed in 733500e9d02b11ff60fbbdb8daa43c2e9cfbd750
-
01:49 PM Feature #18033: Time.new to parse a string
- Eregon (Benoit Daloze) wrote in #note-17:
> Hence, why not make `Time.iso8601` fast and a core method?
> Then code ... -
01:21 PM Feature #18033: Time.new to parse a string
- sawa (Tsuyoshi Sawada) wrote in #note-16:
> nobu (Nobuyoshi Nakada) wrote in #note-15:
> > I remember #18331 won't ... -
11:33 AM Feature #18033: Time.new to parse a string
- Yes, `Kernel#Time(str)` seems better than `Time.new(str)`.
However I think being precise for parsing is key for ti... -
10:23 AM Feature #18033: Time.new to parse a string
- nobu (Nobuyoshi Nakada) wrote in #note-15:
> I remember #18331 won't work with subclasses of `Time`.
Can you elab... -
06:54 AM Feature #18033: Time.new to parse a string
- I remember #18331 won't work with subclasses of `Time`.
Does `Time.at("2021-12-04 02:00:00")` make sense? -
04:07 AM Feature #18033: Time.new to parse a string
- Eregon (Benoit Daloze) wrote in #note-10:
> Also it's technically incompatible (the first argument is always the yea... -
01:12 PM Revision 28fb6d6b (git): Adding links to literals and Kernel (#5192)
- * Adding links to literals and Kernel
-
12:10 PM Misc #18335 (Third Party's Issue): openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
- OpenIndiana's gcc + gnu binutils + dtrace only work with `-g1` seems to be OpenIndiana specific problem and this shou...
-
11:52 AM Feature #17721: Proc.new should be able to contruct a lambda
- There is `Kernel.send(lambda ? :lambda : :proc) { ... }` if you really really need this.
But it's probably slow and ... -
02:13 AM Feature #17721 (Feedback): Proc.new should be able to contruct a lambda
- A correct status of a ticket whose description doesn't have a use cases or user stories to discuss the validness of t...
-
11:27 AM Revision 324d57df (git): TestClass#test_subclass_gc reduce the number of iteration by 10x
- The test was taking 10 seconds on my machine and did timeout
on CI once. -
11:00 AM Revision 0073f624 (git): [rubygems/rubygems] Don't unnecessarily loop twice through dependencies
- https://github.com/rubygems/rubygems/commit/06b4a7994d
-
11:00 AM Revision 4c5e8624 (git): [rubygems/rubygems] Improve source gemfile/lockfile equivalence checks
- Since we no longer have multiple global sources, each top level dependency is
always pinned to a single source, so it... -
11:00 AM Revision 248fae0e (git): [rubygems/rubygems] Improve sources representation
- We have two representations of a source. Once used for sorting, which
should not depend on the source's state, but so... -
11:00 AM Revision 7d974cc5 (git): [rubygems/rubygems] Don't overwrite locked dependency sources too early
- Otherwise we hide some useful message about dependency source changes.
https://github.com/rubygems/rubygems/commit/c... -
11:00 AM Revision aa87780f (git): [rubygems/rubygems] Fix incorrect order in changed sources message
- https://github.com/rubygems/rubygems/commit/6f1b5f68de
-
11:00 AM Revision ca65f7bb (git): [rubygems/rubygems] Remove unnecessary code
- Somehow this is trying to relax frozen mode constraints for path
sources. It doesn't make sense to me and it's not co... -
11:00 AM Revision d19c266b (git): [rubygems/rubygems] Reuse `locked_dependencies` helper
- It makes the code more consistent with the above line.
https://github.com/rubygems/rubygems/commit/f28d05a548 -
11:00 AM Revision 901a2575 (git): [rubygems/rubygems] Reformat for consistency with the above line
- https://github.com/rubygems/rubygems/commit/11193be3f1
-
11:00 AM Revision 906b9578 (git): [rubygems/rubygems] Remove unnecessary nil checks
- https://github.com/rubygems/rubygems/commit/d047b8935d
-
10:20 AM Feature #16456 (Closed): Ruby 2.7 argument delegation (...) should be its own kind of parameter in Method#parameters
- On current master:
```ruby
irb(main):001:0> def foo(...); end
irb(main):002:0> p method(:foo).parameters
[[:rest, :*]... -
09:35 AM Revision e4c7c546 (git): Add tests of string argument to Time.at
-
09:18 AM Bug #18383: When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- mame (Yusuke Endoh) wrote in #note-8:
> Thank you. I guess it is a bug of sassc-ruby.
>
> https://github.com/sass... -
09:10 AM Bug #18383 (Third Party's Issue): When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- Thank you. I guess it is a bug of sassc-ruby.
https://github.com/sass/sassc-ruby/issues/197
https://github.com/sa... -
09:06 AM Bug #18383: When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- mame (Yusuke Endoh) wrote in #note-5:
> Sorry for the lack of clarity. I'd like to see the sections before the numbe... -
08:31 AM Bug #18383: When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- Sorry for the lack of clarity. I'd like to see the sections before the numbers start. This is an example of the full ...
-
08:19 AM Bug #18383: When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- mame (Yusuke Endoh) wrote in #note-3:
> Thanks. Unfortunately, the part I want to see is before
>
> ```
> 3443 ... -
07:34 AM Bug #18383: When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- Thanks. Unfortunately, the part I want to see is before
```
3443 /Users/daimetatsuru/.rbenv/versions/3.0.0/lib/r... -
07:00 AM Bug #18383: When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- mame (Yusuke Endoh) wrote in #note-1:
> Could you please paste all logs without omission? I guess the full terminal ... -
05:33 AM Bug #18383: When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- Could you please paste all logs without omission? I guess the full terminal log is the most important.
-
04:29 AM Bug #18383 (Third Party's Issue): When I access to localhost:3000, got "Don't forget to include the Crash Report log file under DiagnosticReports directory in bug reports"
- Terminal log is like this:
``` ruby
103bfa000-103bfb000 r-x /Users/daimetatsuru/.rbenv/versions/3.0.0/bin/ruby
1... -
09:04 AM Feature #18339: GVL instrumentation API
- > could you try?
Sure. Would likely be a next year thing anyway.
However Is a new dedicated hook API ok? Since ... -
04:09 AM Feature #18339: GVL instrumentation API
- ah, it not easy to implement...
could you try? - 07:00 AM Revision dd6c59cd (git): Update bundled_gems at 2021-12-03
-
04:17 AM Revision 433a5a0e (git): [DOC] Fix Time.new description [ci skip]
-
04:04 AM Feature #18276 (Rejected): `Proc#bind_call(obj)` same as `obj.instance_exec(..., &proc_obj)`
- Ok, I close this ticket.
-
03:56 AM Feature #18376: Version comparison API
- I think it is useful for not just gem authors but also application developers.
In my known case of providing an SDK ... -
03:41 AM Feature #14794 (Feedback): Primitive arrays (Ruby 3x3)
- As far as I understand, this ticket proposes an optimization of the Array representation, for example, by using raw m...
-
02:41 AM Feature #14794: Primitive arrays (Ruby 3x3)
- @ahorek I guess what you want is like `pandas.Series`. Is my speculation is correct?
-
03:28 AM Feature #15504: Freeze all Range objects
- Eregon (Benoit Daloze) wrote in #note-19:
> This issue title is a bit confusing, also https://bugs.ruby-lang.org/iss... -
03:13 AM Feature #14394: Class.descendants
- Note:
The internal implementation of subclass iteration seems fragile (difficult to maintain) because it needs to ... -
03:08 AM Feature #18253: `ID` in `rb_id_table_foreach_with_replace`
- Which patch, passing the ID, or removing ID argument?
-
02:46 AM Bug #18244 (Closed): Unexpected errors output order
-
02:23 AM Bug #16908: Strange behaviour of Hash#shift when used with `default_proc`.
- ioquatix (Samuel Williams) wrote in #note-8:
> Should we introduce some kind of deprecation or warning in 3.1?
No... -
01:46 AM Bug #8826 (Third Party's Issue): BigDecimal#div and #quo different behavior and inconsistencies
- The behavior of `BigDecimal#div` to return an Integer isn't a bug but the specification of `Numeric#div`. `Float#div...
-
01:36 AM Bug #17813: rb_funcall() may reset the latest socket error unexpectedlly since Ruby 3.0.0
- Ruby cannot guarantee that the state of WSA does not change between two method calls, because select is called intern...
12/02/2021
-
11:53 PM Revision 733500e9 (git): Lazily create singletons on instance_{exec,eval} (#5146)
- * Lazily create singletons on instance_{exec,eval}
Previously when instance_exec or instance_eval was called on an o... -
11:41 PM Bug #18374: make: Circular spec/ruby/optional/capi/ext/array_spec.c <- spec/ruby/optional/capi/ext/array_spec.c dependency dropped.
- I have never seen such messages in my environment, and cannot find ones in Ruby CI (disable-shared) or GitHub Actions...
-
10:43 PM Bug #18079: [PATCH] make error for MinGW with Clang/LLVM + LLD
- This no longer happens, presumably fixed by commit:be9cc6c75865b24652d001f0f34f2e63180418c6. Thanks!
-
09:32 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
- FYI, in my environment ruby-3.1.0-preview1 can be cross-installed without error for `aarch64-linux-android` target (w...
-
09:01 PM Bug #18130 (Closed): Showing exceptions from Ractor on console causes errors
- The GH ticket is closed, so I close it too.
-
09:01 PM Revision 1f4af993 (git): [rubygems/rubygems] Move required_ruby_version gemspec attribute to recommended section.
- https://github.com/rubygems/rubygems/commit/de6552ac30
-
08:59 PM Feature #18139 (Rejected): Add a method to stop/kill a Ractor from outside
- Now Ractor is designed to "unexpected interruption free" (at least cross-ractor interruptions) so now it is not accep...
-
08:55 PM Feature #18253: `ID` in `rb_id_table_foreach_with_replace`
- I don't think this was intentional. Nobu, can you apply the patch? (Or I can)
-
08:55 PM Bug #18120 (Assigned): Deadlock and segfault when using autoload in Ractor
-
08:35 PM Feature #18047 (Feedback): TracePoint: Add event type for constant access
-
08:17 PM Bug #17998 (Assigned): ractor: process hanging (with ractors initialized, but not being used)
-
08:14 PM Feature #14835 (Feedback): Support TracePoint#raised_exception on non-:raise events
- Sorry I can't understand the request.
Could you explain more?
-
08:07 PM Feature #17785: Allow named parameters to be keywords
- I personally like `\class` too. I run into the issue from time to time.
-
07:53 PM Misc #17502: C vs Ruby
- > 1) be accessible to C extensions
I think it is better but not sure we can.
> 2) can't be re-written any faste... -
07:41 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
- > it would be nice to have syntax that allows to shorten one-line matchers for predicates where they would be commonl...
-
05:58 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
- Pattern Matching may make a very interesting tie-in here for a short-hand:
```ruby
# Struct provides built-in pat... -
04:16 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
- cvss (Kirill Vechera) wrote in #note-8:
> It's a good occasion to use the composition of Proc/Method objects:
>
>... -
01:52 PM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
- It's a good occasion to use the composition of Proc/Method objects:
``` ruby
collection.detect(&:first_name.to_proc>... -
06:00 AM Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
- Since `Enumerable#detect` or `Enumerable#find` has the argument for the different purpose, I think that the extension...
-
07:40 PM Bug #17840 (Closed): `make install` overriding file permission with 644
- So far my understanding is the `make install` overriding file permission with 644 is specification. In my case with t...
-
07:35 PM Feature #17721: Proc.new should be able to contruct a lambda
- Why a new ticket? What's wrong with this one? If you wanted clarification you didn't have to close it, and even now y...
-
06:45 PM Feature #17721 (Rejected): Proc.new should be able to contruct a lambda
- could you make new ticket with more motivation/example/discussion?
-
07:24 PM Bug #14090 (Assigned): `TestGc#test_interrupt_in_finalizer` fails very rarely
-
07:21 PM Bug #17826 (Assigned): Ractor#take hangs if used in multiple Threads
-
06:57 PM Bug #17765 (Feedback): Segmentation fault when calling String#gsub
-
06:31 PM Feature #17670 (Closed): Improve performance Float#to_i
- closed on GH PR
-
06:07 PM Bug #18382 (Closed): Crash in compaction for ObjectSpace.trace_object_allocations
- Applied in changeset commit:git|9f0c6f20c58067923864575b60af730d191b8f6c.
----------
[Bug #18382] Fix crash in compa... -
04:20 PM Bug #18382 (Closed): Crash in compaction for ObjectSpace.trace_object_allocations
- # GitHub PR: https://github.com/ruby/ruby/pull/5202
`ObjectSpace.trace_object_allocations` can crash with auto-c... -
06:06 PM Revision 9f0c6f20 (git): [Bug #18382] Fix crash in compaction for ObjectSpace.trace_object_allocations
- ObjectSpace.trace_object_allocations can crash when auto-compaction is
enabled. -
05:01 PM Revision fbc16157 (git): YJIT: Fix side-exit typo in comments [ci skip]
-
04:56 PM Feature #18376: Version comparison API
- Sorry @Austin, I was actually replying to @vo.x in my previous comment, but our comments crossed. Anyways, I don't ha...
-
04:54 PM Feature #18376: Version comparison API
- Of course, but I believe most people who need this are gem authors, and most gem authors use rubygems. People develop...
-
04:50 PM Feature #18376: Version comparison API
- deivid (David Rodríguez) wrote in #note-15:
> I'm definitely aware that this is used for what you point out. But mos... -
04:42 PM Feature #18376: Version comparison API
- deivid (David Rodríguez) wrote in #note-15:
> But most gem authors
This is OT, but just FTR, I might be considere... -
04:32 PM Feature #18376: Version comparison API
- There is probably more to this issue.
1. On the first place, I'd love if everybody used introspection instead of v... -
04:11 PM Feature #18376: Version comparison API
- I'm definitely aware that this is used for what you point out. But most gem authors just use it and don't worry about...
-
03:28 PM Feature #18376: Version comparison API
- deivid (David Rodríguez) wrote in #note-11:
> > RubyGems could adopt this API and slowly phase out its own version.
... -
10:45 AM Feature #18376: Version comparison API
- That feature request was rejected by Matz because of not being common enough, and nothing seems to have changed in th...
-
10:35 AM Feature #18376: Version comparison API
- `String#version_compare` (#5861) would likely be a much less invasive way to add this, and so probably better.
-
09:56 AM Feature #18376: Version comparison API
- > RubyGems could adopt this API and slowly phase out its own version.
Thanks for bringing that up. The more I thin... -
08:16 AM Feature #18376: Version comparison API
- If you are saying we want to use some rubygems feature with --disable-gems, we need to raise #17684 again.
-
07:47 AM Feature #18376: Version comparison API
- `::Version` will be conflict with `optparse`'s convention. Probably we need to consider the naming.
ref: https://git... -
03:56 PM Revision 6b64e788 (git): [ruby/irb] Examine indentation of in keyword when trying to type include
- Use in_keyword_case_scope?
Return fast
https://github.com/ruby/irb/commit/8acc7f8dc7 -
03:51 PM Revision d486286f (git): [ruby/irb] Add Alt+d keycode when convert-meta isn't used
- I pushed reline#389 for when convert-meta is not turned on in .inputrc.
Alt+D in irb also needs to be set to the keyc... -
03:48 PM Bug #18377: Integer#times has different behavior depending on the size of the integer
- jemmai (Jemma Issroff) wrote in #note-4:
> Thanks for the quick response Jeremy! I'm very new to opening issues on h... -
02:36 PM Bug #18377: Integer#times has different behavior depending on the size of the integer
- Thanks for the quick response Jeremy! I'm very new to opening issues on here and making fixes on Ruby. Quick question...
-
12:22 AM Bug #18377 (Closed): Integer#times has different behavior depending on the size of the integer
- Applied in changeset commit:git|fe1725236c8a4d6cb780874c470f7f443185ed38.
----------
Don't call + and < in Integer.t... -
03:42 PM Revision dcbe29d2 (git): [ruby/irb] Fix bug infinite loop when pasting multilines fo code in Ruby 2.6
- Fix bug infinite loop when pasting multilines fo code in Ruby 2.6.
This is not reproduced in Ruby 2.7.
Changes added ... -
03:39 PM Revision 4d4716d9 (git): [ruby/reline] No need to check `x > 0`
- Checked in the previous line.
https://github.com/ruby/reline/commit/bf774c0f2c - 03:14 PM Revision 0b22e3e1 (git): * 2021-12-03 [ci skip]
-
03:14 PM Revision f7bdfb39 (git): Don't clear the constant cache when finishing compaction
- References are being updated correctly, so this is no longer necessary
-
02:41 PM Revision ca33b590 (git): [ruby/reline] fix `TerminfoError` -> `Reline::Terminfo::TerminfoError`
- https://github.com/ruby/reline/commit/c07b0ace6a
-
02:41 PM Revision 697d7b8d (git): [ruby/reline] Rescue if tigetstr(capname) cannot be obtained
- fix https://github.com/ruby/reline/issues/384
If `$TERM` is `vt102`, there are no `kend`, `khome`, `civis`, or `cnor... -
02:19 PM Bug #18381: Default vs Bundled gems
- 💡Not sure if this helps, but [Ruby Standard Gems](https://stdgems.org) is always a great source of reference. I use i...
-
01:24 PM Bug #18381 (Closed): Default vs Bundled gems
- Could there be documented what is the difference between default and bundled gems? E.g.
* Are the Bundled gems con... -
02:00 PM Feature #12125: Proposal: Shorthand operator for Object#method
- One more use case - method composition, for example from #18369:
``` ruby
collection.detect(&:first_name>>"Dorian... -
01:21 PM Revision 3f1dcd7f (git): Cache downloaded files
- Cache downloaded external libraries/gems, which are expected not
changed so frequently.
Also sometimes downloading f... -
12:13 PM Revision 60fc8dda (git): update-bundled_gems.rb: Fix typo and version comparison
-
09:29 AM Revision 524a808d (git): Define Ripper::Lexer::Elem#to_s
- Alias `#inspect` as `#to_s` also in the new `Ripper::Lexer::Elem`
class, so that `puts Ripper::Lexer.new(code).scan` ... -
09:10 AM Revision 39f2b4f1 (git): [rubygems/rubygems] This warrants a comment
- https://github.com/rubygems/rubygems/commit/8fa29e5e55
-
09:10 AM Revision cf882713 (git): [rubygems/rubygems] Fix gemspec source unlocking also for prereleases like 0.0.0.SNAPSHOT
- The default prerelease requirement in rubygems doesn't actually match
things like "0.0.0.SNAPSHOT".
https://github.c... -
09:10 AM Revision 2a15b28a (git): [rubygems/rubygems] Fix materialization of locked 0 prereleases
- Since the default requirement in rubygems is ">= 0", it was failing to
match 0 prereleases. Changing the default glob... -
08:32 AM Bug #18380 (Closed): TestAddressResolve#test_socket_getnameinfo_domain_blocking test failures
- Testing Ruby 3.1.0, I observe the following test failure:
~~~
2) Error:
TestAddressResolve#test_socket_getname... -
08:29 AM Bug #18378: Parsing CSV files from ARGF not working correctly anymore (it stopped working starting from Ruby 2.5)
- Okay, thank you, I reported it there
-
02:02 AM Bug #18378 (Third Party's Issue): Parsing CSV files from ARGF not working correctly anymore (it stopped working starting from Ruby 2.5)
- Could you report this to https://github.com/ruby/csv ?
-
01:05 AM Bug #18378 (Third Party's Issue): Parsing CSV files from ARGF not working correctly anymore (it stopped working starting from Ruby 2.5)
- Hi everyone,
I noticed that, starting from Ruby 2.5, parsing multiple CSV files from `ARGF` stops after reading fi... -
07:58 AM Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
- Thanks for explaining. Indeed, I tested I can confirm that,
by default it seems to set debugflags to "-g3" (or -gg... -
07:45 AM Misc #16980 (Closed): Improve documentation on JSON#parse and JSON#parse!
- Merged at https://github.com/flori/json/commit/75ada77b9664c1d1f0ae6e210f8db4919849561e
-
07:07 AM Revision fe506d79 (git): [MSWin] Stop passing non-numeric string to `exit` command
-
06:55 AM Revision 8944009b (git): Deprecate `Lexer::Elem#[]` and `Lexer::State#[]`
- Discussed in https://github.com/ruby/ruby/pull/5093#issuecomment-964426481.
> it would be enough to mimic only [] fo... -
06:55 AM Revision 2b22c935 (git): Compatibility with IRB
- Instead of accessing the struct as an array, access it via methods. There are other places inside of this file alread...
-
06:55 AM Revision 3685b5af (git): Only iterate Lexer heredoc arrays
- The last element in the `@buf` may be either an array or an `Elem`. In the case it is an `Elem` we iterate over every...
-
06:55 AM Revision 3f74eaa7 (git): ~1.10x faster Change Ripper.lex structs to classes
- ## Concept
I am proposing we replace the Struct implementation of data structures inside of ripper with real classes... -
06:53 AM Revision 6721ce1c (git): Cast tv_usec to int32_t to fit in tv_nsec
- suseconds_t, which is the type of tv_usec, may be defined with a longer
size type than tv_nsec's type (long). So usec... -
03:28 AM Revision a7d0c2c4 (git): Needs to update revision.h unless existing [ci skip]
-
03:05 AM Misc #18371: Release branches (release information in general)
- On 2021-12-02 09:24, tenderlovemaking (Aaron Patterson) wrote:
> Issue #18371 has been updated by tenderlovemaking ... -
02:44 AM Misc #18371: Release branches (release information in general)
- tenderlovemaking (Aaron Patterson) wrote in #note-3:
> So is RC the point when we create a branch? I guess I'm just... -
02:13 AM Misc #18371 (Assigned): Release branches (release information in general)
- >I guess I'm just not clear on when release branches get made.
It's totally release manager's convenience. -
12:24 AM Misc #18371: Release branches (release information in general)
- Eregon (Benoit Daloze) wrote in #note-2:
> > when the first preview is shipped
>
> Do you mean when the first RC ... -
02:23 AM Bug #18379 (Closed): [CI] Windows mingw/ucrt - test-all timeout failures
- Recently there was another test-all timeout failure on a Windows mingw or ucrt job. These are intermittent failures,...
-
12:21 AM Revision fe172523 (git): Don't call + and < in Integer.times for !FIXNUM
- The methods aren't called for FIXNUM, and it's best to have
consistent behavior.
Fixes [Bug #18377]
Also available in: Atom