Project

General

Profile

Activity

From 03/25/2022 to 03/31/2022

03/31/2022

11:21 PM Bug #18673: Anonymous block forwarding fails when combined with keyword arguments
This does seem to be a bug. It affects method that accept explicit keyword parameters (keyword splats are not affect... jeremyevans0 (Jeremy Evans)
10:19 PM Bug #18673 (Closed): Anonymous block forwarding fails when combined with keyword arguments
Hello!
I tried to use the anonymous block forwarding feature introduced in https://bugs.ruby-lang.org/issues/11256...
brasic (Carl Brasic)
10:52 PM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
> many of functions involved above don't ever return ETIMEDOUT, so it would be incorrect/surprising to reuse it for t... ioquatix (Samuel Williams)
05:15 PM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
AFAIK Errno::* is only meant for what the libc/syscalls would return, nothing else, so doesn't fit here.
As said abo...
Eregon (Benoit Daloze)
11:46 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
By the way, this still doesn't address that some operations can return `Errno::ETIMEDOUT` and this class of errors is... ioquatix (Samuel Williams)
11:25 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
I am fine with `IO::TimeoutError` but again, I'm not sure it's strictly an error. Not all exceptions or errors have t... ioquatix (Samuel Williams)
10:58 AM Feature #18630: Introduce general `IO#timeout` and `IO#timeout=` for blocking operations.
ioquatix (Samuel Williams) wrote in #note-15:
> @eregon it makes sense to me to introduce `IO::Timeout` or `IO::Time...
Eregon (Benoit Daloze)
09:44 PM Bug #18672 (Closed): Request to backport "Remove dependency on libcapstone"
This [commit] makes it easier to build Ruby and I would like it to be
included in the next point release for the 3.1...
alanwu (Alan Wu)
09:26 PM Revision 22220329 (git): Remove dependency on libcapstone
We have received reports of build failures due to this configuration
check modifying compile flags. Since only YJIT d...
alanwu (Alan Wu)
08:09 PM Revision 056b7a86 (git): [DOC] Enhanced RDoc for String (#5742)
Treats:
#force_encoding
#b
#valid_encoding?
#ascii_only?
#scrub
#scrub!
#unicode_normaliz...
burdettelamar (Burdette Lamar)
06:39 PM Revision bb037f6d (git): Remove hard-coded swept slots threshold
eightbitraptor (Matt V-H)
05:35 PM Bug #18373: Bundled gem (RBS, debug) extensions are not properly built
vo.x (Vit Ondruch) wrote in #note-25:
I have put together https://github.com/ruby/ruby/pull/5743 which should addr...
vo.x (Vit Ondruch)
04:14 PM Bug #18625: ruby2_keywords does not unmark the hash if the receiving method has a *rest parameter
I also noticed another inconsistency on 3.0.3 and current master: `-> *args { args.last }.call(*args)` does not copy ... Eregon (Benoit Daloze)
03:23 PM Revision f380a255 (git): Update default gems list at 8a38419b73ec2b698dd2d0462055f3 [ci skip]
git[bot]
03:18 PM Revision 8a38419b (git): [ruby/ostruct] v0.5.5
https://github.com/ruby/ostruct/commit/ce879e56cf Marc-Andre Lafortune
03:17 PM Revision 5357b6bf (git): * 2022-04-01 [ci skip]
git[bot]
03:16 PM Revision 87517696 (git): [ruby/ostruct] Avoid using block_given in the presence of aliases
defined?(yield) bypasses the block_given? method (or any aliases
to it) and always does the right thing.
https://git...
headius (Charles Nutter)
02:06 PM Feature #16978: Ruby should not use realpath for __FILE__
We have hit this problem as well in rubygems and it is really unexpected and confusing.
https://github.com/rubygem...
retro (Josef Šimánek)
01:18 PM Feature #18594: Add a #to_h method on URI::Generic
The use case I had that brought this up was actually around generating complex configuration files for another produc... jimcavoli (Jim Cavoli)
12:34 PM Revision af2ab0dd (git): [ruby/psych] Make a static library from PIC object files
On some platforms, PIC and non-PIC code are incompatible and the
latter cannot be used for shared objects.
https://g...
nobu (Nobuyoshi Nakada)
12:03 PM Bug #18455: `IO#close` has poor performance and difficult to understand semantics.
@shyouhei what was the point of https://github.com/ioquatix/ruby/commit/b121cfde5fbc8cd20684a5fd94047f40323a8353 - Pe... ioquatix (Samuel Williams)
12:00 PM Feature #18668: Merge `io-nonblock` gems into core
I support this change. In fact 90% of the code already exists in CRuby, it's just a matter of exposing it.
- I don...
ioquatix (Samuel Williams)
11:22 AM Feature #18668: Merge `io-nonblock` gems into core
Sorry, it seems Redmine/I messed up the link by including the `:` in it.
This should work: https://github.com/search...
Eregon (Benoit Daloze)
10:44 AM Feature #18668: Merge `io-nonblock` gems into core
Eregon (Benoit Daloze) wrote in #note-3:
> > Are there any practical usages of it?
>
> I already mentioned them:
...
shyouhei (Shyouhei Urabe)
09:47 AM Feature #18668: Merge `io-nonblock` gems into core
> Are there any practical usages of it?
I already mentioned them:
> This is needed when using a Fiber scheduler but ...
Eregon (Benoit Daloze)
01:10 AM Feature #18668: Merge `io-nonblock` gems into core
I don't think this gem deserves a room into core. Are there any practical usages of it? Note that `IO#read_nonblock... shyouhei (Shyouhei Urabe)
11:00 AM Revision 834c3b35 (git): [rubygems/rubygems] Update bundler documentation to reflect bundle config scope changes
In https://github.com/rubygems/rubygems/pull/4152 `bundle config` was changed
to default to local scope (instead of g...
James Hill
10:33 AM Bug #18671: ruby2_keywords_hash not #equal? to itself with __send__
Indeed:
```ruby
h = {a: 1}
h = Hash.ruby2_keywords_hash(h)
args = [h]
p h.equal?(h) # => true
p h.equal?(*arg...
Eregon (Benoit Daloze)
09:01 AM Bug #18670 (Closed): MatchData#[start, length] pads nil values when negative start is given
Applied in changeset commit:git|d8189ed23f02dd197453279aeee9be1785337d4f.
----------
Return only captured range in `...
nobu (Nobuyoshi Nakada)
06:46 AM Bug #18670: MatchData#[start, length] pads nil values when negative start is given
https://github.com/ruby/ruby/pull/5740 nobu (Nobuyoshi Nakada)
06:35 AM Bug #18670: MatchData#[start, length] pads nil values when negative start is given
It is since 2.4.0. nobu (Nobuyoshi Nakada)
09:01 AM Revision d8189ed2 (git): Return only captured range in `MatchData` [Bug #18670]
nobu (Nobuyoshi Nakada)
03:52 AM Revision ddd83e84 (git): test/date/test_date_parse.rb: relax the time limit
The timeout was very strict for weak CI machines like qemu-riscv.
Due to the additional overhead for Regexp.timeout=,...
mame (Yusuke Endoh)
03:18 AM Revision 217cea78 (git): [ruby/psych] Remove `unknown` vendor for cross-compiling tool prefix
https://github.com/ruby/psych/commit/a4ffa06646 nobu (Nobuyoshi Nakada)
01:49 AM Revision 663c297e (git): Remove CI configuration files from extracted bundled gems
nobu (Nobuyoshi Nakada)
01:49 AM Revision abfd859b (git): Remove github and git related files from extracted bundled gems
nobu (Nobuyoshi Nakada)
01:48 AM Bug #18669: Warning `flags ignored` is displayed for `Regexp.new(/regexp/)`
I confirmed the expected behavior in the edge Ruby. Thank you for the quick fixing! koic (Koichi ITO)
01:14 AM Bug #18669: Warning `flags ignored` is displayed for `Regexp.new(/regexp/)`
Yes, it was my fault. Thank you for your report! mame (Yusuke Endoh)
01:08 AM Bug #18669 (Closed): Warning `flags ignored` is displayed for `Regexp.new(/regexp/)`
Applied in changeset commit:git|c499a4c28a62813752aeb894d68d92fcec850ac0.
----------
re.c: stop a wrong warning of "...
mame (Yusuke Endoh)
01:07 AM Revision c499a4c2 (git): re.c: stop a wrong warning of "flags ignored" on Regexp.new(//)
[Bug #18669] mame (Yusuke Endoh)

03/30/2022

11:35 PM Revision 3a70d4cd (git): [DOC] Fix ghcr link
S_H_ (Shun Hiraoka)
11:05 PM Bug #18247: weird results for `Array#slice` or `Array#[]` with argument of type `Enumerator::ArithmeticSequence`
This is still an issue in the master branch. I've submitted a pull request to fix it: https://github.com/ruby/ruby/p... jeremyevans0 (Jeremy Evans)
11:04 PM Bug #12235 (Closed): URI.encode issue with square brackets
jeremyevans0 (Jeremy Evans)
11:04 PM Bug #9806 (Closed): URI#encode doesn't encode characters '[' and ']'. They should be encoded as %5B and %5D respectively.
`URI.encode` was removed in Ruby 3.0. jeremyevans0 (Jeremy Evans)
10:35 PM Bug #17835 (Closed): Net::HTTP should automatically add Accept-Encoding request header on HEAD request as well
jeremyevans0 (Jeremy Evans)
10:09 PM Bug #18667 (Closed): Windows mswin RbConfig::CONFIG['LIBRUBY_SO'], ABI version '+' suffix
Applied in changeset commit:git|9f306618b169143237d8fad0a898f2accf0cdd28.
----------
[Bug #18667] Define RUBY_API_VE...
peterzhu2118 (Peter Zhu)
06:45 PM Bug #18667: Windows mswin RbConfig::CONFIG['LIBRUBY_SO'], ABI version '+' suffix
Hello, thank you for the report. I have [a fix here](https://github.com/ruby/ruby/pull/5736), please let me know if t... peterzhu2118 (Peter Zhu)
12:03 AM Bug #18667 (Assigned): Windows mswin RbConfig::CONFIG['LIBRUBY_SO'], ABI version '+' suffix
hsbt (Hiroshi SHIBATA)
10:08 PM Revision 9f306618 (git): [Bug #18667] Define RUBY_API_VERSION on Windows
On other platforms, RUBY_SO_NAME is defined from RUBY_API_VERSION.
ruby_version contains the ABI version, which is no...
peterzhu2118 (Peter Zhu)
07:14 PM Revision 0cb43034 (git): Repair format for What's Here in Dir (#5737)
burdettelamar (Burdette Lamar)
06:46 PM Revision ffcdbedb (git): Repaired What's Here sections for Range, String, Symbol, Struct (#5735)
Repaired What's Here sections for Range, String, Symbol, Struct. burdettelamar (Burdette Lamar)
06:39 PM Revision 79b59fee (git): Update NEWS for proc autosplat change
jeremyevans (Jeremy Evans)
06:04 PM Bug #18633 (Closed): proc { |a, **kw| a } autosplats and treats empty kwargs specially
Applied in changeset commit:git|fbaadd1cfe7fbfd1b904f193f99d7c845a6ed804.
----------
Do not autosplat array in block...
jeremyevans (Jeremy Evans)
06:04 PM Revision 0dd63216 (git): * 2022-03-31 [ci skip]
git[bot]
06:03 PM Revision fbaadd1c (git): Do not autosplat array in block call just because keywords accepted
If the block only accepts a single positional argument plus keywords,
then do not autosplat. Still autosplat if the ...
jeremyevans (Jeremy Evans)
06:02 PM Bug #18671 (Rejected): ruby2_keywords_hash not #equal? to itself with __send__
This is expected. When you use `*args`, it passes the flagged hash as keywords (new hash), it doesn't pass it throug... jeremyevans0 (Jeremy Evans)
04:55 PM Bug #18671 (Rejected): ruby2_keywords_hash not #equal? to itself with __send__
```ruby
h = {a: 1}
h = Hash.ruby2_keywords_hash(h)
args = [h]
p h.equal?(h) # => true
p h.__send__(:equal?, *a...
Eregon (Benoit Daloze)
04:30 PM Bug #18670 (Closed): MatchData#[start, length] pads nil values when negative start is given

Example
``` ruby
irb(main):001:0> /(.)(.)(\d+)(\d)/.match("THX1138.")[-1, 10]
=> ["8", nil, nil, nil, nil, nil, ...
bjfish (Brandon Fish)
03:16 PM Bug #18669 (Closed): Warning `flags ignored` is displayed for `Regexp.new(/regexp/)`
I encountered an unexpected warning in Ruby 3.2.0dev.
## Reproduction code
```ruby
Regexp.new(/regexp/)
```
...
koic (Koichi ITO)
02:50 PM Bug #18625: ruby2_keywords does not unmark the hash if the receiving method has a *rest parameter
FWIW, I found that Rails is currently missing some `ruby2_keywords` due to this bug.
For example when running rspec-...
Eregon (Benoit Daloze)
02:08 PM Revision 75efbb98 (git): [ruby/psych] Propagate the host configuration to libyaml
https://github.com/ruby/psych/commit/0e37e19707 nobu (Nobuyoshi Nakada)
01:33 PM Revision dde164e9 (git): Decouple incremental marking step from page sizes
Currently, the number of incremental marking steps is calculated based
on the number of pooled pages available. This ...
peterzhu2118 (Peter Zhu)
12:27 PM Feature #18660: Line event flags on instruction in method/block signature
@ko1 What's the performance problem to have the line event on the first bytecode?
Why is it more expensive to check ...
Eregon (Benoit Daloze)
12:12 PM Misc #18652: DevMeeting-2022-04-21
* [Feature #18668] Merge `io-nonblock` gems into core (eregon)
* Let's do it?
* Unlike io-wait these methods seem...
Eregon (Benoit Daloze)
12:11 PM Feature #18668 (Open): Merge `io-nonblock` gems into core
The new io-nonblock gem defines just 3 methods on IO: (https://github.com/ruby/io-nonblock/blob/e20578b24405d225e6383... Eregon (Benoit Daloze)
07:51 AM Feature #17837 (Closed): Add support for Regexp timeouts
Applied in changeset commit:git|ffc3b37f969a779f93b8f8a5b3591b4ef7de1538.
----------
re.c: Add Regexp.timeout= and R...
mame (Yusuke Endoh)
01:22 AM Feature #17837: Add support for Regexp timeouts
@naruse said "let's try it with Ruby 3.2.0-preview1" so I'll merge my PR soon. mame (Yusuke Endoh)
07:50 AM Revision ad808506 (git): Update dependencies
mame (Yusuke Endoh)
07:50 AM Revision 5df2589b (git): internal/ractor.h: Added
Currently it has only one function prototype. mame (Yusuke Endoh)
07:50 AM Revision 2ade4027 (git): re.c: raise Regexp::TimeoutError instead of RuntimeError
mame (Yusuke Endoh)
07:50 AM Revision 34b288f8 (git): doc/regexp.rdoc: Add explanation about Regexp timeout configuration
mame (Yusuke Endoh)
07:50 AM Revision ce87bb8b (git): re.c: Add `timeout` keyword for Regexp.new and Regexp#timeout
mame (Yusuke Endoh)
07:50 AM Revision ffc3b37f (git): re.c: Add Regexp.timeout= and Regexp.timeout
[Feature #17837] mame (Yusuke Endoh)
07:50 AM Revision 23530d68 (git): ractor.c: Add a helper function to ensure the context is a main ractor
mame (Yusuke Endoh)
07:50 AM Revision a9400211 (git): thread.c: Move double2hrtime and hrtime2double to hrtime.h
... to make them available in other places than thread.c mame (Yusuke Endoh)
07:36 AM Revision 42a0bed3 (git): Prefix ccan headers (#4568)
* Prefixed ccan headers
* Remove unprefixed names in ccan/build_assert
* Remove unprefixed names in ccan/check_type...
nobu (Nobuyoshi Nakada)
05:38 AM Revision 8d27d00a (git): Fix locations of the second argument
nobu (Nobuyoshi Nakada)
02:31 AM Revision 71aa43c7 (git): [ruby/psych] Configure libyaml from the original source
https://github.com/ruby/psych/commit/54a9ba9d10 nobu (Nobuyoshi Nakada)
01:54 AM Revision 0bca029d (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)
01:33 AM Revision 5d43969e (git): Update NEWS for TracePoint#enable target_thread default change
jeremyevans (Jeremy Evans)
01:14 AM Bug #16889 (Closed): TracePoint.enable { ... } also activates the TracePoint for other threads, even outside the block
Applied in changeset commit:git|9c1d32a7ada794ecd0356d56f7be3cdf3982d8ac.
----------
Make TracePoint#enable with blo...
jeremyevans (Jeremy Evans)
01:14 AM Revision 3cad54a2 (git): Fix comment
jeremyevans (Jeremy Evans)
01:14 AM Revision d8dfabbf (git): Fix spec description
Co-authored-by: Benoit Daloze <[email protected]> jeremyevans (Jeremy Evans)
01:14 AM Revision 750e1859 (git): Update comment for TracePoint#enable
Co-authored-by: Benoit Daloze <[email protected]> jeremyevans (Jeremy Evans)
01:14 AM Revision 3c6a0033 (git): Avoid trace events in implementation of TracePoint#enable
This is more backwards compatible, and should fix issues with
power_assert.
Unfortunately, it requires using a senti...
jeremyevans (Jeremy Evans)
01:14 AM Revision 9c1d32a7 (git): Make TracePoint#enable with block target current thread by default
If TracePoint#enable is passed a block, it previously started
the trace on all threads. This changes it to trace onl...
jeremyevans (Jeremy Evans)

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)
 

Also available in: Atom