Project

General

Profile

Activity

From 03/28/2024 to 04/03/2024

04/03/2024

11:44 PM Revision 60567731 (git): Move shareable_constant_value logic from parse.y to compile.c
yui-knk (Kaneko Yuichiro)
09:34 PM Revision 4ef99905 (git): [PRISM] Enhance syntax error message extraction in test_literal_suffix btest
kddnewton (Kevin Newton)
09:34 PM Revision ced6aff2 (git): [PRISM] Mark constant path owning expressions as not popped
kddnewton (Kevin Newton)
09:34 PM Revision 6bbb3e31 (git): [ruby/prism] Allow retry in rescue modifier
https://github.com/ruby/prism/commit/debe19459a kddnewton (Kevin Newton)
09:34 PM Revision 7e28d3c1 (git): [PRISM] Enable passing tests for invalid block exits
kddnewton (Kevin Newton)
09:34 PM Revision ffba4847 (git): [PRISM] Fix up syntax error message parsing in btests
kddnewton (Kevin Newton)
09:34 PM Revision e48fd409 (git): [ruby/prism] No invalid block exits in eval
https://github.com/ruby/prism/commit/85e045ce40 kddnewton (Kevin Newton)
09:34 PM Revision a64f1ab6 (git): [ruby/prism] Fix up pm_node_list_grow
https://github.com/ruby/prism/commit/7784365d3f kddnewton (Kevin Newton)
09:34 PM Revision a33f19f7 (git): [ruby/prism] Allow yields in default values in method definitions
https://github.com/ruby/prism/commit/5bc4cc3413 kddnewton (Kevin Newton)
09:34 PM Revision bddd004c (git): [ruby/prism] Further delineate block types
https://github.com/ruby/prism/commit/750116e5dc kddnewton (Kevin Newton)
09:34 PM Revision e19fccbf (git): [ruby/prism] Delineate rescue/else/ensure for more accurate exits
https://github.com/ruby/prism/commit/92868fad78 kddnewton (Kevin Newton)
09:34 PM Revision be48b733 (git): [ruby/prism] Pass block exits up the tree
https://github.com/ruby/prism/commit/168f72b9fe kddnewton (Kevin Newton)
09:34 PM Revision 1fb11824 (git): [ruby/prism] Introduce PM_NODE_LIST_FOREACH to make it easier to iterate over node lists
https://github.com/ruby/prism/commit/5d4da7c69c kddnewton (Kevin Newton)
09:34 PM Revision 198d197a (git): [ruby/prism] Allow block exits in defined? and fix modifier while/until
https://github.com/ruby/prism/commit/2752f0b8df kddnewton (Kevin Newton)
09:34 PM Revision 7ddf0935 (git): [ruby/prism] Allow block exits from while/until/for
https://github.com/ruby/prism/commit/bc46306b9b kddnewton (Kevin Newton)
09:34 PM Revision 664a5082 (git): [ruby/prism] Check for syntax errors using RubyVM
https://github.com/ruby/prism/commit/9e200dd1c1 kddnewton (Kevin Newton)
09:34 PM Revision 1153bcde (git): [ruby/prism] Fix up errors test
https://github.com/ruby/prism/commit/5f86742537 kddnewton (Kevin Newton)
09:34 PM Revision 8a18a600 (git): [ruby/prism] Fix up location tests
https://github.com/ruby/prism/commit/eeef9eb09e kddnewton (Kevin Newton)
09:34 PM Revision e454cf22 (git): [ruby/prism] Update fixtures to be all valid Ruby
https://github.com/ruby/prism/commit/a0b978d25b kddnewton (Kevin Newton)
09:34 PM Revision 7d9e5061 (git): [ruby/prism] Correct errors for invalid retry
https://github.com/ruby/prism/commit/96ca6e51fc kddnewton (Kevin Newton)
09:34 PM Revision a83736c2 (git): [ruby/prism] Log errors for invalid jumps
https://github.com/ruby/prism/commit/892d0f9310 kddnewton (Kevin Newton)
09:34 PM Revision 447d3cca (git): [ruby/prism] Update unparser tests
https://github.com/ruby/prism/commit/b70f760b28 kddnewton (Kevin Newton)
09:34 PM Revision 79c17250 (git): [ruby/prism] Update seattlerb/ruby_parser tests
https://github.com/ruby/prism/commit/cd823d5026 kddnewton (Kevin Newton)
09:34 PM Revision 6cd35215 (git): [ruby/prism] Update whitequark/parser tests
https://github.com/ruby/prism/commit/b1492ec87c kddnewton (Kevin Newton)
09:34 PM Revision 08c841ff (git): [ruby/prism] Use tilde for extended error lines
https://github.com/ruby/prism/commit/daaa386a4f kddnewton (Kevin Newton)
09:34 PM Revision 3147404d (git): [ruby/prism] Match circular parameter error message
https://github.com/ruby/prism/commit/c0381b10e4 kddnewton (Kevin Newton)
09:28 PM Revision 571bfc74 (git): YJIT: update code optimization tips in yjit.md (#10445)
* YJIT: update code optimization tips in yjit.md
* Function => method
maximecb (Maxime Chevalier-Boisvert)
07:49 PM Revision c7cda1ae (git): YJIT: Let sp_opnd take the number of slots (#10442)
k0kubun (Takashi Kokubun)
06:06 PM Revision f24bf2f9 (git): Do not rely on ripper for magic comment test
kddnewton (Kevin Newton)
05:38 PM Revision 354e1583 (git): YJIT: Suppress warn(static_mut_refs) (#10440)
k0kubun (Takashi Kokubun)
05:38 PM Revision 8388604a (git): Revert "Migrate auto_request_review back to CODEOWNERS" (#10441)
Revert "Migrate auto_request_review back to CODEOWNERS (#10133)"
This reverts commit c5b568bab6a1401df385331e4b6ed6209fe4071d.
k0kubun (Takashi Kokubun)
04:25 PM Bug #20409: Missing reporting some invalid breaks
I think
```ruby
END { break }
```
should also be a syntax error, as it seems to always result in a `LocalJumpError`, but I could be wrong.
kddnewton (Kevin Newton)
04:24 PM Bug #20409: Missing reporting some invalid breaks
Sorry hit enter too soon...
```ruby
def a
break
rescue
b while c
end
```
```ruby
def a
break
ensure
b while c
end
```
kddnewton (Kevin Newton)
04:23 PM Bug #20409 (Open): Missing reporting some invalid breaks
kddnewton (Kevin Newton)
03:40 PM Feature #20408: Add heap_live_slots to GC.stat_heap
Thank you for this ticket. I opened a PR that implements this feature: https://github.com/ruby/ruby/pull/10439 peterzhu2118 (Peter Zhu)
02:24 PM Feature #20408 (Open): Add heap_live_slots to GC.stat_heap
`GC.stat` exposes a `heap_live_slots` metric that returns the number of live objects occupying eden slots.
Because the slot size was fixed to `RVALUE_SIZE`, this allowed for some basic approximations of how many bytes were live/in-use...
mk (Matthias Käppler)
02:14 PM Revision f928e60d (git): Check if a fatal signal is from kernel
On Linux, `siginfo_t` uses a union for each `si_code`, and the field
corresponding to `si_pid` does not belong to the `_sigfault` field for
SIGSEGV. It actually overlaps the `si_addr` field, which is usually
non-zero on stack overflow.
...
nobu (Nobuyoshi Nakada)
01:47 PM Revision 4960a598 (git): Reapply "Mark iseq structs with rb_gc_mark_movable"
This reverts commit 16c18eafb579cf2263c7e0057c4c81358fe62075. peterzhu2118 (Peter Zhu)
11:50 AM Misc #20407 (Closed): Question about applying encoding modifier to an interpolated Regexp
I am wondering how Regexp encoding modifiers (u, s, e, n) interfere in encoding negotiation of parts/fragments in an interpolated Regexp literal.
Examples #1
```ruby
# encoding: us-ascii
# Unicode: Ф - U+0424
# windows-1251: Ф...
andrykonchin (Andrew Konchin)
10:45 AM Feature #20350: Return chilled string from Symbol#to_s
I added this to the dev meeting: https://bugs.ruby-lang.org/issues/20336#note-8 Eregon (Benoit Daloze)
10:45 AM Misc #20336: DevMeeting-2024-04-17
* [Feature #20350] Return chilled string from Symbol#to_s
* Since there are now chilled strings, it seems the perfect tool to transition to Symbol#to_s eventually returning a frozen String to avoid wasteful allocations.
* OK to ret...
Eregon (Benoit Daloze)
08:00 AM Misc #20336: DevMeeting-2024-04-17
* [Feature #20396] Add `string_value: true/false` parameter to `ObjectSpace.dump_all` (byroot)
* This method is often used in production to investigate memory leak and other memory related issues.
* Because it dumps (pure ASCII) stri...
byroot (Jean Boussier)
10:33 AM Misc #20406: Question about Regexp encoding negotiation
> It seems to behave a bit like string interpolation/concatenation here
Specifically:
```
$ ruby -e '# encoding: EUC-JP
p ("a" + "\xC3\xA9".force_encoding("UTF-8") + "c").encoding'
#<Encoding:UTF-8>
```
But it seems very much unexpecte...
Eregon (Benoit Daloze)
10:29 AM Misc #20406: Question about Regexp encoding negotiation
I found another case which does not seem to respect those rules:
```
$ ruby -ve 'p /#{"é".dup}/e.encoding'
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
#<Encoding:UTF-8>
$ ruby -e 'p /a#{"é".dup}b/e.encoding'
#<Encod...
Eregon (Benoit Daloze)
09:57 AM Misc #20406: Question about Regexp encoding negotiation
> By default, a regexp with only US-ASCII characters has US-ASCII encoding:
I was wondering what kind of check is used for that and it seems to be checking the Regexp source when building it (makes sense):
```
$ ruby -e 'p /a/.encod...
Eregon (Benoit Daloze)
06:10 AM Misc #20406: Question about Regexp encoding negotiation
Seems like a real bug to me.
```
% docker run --rm -it -e 'ALL_RUBY_SINCE=ruby-1.8.7' rubylang/all-ruby ./all-ruby -e 'p(/#{} a/e.encoding)'
ruby-1.8.7 -e:1: undefined method `encoding' for / a/e:Regexp (NoMethodError)
...
shyouhei (Shyouhei Urabe)
09:07 AM Revision 25e28559 (git): Ignore warnings on the bundled gems repo
hsbt (Hiroshi SHIBATA)
08:15 AM Feature #4831 (Closed): Integer#prime_factors
prime is already extracted from ruby repository to https://github.com/ruby/prime.
We should move to its place.
hsbt (Hiroshi SHIBATA)
07:38 AM Revision ce395d7e (git): Reset `$.` before matching
This is a global variable and may happen to be set to 4 elsewhere.
http://ci.rvm.jp/logfiles/brlog.trunk.20240403-054356#L1707
```
The if expression with a boolean range ('flip-flop' operator) warns when Integer literals are used instea...
nobu (Nobuyoshi Nakada)
07:17 AM Revision 56ecd803 (git): Launchable: Add lineNumber field
ono-max (Naoto Ono)
07:04 AM Feature #20404: `2pi`
zverok (Victor Shepelev) wrote in #note-7:
> When writing/reading in Ruby some math, there are several different irky things:
One thing that irks me about Math::sin and friends is that these are not available as methods (on Float a...
duerst (Martin Dürst)
06:35 AM Feature #20404: `2pi`
> This proposal is half joke, half serious.
There are several interesting things to unpack here (though I don’t see any actionable proposals). When writing/reading in Ruby some math, there are several different irky things:
1. `Math:...
zverok (Victor Shepelev)
01:16 AM Feature #20404 (Rejected): `2pi`
April Fools' Day is over. Closing.
This proposal is half joke, half serious. I can think of some reasons why we should introduce `2pi`.
### There are some languages that provide not only `pi` but also commonly used values.
@ko1 ...
mame (Yusuke Endoh)
05:53 AM Misc #12751 (Closed): Incompatibility of Ruby 3
Ruby 3 is already released today. hsbt (Hiroshi SHIBATA)
05:52 AM Feature #14125 (Closed): Readline Module (STDLIB): Add support for ^O emacs keybinding?
readline wrapper is extracted to https://github.com/ruby/readline-ext. Can you file your request to https://github.com/ruby/readline-ext ?
Or we used reline that is pure ruby altanative of readline today. You may need to file this to ...
hsbt (Hiroshi SHIBATA)
05:52 AM Bug #20397: The nkf license in LEGAL file seems to be obsolete
nkf is out of tree these days. Just clearing that section should suffice I think. shyouhei (Shyouhei Urabe)
05:45 AM Bug #19048 (Closed): Install of Ruby 3.1.x fails on Ubuntu 20.04 running on WSL
Closing due to lack of feedback over 1 year. hsbt (Hiroshi SHIBATA)
05:33 AM Misc #13787 (Rejected): The path to Ruby 3.x - would it be useful to have a separate thread here at the tracker, for discussions and issues and ideas related to ruby 3.x?
hsbt (Hiroshi SHIBATA)
04:26 AM Bug #17878 (Assigned): bootstraptest/test_ractor.rb:224 a random failing test with "The outgoing-port is already closed (Ractor::ClosedError)"
hsbt (Hiroshi SHIBATA)
04:22 AM Feature #15261 (Closed): Expose rl_variable_value as Readline.variable_value
We have been moved this discussion to https://github.com/ruby/readline-ext/pull/3. hsbt (Hiroshi SHIBATA)
04:20 AM Bug #20076 (Closed): M:N scheduler is stuck on macOS with RUBY_MN_THREADS=1
This issue is no longer happened while 3 months. I'll close this. hsbt (Hiroshi SHIBATA)
03:50 AM Misc #20387 (Assigned): Meta-ticket for ASAN support
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #20261 (Assigned): Add symbol synonyms for '' and nil for IO method line separator arguments
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #20255 (Assigned): Embedded arrays aren't moved correctly across ractors
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #20225 (Assigned): Inconsistent behavior of regex matching for a regex has a null loop
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #20105 (Assigned): Introduce `IO::Stream` or something similar.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #20102 (Assigned): Introduce `Fiber#resuming?`
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #20082 (Assigned): Killing fibers across threads: unexpected exception
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #20041 (Assigned): Array destructuring and default values in parameters
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #19840 (Assigned): [Proposal] Expand Find pattern to Multiple Find
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #19765 (Assigned): Ractor.make_shareable ignores self of a proc created from a Method
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #19758 (Assigned): Statically link ext/json
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #19696 (Assigned): YJIT panicked - branch stubs should never enlarge branches
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #19642 (Assigned): Remove vectored read/write from `io.c`.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #19472 (Assigned): Ractor::Selector to wait multiple ractors
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #19387 (Assigned): ObjectSpace.each_objects only returns shareable objects after starting a Ractor
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #19363 (Assigned): Fix rb_transient_heap_mark: wrong header (T_STRUCT) segfault
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #19324 (Assigned): Enumerator.product => Enumerable#product
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #19304 (Assigned): Kernel vs Object documentation
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #19171 (Assigned): Update Unicode data to Unicode Version 15.1
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #19154 (Assigned): Specify require and autoload guarantees in ractors
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #19122 (Assigned): Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #19077 (Assigned): Introduce `Hash#dup` copy on write.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #19059 (Assigned): Introduce top level `module TimeoutError` for aggregating various timeout error classes.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #19056 (Assigned): Introduce `Fiber.annotation` for attaching messages to fibers.
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #18818 (Assigned): Thread waitq does not retain referenced objects, can lead to use after free.
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #18761 (Assigned): provide an example wasm project
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #18740 (Assigned): Use of rightward assignment changes line number needed for line-targeted TracePoint
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #18601 (Assigned): Invalid byte sequences in Big5 encodings
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #18275 (Assigned): Add an option to define_method to not capture the surrounding environment
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #18227 (Assigned): Static class initialization.
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #18002 (Assigned): s390x: Tests failing without LC_ALL env
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17884 (Assigned): locindex for profiling tools
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17849 (Assigned): Fix Timeout.timeout so that it can be used in threaded Web servers
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17830 (Assigned): Add Integer#previous and Integer#prev
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17785 (Assigned): Allow named parameters to be keywords
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #17624 (Assigned): Ractor.receive is not thread-safe
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #17617 (Assigned): When a Ractor's incoming port is closed, Ractor.receive_if does not raise Ractor::ClosedError, but instead blocks indefinitely
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #17569 (Assigned): `uri` lib maintainership
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17513 (Assigned): Methods of shareable objects and UnboundMethods should be shareable
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #17502 (Assigned): C vs Ruby
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17473 (Assigned): Make Pathname to embedded class of Ruby
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #17420 (Assigned): Unsafe mutation of $" when doing non-RubyGems require in Ractor
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17414 (Assigned): Ractor should allow access to shareable attributes for Modules/Classes
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17404 (Assigned): Ractor `move:` API to allow shareability check
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #17400 (Assigned): Incorrect character downcase for Greek Sigma
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17393 (Assigned): `Ractor::Moved#inspect`
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #17359 (Assigned): Ractor copy mode is not Ractor-safe
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17288 (Assigned): Optimize __send__ call with a literal method name
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17279 (Assigned): Allow a negative step in Range#step with a block
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17210 (Assigned): More readable and useful `Set#inspect`
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17184 (Assigned): No stdlib function to perform simple string replacement
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #17173 (Assigned): open-uri で ciphers を設定したい
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #17154 (Assigned): Update Pathname Documentation to Clarify Expected Behavior
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16992 (Assigned): Sets: officially ordered
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16989 (Assigned): Sets: need ♥️
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16986 (Assigned): Anonymous Struct literal
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16985 (Assigned): Improve `pp` for `Hash` and `String`
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16978 (Assigned): Ruby should not use realpath for __FILE__
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16894 (Assigned): Integer division for Ruby 3
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16833 (Assigned): Add Enumerable#empty?
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16559 (Assigned): Net::HTTP#request injects "Connection: close" header if #started? is false, wasting HTTP server resources
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #16291 (Assigned): Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_freeze for String and Array types
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #16188 (Assigned): What are the performance implications of the new keyword arguments in 2.7 and 3.0?
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15991 (Assigned): Allow questionmarks in variable names
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15940 (Assigned): Coerce symbols internal fstrings in UTF8 rather than ASCII to better share memory with string literals
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15931 (Assigned): encoding for CESU-8
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15918 (Assigned): Pattern matching for Set
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15881 (Assigned): Optimize deconstruct in pattern matching
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15854 (Assigned): Tracing instance variable assignment
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15837 (Assigned): Module#name_components
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15815 (Assigned): Add option to raise NoMethodError for OpenStruct
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #15802 (Assigned): Reduce the minimum string buffer size from 127 to 63 bytes
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15778 (Assigned): Expose an API to pry-open the stack frames in Ruby
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #15764 (Assigned): Whitespace and control characters should not be permitted in tokens
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15554 (Assigned): warn/error passing a block to a method which never use a block
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15445 (Assigned): Reject '.123' in Float() method
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15408 (Assigned): Deprecate ObjectSpace._id2ref
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #15334 (Assigned): child_info_fork::abort: address space needed by 'emoji_iso2022_kddi.so' on cygwin
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15330 (Assigned): autoload_relative
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #15315 (Assigned): ec_switch can still lose interrupts
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15305 (Assigned): [PATCH] include/ruby/ruby.h (RB_ALLOCV*): remove GC guard
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15277 (Assigned): at_exec
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #15263 (Assigned): [PATCH] vm_trace.c (postponed_job_register): only hit main thread
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15240 (Assigned): Set operations check for is_a?(Set), rather than allowing duck typing
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15192 (Assigned): Introduce a new "shortcut assigning" syntax to convenient setup instance variables
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #15112 (Assigned): Introducing the short form of `STDERR.puts expr.inspect`.
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #15097 (Assigned): Gem install fails on Ruby 2.5.1 with Cygwin (get_dns_server_list undefined)
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #15007 (Assigned): Let all Init_xxx and extension APIs frequently called from init code paths be considered cold
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14982 (Assigned): Improve namespace system in ruby to avoiding top-level names chaos
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14927 (Assigned): Loading multiple files at once
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14859 (Assigned): [PATCH] implement Timeout in VM
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14844 (Assigned): Future of RubyVM::AST?
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14813 (Assigned): [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #14760 (Assigned): cross-thread IO#close semantics
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14724 (Assigned): chains of inequalities
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #14692 (Assigned): Question: Ruby stdlib's Option Parser
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #14640 (Assigned): [win32] File.realpath treats a relative path with a drive letter as an absolute path.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14609 (Assigned): Let `Kernel#p` without an argument print the receiver
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14548 (Assigned): Allow some_array&.[1] to be a valid syntax
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14546 (Assigned): Hash#delete!
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14492 (Assigned): iseq loading + caching should be in core
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14394 (Assigned): Class.descendants
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #14128 (Assigned): Introduce Hash#delete default value
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #13697 (Assigned): [PATCH]: futex based thread primitives
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #13696 (Assigned): Add exchange and noreplace options to File.rename
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #13512 (Assigned): System Threads
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #13385 (Assigned): [PATCH] Make Resolv::DNS::Name validation similar to host and dig commands
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #13378 (Assigned): Eliminate 4 of 8 syscalls when requiring file by absolute path
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #12306 (Assigned): Implement String #blank? #present? and improve #strip and family to handle unicode
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #12244 (Assigned): Add a way to `integer - integer % num`
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #12064 (Assigned): Make creation of enc/unicode/casefold.h automatic again
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #12019 (Assigned): Better low-level support for writing concurrent libraries
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11882 (Assigned): Map or NamedMap
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #11840 (Assigned): Error with "make check" on Cygwin
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #11808 (Assigned): Different behavior between Enumerable#grep and Array#grep
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11735 (Assigned): Porting String#squish and String#squish! from Ruby on Rails' Active Support
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11710 (Assigned): [PATCH] Replace Set#merge with Set#merge! and make Set#merge non-mutating.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11670 (Assigned): Show warning to make nested def obsolete
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11627 (Assigned): make `nonzero` an alias of `nonzero?`
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11599 (Assigned): Dump entries of hash in ObjectSpace
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11518 (Assigned): Queue enhancement - promote! and promote_all!
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11517 (Assigned): Queue enhancement - conditional pop
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #11438 (Assigned): native_thread_init_stack() get machine.stack_start unequal to thread's stack start address, x86 win32
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11390 (Assigned): Allow symbols starting with numbers
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11312 (Assigned): Add Resolv::DNS::Resource::IN::SPF
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11307 (Assigned): exception-free non-blocking Queue#pop
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11299 (Assigned): [PATCH] use Array instead of custom struct for generic ivars
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11292 (Assigned): objspace: Dump type of special consts
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11181 (Assigned): Add a line directive to Ruby
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #11142 (Assigned): Command line argument parser on windows handles double quotes inconsistently.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #11122 (Assigned): exception-free non-blocking Queue/SizedQueue operations
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10932 (Assigned): Enabling allocation tracing as early as possible
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #10628 (Assigned): Peformance of URI module
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10574 (Assigned): Add String#lchomp and String.lchomp!
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10549 (Assigned): Deprecate each_with_index and each_with_object in favor of with_index and with_object
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #10541 (Assigned): Remove shorthand string interpolation syntax
hsbt (Hiroshi SHIBATA)
03:50 AM Misc #10513 (Assigned): instance_eval yields the receiver, but is documented to yield no arguments
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10498 (Assigned): Make `loop` yield a counter
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10489 (Assigned): Add inherit method for clearer and multiple inheritance
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10423 (Assigned): [PATCH] opt_str_lit*: avoid literal string allocations
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #10416 (Assigned): Create mechanism for updating of Unicode data files downstreams when we want
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10404 (Assigned): Allow individual finalizers to be removed with ObjectSpace.undefine_finalizer
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10328 (Assigned): [PATCH] make OPT_SUPPORT_JOKE a proper VM option
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10287 (Assigned): rename COLON3 to COLON2_HEAD.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #10238 (Assigned): todo: remove dependency on malloc_usable_size
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #10128 (Assigned): Quoting problem for arguments of Kernel.system, Kernel.exec on Windows
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #10009 (Assigned): IO operation is 10x slower in multi-thread environment
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #9704 (Assigned): Refinements as files instead of modules
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #9614 (Assigned): ordering of non-Hash items which use st_ internally
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #9590 (Assigned): introduce st_foreach_update and st_foreach_update_check for performance.
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #9409 (Assigned): Cygwin で "filesystem" の encoding が正しくないケース
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #9347 (Assigned): Accept non callable argument to detect
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #9123 (Assigned): Make Numeric#nonzero? behavior consistent with Numeric#zero?
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #9070 (Assigned): Introduce `---` as synonym of `end` keyword
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #9043 (Assigned): Add String#f method as shortcut for #freeze
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #8804 (Assigned): ONCE syntax
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #8663 (Assigned): Officialy alias ArgumentError to ArgError
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #8478 (Assigned): The hash returned by Enumerable#group_by should have an empty array for its default value
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #8449 (Assigned): Array#ary_plus always returns an array
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #8444 (Assigned): Regexp vars $~ and friends are not thread local
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #8270 (Assigned): Ruby should build without thread support (aka minix)
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #8232 (Assigned): Rudiments of abstract algebra in Ruby
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #8229 (Assigned): extend Hash.include?
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #8061 (Assigned): 重複するキーワードをエラーにする
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7914 (Assigned): Case for local class methods
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #7892 (Assigned): MIME encoding bug of NKF.nkf
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7883 (Assigned): Add Regex#to_proc
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7876 (Assigned): Add method for accessing Class from within Singleton Class
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7848 (Assigned): Restore default state for core ruby objects
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7795 (Assigned): Symbol.defined? and/or to_existing_symbol
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7788 (Assigned): YAML Tag Schema Support
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7748 (Assigned): Contextual send
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7745 (Assigned): lib/observer.rb: Observers are compared by identity
hsbt (Hiroshi SHIBATA)
03:50 AM Bug #7742 (Assigned): System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7704 (Assigned): Add a list of enabled (experimental) language features.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7702 (Assigned): Remove Proc#binding
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7657 (Assigned): Array#& doesn't accept Enumerables
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7654 (Assigned): Add optional code block to IO::readlines
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7614 (Assigned): alias_accessor
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7611 (Assigned): Focal method for all loads/requires
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7604 (Assigned): Make === comparison operator ability to delegate comparison to an argument
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7548 (Assigned): Load and Require Callbacks
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7546 (Assigned): Change behavior of `Array#slice` for an argument of `Range` class
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7444 (Assigned): Array#product_set
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7377 (Assigned): #indetical? as an alias for #equal?
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #7149 (Assigned): Constant magic for everyone.
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #6869 (Assigned): Do not treat `_` parameter exceptionally
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #6817 (Assigned): Partial application
hsbt (Hiroshi SHIBATA)
03:50 AM Feature #6641 (Assigned): Hash.auto constructor
hsbt (Hiroshi SHIBATA)
03:44 AM Feature #13604 (Closed): Exposing alternative interface of readline
The C wrapper library of libreadline is extracted https://github.com/ruby/readline-ext from Ruby 3.3. If you still interest this, can you submit your proposal to upstream? hsbt (Hiroshi SHIBATA)
03:31 AM Feature #12676 (Closed): Significant performance increase, and code conciseness, for prime_division method in prime.rb
prime is maintained at https://github.com/ruby/prime today. If you still interest this, can you submit this to upstream repo? hsbt (Hiroshi SHIBATA)
03:24 AM Bug #9189 (Open): Build failure on Windows in case of nonascii TEMP environment.
hsbt (Hiroshi SHIBATA)
03:23 AM Feature #11625 (Open): Unlock GVL for SHA1 calculations
hsbt (Hiroshi SHIBATA)
02:35 AM Feature #15628 (Closed): init_inetsock_internal should fallback to IPv4 if IPv6 is unreachable
Closing in favor of https://bugs.ruby-lang.org/issues/20108 hsbt (Hiroshi SHIBATA)
02:35 AM Feature #17525 (Closed): Implement Happy Eyeballs Version 2 (RFC8305) in Socket.tcp
Closing in favor of https://bugs.ruby-lang.org/issues/20108 hsbt (Hiroshi SHIBATA)
12:55 AM Revision b664590c (git): [DOC] Fix examples for `u` packing directive
The directive is a lowercase `u` instead of an uppercase `U`. Adjusted
input and output to match.
Reported by Leah Neukirchen.
adam12 (Adam Daniels)

04/02/2024

05:26 PM Revision 24a74079 (git): Remove with_gc functions in darray
We can wrap in DURING_GC_COULD_MALLOC_REGION instead. peterzhu2118 (Peter Zhu)
05:19 PM Misc #20406 (Open): Question about Regexp encoding negotiation
I am wondering what are the rules to calculate Regexp literal encoding in case an encoding modifier is specified.
From the documentstion:
> By default, a regexp with only US-ASCII characters has US-ASCII encoding:
> ...
Looking ...
andrykonchin (Andrew Konchin)
04:29 PM Revision 3c4de946 (git): YJIT: A64: Use ADDS/SUBS/CMP (immediate) when possible (#10402)
* YJIT: A64: Use ADDS/SUBS/CMP (immediate) when possible
We were loading 1 into a register and then doing ADDS/SUBS previously.
That was particularly bad since those come up in fixnum operations.
```diff
# integer left shift with rh...
alanwu (Alan Wu)
03:11 PM Revision 94f7098d (git): [PRISM] Fix ISEQ load
kddnewton (Kevin Newton)
02:35 PM Misc #20387: Meta-ticket for ASAN support
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-13:
> That's not a bad idea (avoid adding yet more combinations!) but do you know how widely these builds are currently used and what for? ASAN will make them a heck of a lot slower so tha...
Eregon (Benoit Daloze)
02:28 PM Revision 85e5a99e (git): [PRISM] Document more reasons for failures
kddnewton (Kevin Newton)
12:55 PM Revision 3d1d1435 (git): Launchable: Refactor the logic of JsonStreamWriter
ono-max (Naoto Ono)
12:53 PM Revision 5903fdf4 (git): [DOC] Fix wheather -> whether typos in configure.
eightbitraptor (Matt V-H)
12:21 PM Revision 6ba73783 (git): [PRISM] Enable more passing parsing tests
kddnewton (Kevin Newton)
10:37 AM Revision e816ab0b (git): Remove `rb_imemo_tmpbuf_t` from parser
No parser semantic value types are `VALUE` then no need to
use imemo for managing semantic value stack anymore.
yui-knk (Kaneko Yuichiro)
09:34 AM Revision e6513952 (git): Warn pstore for Ruby 3.5
hsbt (Hiroshi SHIBATA)
08:50 AM Revision 1e5949bd (git): Update to ruby/spec@573cf97
andrykonchin (Andrew Konchin)
06:58 AM Feature #14449 (Closed): error when trying to run rails s
These versions of Ruby and Bundler are EOL today. hsbt (Hiroshi SHIBATA)
06:34 AM Feature #16012 (Closed): Add a (small) test-install suite?
We have this at https://github.com/ruby/actions. hsbt (Hiroshi SHIBATA)
06:29 AM Feature #14217 (Closed): Expose RUBY_PATCHLEVEL_STR or similar with patch level info for rc/preview as a constant
This issue has been fixed at recent version of Bundler.
https://github.com/rubygems/rubygems/pull/7016
hsbt (Hiroshi SHIBATA)
06:22 AM Feature #15036 (Closed): after upgrade when run apt upgrade metasploit
Ruby 2.3 is EOL. You should contact distribution or application maintainer. hsbt (Hiroshi SHIBATA)
05:26 AM Feature #20345 (Closed): Add `--target-rbconfig` option to mkmf
Applied in changeset commit:git|8b55aaa85ca3b5333e6659f0f0b1eabdd0b9491b.
----------
[Feature #20345] Add `--target-rbconfig` option to mkmf
Introduce a new mkmf option `--target-rbconfig` to specify the RbConfig
file for the deploymen...
katei (Yuta Saito)
05:24 AM Revision 8b55aaa8 (git): [Feature #20345] Add `--target-rbconfig` option to mkmf
Introduce a new mkmf option `--target-rbconfig` to specify the RbConfig
file for the deployment target platform. This option is useful for
cross-compiling Ruby extensions without faking the global top-level
`RbConfig` constant.
katei (Yuta Saito)
03:26 AM Misc #20336: DevMeeting-2024-04-17
* [Feature #20347] Separate docs task from all
* I would like to remove docs task from main. It works same as current behavior.
* https://github.com/ruby/ruby/pull/10282/commits/b160083175aed062c320b8d76eafe1c8706309d4
hsbt (Hiroshi SHIBATA)
02:22 AM Revision 457a30df (git): Update bundled gems list at a65d49ce77af76b29ee17ec64c15b7 [ci skip]
git[bot]
02:22 AM Revision a65d49ce (git): Use Rake 13.2.0
hsbt (Hiroshi SHIBATA)
02:22 AM Revision 94f56098 (git): Use fixed version of rake with ostruct
hsbt (Hiroshi SHIBATA)
02:22 AM Revision 4db7c8a2 (git): Warn ostruct for Ruby 3.5
hsbt (Hiroshi SHIBATA)
12:00 AM Feature #20331 (Closed): Should parser warn hash duplication and when clause?
Applied in changeset commit:git|799e854897856e431c03a5122252358e2c57aff2.
----------
[Feature #20331] Simplify parser warnings for hash keys duplication and when clause duplication
This commit simplifies warnings for hash keys duplicat...
yui-knk (Kaneko Yuichiro)

04/01/2024

11:26 PM Revision 799e8548 (git): [Feature #20331] Simplify parser warnings for hash keys duplication and when clause duplication
This commit simplifies warnings for hash keys duplication and when clause duplication,
based on the discussion of https://bugs.ruby-lang.org/issues/20331.
Warnings are reported only when strings are same to ohters.
yui-knk (Kaneko Yuichiro)
10:26 PM Revision 8066e3ea (git): Remove VALUE from `struct rb_strterm_struct`
In the past, it was imemo. However a075c55 changed it.
Therefore no need to use `VALUE` for the first field.
yui-knk (Kaneko Yuichiro)
10:17 PM Misc #20387: Meta-ticket for ASAN support
> How about making ASAN enabled for ruby-debug builds
That's not a bad idea (avoid adding yet more combinations!) but do you know how widely these builds are currently used and what for? ASAN will make them a heck of a lot slower so t...
kjtsanaktsidis (KJ Tsanaktsidis)
01:20 PM Misc #20387: Meta-ticket for ASAN support
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-11:
> * Could we get an ASAN build of ruby into setup-ruby? This would make it easier to use ASAN with github actions and the like.
How about making ASAN enabled for ruby-debug builds a...
Eregon (Benoit Daloze)
07:39 PM Revision b25282e6 (git): [ruby/prism] Replace . with decimal point for strtod
https://github.com/ruby/prism/commit/578a4f983e kddnewton (Kevin Newton)
07:28 PM Revision b7597dac (git): [ruby/prism] Match more error messages
https://github.com/ruby/prism/commit/0cc3a9d63a kddnewton (Kevin Newton)
07:28 PM Revision d6c1cc55 (git): [ruby/prism] Fix up error messages for empty global variable
https://github.com/ruby/prism/commit/fa7559d40b kddnewton (Kevin Newton)
07:28 PM Revision d898f00f (git): [ruby/prism] Match error messages for invalid instance/class variables
https://github.com/ruby/prism/commit/82fd0599ed kddnewton (Kevin Newton)
07:28 PM Revision 67bd5b33 (git): [ruby/prism] Match error message for invalid class/module name
https://github.com/ruby/prism/commit/f00ae59070 kddnewton (Kevin Newton)
07:28 PM Revision 05904c3b (git): [ruby/prism] Match error message for invalid class/module definition
https://github.com/ruby/prism/commit/1879a9d22e kddnewton (Kevin Newton)
07:28 PM Revision a885d597 (git): [ruby/prism] Match error message for multiple blocks given
https://github.com/ruby/prism/commit/6b594d9d42 kddnewton (Kevin Newton)
07:28 PM Revision fee70c1e (git): [ruby/prism] Add better error messages for invalid block-locals
https://github.com/ruby/prism/commit/27ad452436 kddnewton (Kevin Newton)
07:28 PM Revision 1e737ec9 (git): [ruby/prism] Fix up error message for invalid numbered reference alias
https://github.com/ruby/prism/commit/74bff9e834 kddnewton (Kevin Newton)
07:08 PM Revision cc6668c6 (git): [PRISM] Enable passing pattern matching tests
kddnewton (Kevin Newton)
06:13 PM Revision a9658b64 (git): [ruby/prism] Do not track locals starting with _
https://github.com/ruby/prism/commit/0d5a6d936a kddnewton (Kevin Newton)
06:13 PM Revision ec879e7e (git): [ruby/prism] Use RubyVM::InstructionSequence instead of Ripper for validity check
https://github.com/ruby/prism/commit/ddec1c163d kddnewton (Kevin Newton)
06:13 PM Revision c2735c48 (git): [ruby/prism] Track duplicate hash keys for pattern matching
https://github.com/ruby/prism/commit/71ea82f299 kddnewton (Kevin Newton)
06:13 PM Revision f1e385aa (git): [ruby/prism] Track captures in pattern matching for duplicates
https://github.com/ruby/prism/commit/aa2182f064 kddnewton (Kevin Newton)
06:12 PM Revision a531cac3 (git): [ruby/reline] Refactor completion
(https://github.com/ruby/reline/pull/647)
* Refactor completion: split autocompletion and tabcompletion logic and state
* Move completion candidate listup logic from dialog proc to LineEditor
https://github.com/ruby/reline/commit/c3c0...
tompng (tomoya ishida)
04:25 PM Revision 508bddc8 (git): [ruby/reline] Align completion menu items
(https://github.com/ruby/reline/pull/613)
https://github.com/ruby/reline/commit/a622704f62
tompng (tomoya ishida)
04:00 PM Feature #20404: `2pi`
This has been brought up before to add the constant `tau`
https://bugs.ruby-lang.org/issues/17496
jzakiya (Jabari Zakiya)
02:26 PM Feature #20404: `2pi`
The Tau Manifesto (https://tauday.com/) was introduced by Michael Hartl, a Rubyist, and handily `𝜏 == 2π` so it might be worth also considering the tau letter: 𝜏 shan (Shannon Skipper)
11:24 AM Feature #20404: `2pi`
Now that Ruby has been unicode aware for over a decade, it's probably better to use actual pi letter: `2π` byroot (Jean Boussier)
05:40 AM Feature #20404: `2pi`
I really like this proposal. But I think for most of the world, it was a few hours too early. A time around 2024-04-01 12:00:00 UTC may have been easier to understand for most of the world. duerst (Martin Dürst)
03:03 PM Revision e2a1d0b5 (git): [rubygems/rubygems] Improve error message when strict resolution filters out everything
https://github.com/rubygems/rubygems/commit/1ea44b3749 deivid (David Rodríguez)
03:03 PM Revision f80bb383 (git): [rubygems/rubygems] Keep unfiltered versions separately
https://github.com/rubygems/rubygems/commit/7b5cc51a96 deivid (David Rodríguez)
03:03 PM Revision bfdbdf7a (git): [rubygems/rubygems] No need to check for root package every time
https://github.com/rubygems/rubygems/commit/6ca192649f deivid (David Rodríguez)
03:03 PM Revision b6ac37c9 (git): [rubygems/rubygems] No need for any version prioritization when building errors
We just need to filter versions belonging to the range, but don't need
anything else.
https://github.com/rubygems/rubygems/commit/8355a225d7
deivid (David Rodríguez)
03:03 PM Revision caaafbc3 (git): [rubygems/rubygems] Make it look more like BasicPackageSource
https://github.com/rubygems/rubygems/commit/bb5727934c deivid (David Rodríguez)
03:03 PM Revision d69ef1cc (git): [rubygems/rubygems] Let GemVersionPromoter sort in preferred order directly
So that we don't need to reverse the Array.
https://github.com/rubygems/rubygems/commit/aeea5e2e00
deivid (David Rodríguez)
03:03 PM Revision 2b82b7d1 (git): [rubygems/rubygems] Update docs
https://github.com/rubygems/rubygems/commit/ac24a68486 deivid (David Rodríguez)
03:03 PM Revision 0a1e3696 (git): [rubygems/rubygems] Remove unnecessary filtering
We do that when first caching versions, and then it's no longer
necessary.
https://github.com/rubygems/rubygems/commit/ede15847db
deivid (David Rodríguez)
03:03 PM Revision acbd91e4 (git): [rubygems/rubygems] No need to sort twice when filling versions
https://github.com/rubygems/rubygems/commit/13294528c4 deivid (David Rodríguez)
03:03 PM Revision d342937e (git): [rubygems/rubygems] Rename method for clarity
And also so that it matches the method used by main PubGrub sample
resolver class.
https://github.com/rubygems/rubygems/commit/0e612361b8
deivid (David Rodríguez)
03:03 PM Revision 3ca06835 (git): [rubygems/rubygems] Fix typo
https://github.com/rubygems/rubygems/commit/0ddf25e5aa deivid (David Rodríguez)
02:26 PM Revision e26ac3ab (git): Test finalizer is ran in bootstraptest
peterzhu2118 (Peter Zhu)
08:53 AM Feature #20405: Inline comments
vo.x (Vit Ondruch) wrote in #note-1:
> I like this proposal. But there are other possibilities, such as:
> ...
Thank you for the comment, but you may know `(:` can conflict existing code.
The reason I selected `(|` is that `/:|)` is u...
nobu (Nobuyoshi Nakada)
08:41 AM Feature #20405: Inline comments
I like this proposal. But there are other possibilities, such as:
~~~
(: This is comment :)
~~~
That would just underline Ruby as a "happy" language. Of course variants such as `(-: ... :-)` or even `(o: ... :o)` could even exte...
vo.x (Vit Ondruch)
01:09 AM Feature #20405 (Open): Inline comments
I propose a new inline comment syntax.
```ruby
p (| This is a comment (| and nested one |) /:|) (:|) #=> :|
```
nobu (Nobuyoshi Nakada)
08:17 AM Bug #20231: Don't wait in io_binwrite_string if not necessary.
Thanks! ioquatix (Samuel Williams)
07:55 AM Revision 12329753 (git): add CI matrix for clang-19
shyouhei (Shyouhei Urabe)
07:51 AM Revision b50c4dc3 (git): Rename the variable
It is not an empty gzipped data, a gzipped empty dump data. nobu (Nobuyoshi Nakada)
07:03 AM Revision 70645a5a (git): Write gzipped data as binary
Be careful when writing binary data on Windows.
```
$ ruby -e 's = Gem::Util.gzip("\x04\x08[\x05".b); p s.index("\n"); puts IO::Buffer.for(s).hexdump'
6
0x00000000 1f 8b 08 00 6c 3d 0a 66 00 03 63 e1 88 66 05 00 ....l=.f..c..f..
0x0000...
nobu (Nobuyoshi Nakada)
06:32 AM Revision acfef7c4 (git): Use dummy data generated by RubyGems
hsbt (Hiroshi SHIBATA)
03:05 AM Revision 0774232b (git): Remove unnecessary macros and functions for Universal Parser
S_H_ (Shun Hiraoka)
01:06 AM Revision e07178d5 (git): [DOC] Fix scope resolution operator typo in `Process#wait` docs
joshuay03 (Joshua Young)

03/31/2024

11:57 PM Bug #20403: TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback can flake if TCP port is in use
Fixed in https://github.com/ruby/resolv/pull/49 kjtsanaktsidis (KJ Tsanaktsidis)
11:57 PM Bug #20403 (Closed): TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback can flake if TCP port is in use
Applied in changeset commit:git|80bda107c84187d90eeff9497d465e086364b420.
----------
[ruby/resolv] Add an explicit with_udp_and_tcp helper to test_dns.rb
This helper tries to bind UDP and TCP sockets to the same port, by
retrying the b...
Anonymous
11:14 AM Bug #20403: TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback can flake if TCP port is in use
I opened https://github.com/ruby/ruby/pull/10413 for this. kjtsanaktsidis (KJ Tsanaktsidis)
11:10 AM Bug #20403 (Closed): TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback can flake if TCP port is in use
The test TestResolvDNS#test_query_ipv4_address_truncated_tcp_fallback wants to make a TCP and UDP DNS server on the same port. It achieves this by binding to a random UDP port (with `:0`), and then trying to bind to that TCP port. Howeve... kjtsanaktsidis (KJ Tsanaktsidis)
11:57 PM Revision 80bda107 (git): [ruby/resolv] Add an explicit with_udp_and_tcp helper to test_dns.rb
This helper tries to bind UDP and TCP sockets to the same port, by
retrying the bind if the randomly-assinged UDP port is already taken in
TCP. This fixes a flaky test.
[Bug #20403]
https://github.com/ruby/resolv/commit/3d135f99d9
KJ Tsanaktsidis
04:51 PM Feature #20404 (Rejected): `2pi`
I propose a new Float literal: `2pi`.
```ruby
p 2pi #=> 6.283185307179586 == 2 * Math::PI
```
I am not proposing `1pi`, `3pi` or `4pi`. I do only `2pi`. Because in most cases, all you need is `2pi`. Any other multiple of pi is r...
mame (Yusuke Endoh)
10:20 AM Bug #20245: Crash when checking symbol encoding
ruby_3_2 27606daf8efeb0ae6d0590a2c9bb1c5aae07f140 merged revision(s) ac0163949a6ee678dfccec9f6e56422b91e5f0a9,01fd262e62076277a41af72ea13f20deb1b462a2. nagachika (Tomoyuki Chikanaga)
10:20 AM Bug #20190: `invalid_encoding_string << number` should be valid encoding in some case, but does not
ruby_3_2 4f3ed07d5bfd581b630e4afc8b9bb170ce781e7f merged revision(s) ade56737e2273847426214035c0ff2340b43799a. nagachika (Tomoyuki Chikanaga)
10:19 AM Bug #20231: Don't wait in io_binwrite_string if not necessary.
ruby_3_2 bf6e9299ef4f10dbd23f32331c355ac875bfb5e3 merged revision(s) 2554c5d3b8738a248cedb2fea96dfab9fbe19417. nagachika (Tomoyuki Chikanaga)
10:19 AM Bug #20194: Memory leak with TracePoint on bmethod
ruby_3_2 1b5c74a2408d248f35cb811327dd51f49ee37c9e merged revision(s) b14674b236445fb70f484603e678722760f678f4. nagachika (Tomoyuki Chikanaga)
10:12 AM Revision e02a06fb (git): Document how to run the tests under ASAN now that they pass!
KJ Tsanaktsidis
09:48 AM Misc #20387: Meta-ticket for ASAN support
OK! Everything required to make `make check` pass on my machine with ASAN enabled has been merged! I opened https://github.com/ruby/ruby/pull/10412 to update the documentation to include the correct incantation.
The next things I woul...
kjtsanaktsidis (KJ Tsanaktsidis)
09:33 AM Bug #20402 (Closed): Double-free in TestIseqLoad#test_stressful_roundtrip
Applied in changeset commit:git|9d0a5148ae062a0481a4a18fbeb9cfd01dc10428.
----------
Add missing RB_GC_GUARDs related to DATA_PTR
I discovered the problem in `compile.c` from a failing
TestIseqLoad#test_stressful_roundtrip test with AS...
Anonymous
09:33 AM Revision 9d0a5148 (git): Add missing RB_GC_GUARDs related to DATA_PTR
I discovered the problem in `compile.c` from a failing
TestIseqLoad#test_stressful_roundtrip test with ASAN enabled. The other
two changes in array.c and string.c I found by auditing similar usages
of DATA_PTR in the codebase.
[Bug #20402]
KJ Tsanaktsidis
08:37 AM Revision 27606daf (git): merge revision(s) ac0163949a6ee678dfccec9f6e56422b91e5f0a9,01fd262e62076277a41af72ea13f20deb1b462a2: [Backport #20245]
Compile code without Symbol GC always
---
symbol.c | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
Fix crash when checking symbol encoding
[Bug #20245]
...
nagachika (Tomoyuki Chikanaga)
08:31 AM Bug #20098: Wrong regexp match in ruby 3.2 and 3.3
The changeset bb59696614083660241ef272f222628cbfa95844 cannot be merged into ruby_3_2 branch cleanly and hard to me to write a patch. @tompng Could you kindly create the patch for ruby_3_2 branch? nagachika (Tomoyuki Chikanaga)
08:18 AM Revision 4f3ed07d (git): merge revision(s) ade56737e2273847426214035c0ff2340b43799a: [Backport #20190]
Fix coderange of invalid_encoding_string.<<(ord)
Appending valid encoding character can change coderange from invalid to valid.
Example: "\x95".force_encoding('sjis')<<0x5C will be a valid string "\x{955C}"
---
...
nagachika (Tomoyuki Chikanaga)
08:17 AM Revision 1b5c74a2 (git): merge revision(s) b14674b236445fb70f484603e678722760f678f4: [Backport #20194]
Memory leak with TracePoint on bmethod
[Bug #20194]
When disabling the TracePoint on bmethod, the hooks list is not freed.
For example:
obj = Object.new
obj.define_singleton_method(:foo...
nagachika (Tomoyuki Chikanaga)
08:16 AM Revision bf6e9299 (git): merge revision(s) 2554c5d3b8738a248cedb2fea96dfab9fbe19417: [Backport #20231]
Don't wait in `io_binwrite_string` if not necessary. (#9792)
---
io.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
nagachika (Tomoyuki Chikanaga)
02:37 AM Revision 174b6716 (git): [rubygems/rubygems] [commands/rebuild] Remove unused DATE_FORMAT constant.
https://github.com/rubygems/rubygems/commit/3c4e3fadc9 Ellen Marie Dash
02:24 AM Revision 9579cf45 (git): If we have a shape cache we should use it
If there is a shape cache, then we should believe the results instead of
doing a linear search for non-existent items
This fixes a case where checking the index of an undefined ivar would
result in an O(n) search. Now we get O(log n).
...
tenderlovemaking (Aaron Patterson)

03/30/2024

03:54 PM Revision 376ae222 (git): Manage required baseruby version in one place
Add a Ruby script mode to `tool/missing-baseruby.bat` that checks if
`RUBY_VERSION` meets the required version. This will enable similar
checks on mswin as well.
nobu (Nobuyoshi Nakada)
09:34 AM Revision f697d324 (git): Manage required baseruby version in one place
nobu (Nobuyoshi Nakada)
06:58 AM Revision a6d8837d (git): Update bundled gems list as of 2024-03-29
git[bot]
02:02 AM Bug #20402: Double-free in TestIseqLoad#test_stressful_roundtrip
https://github.com/ruby/ruby/pull/10408 should fix this kjtsanaktsidis (KJ Tsanaktsidis)
01:57 AM Bug #20402 (Closed): Double-free in TestIseqLoad#test_stressful_roundtrip
With ASAN enabled, the TestIseqLoad#test_stressful_roundtrip fails with the following output:
```
2/9] TestIseqLoad#test_stressful_roundtrip = 7.26 s
1) Failure:
TestIseqLoad#test_stressful_roundtrip [/home/kj/ruby/test/-ext-/ise...
kjtsanaktsidis (KJ Tsanaktsidis)

03/29/2024

11:32 PM Revision cdb8d208 (git): [PRISM] Fix error message for duplicate parameter name
kddnewton (Kevin Newton)
09:29 PM Bug #20330 (Closed): [BUG] Segmentation fault at 0xffffffffffffffff
I think this is a duplicate of #20184 and should be fixed in 3.3.1. tenderlovemaking (Aaron Patterson)
07:27 PM Revision d7d59ea1 (git): [rubygems/rubygems] add test case to ensure updating with multiple sources + caching maintains the right lockfile
https://github.com/rubygems/rubygems/commit/65839757e6 Alex Robbin
04:28 PM Revision f57c7fef (git): [PRISM] Have RubyVM::InstructionSequence.compile respect --parser=prism
kddnewton (Kevin Newton)
03:44 PM Revision 729a3968 (git): [ruby/prism] Fix calloc argument order
https://github.com/ruby/prism/commit/9947ab13c0 kddnewton (Kevin Newton)
03:43 PM Revision 718c7d4a (git): [ruby/prism] Handle NULL byte terminators for strings, regexps, and lists
https://github.com/ruby/prism/commit/79a75258a4 kddnewton (Kevin Newton)
03:39 PM Bug #20216 (Closed): Circular parameter reference not checked for assignment
kddnewton (Kevin Newton)
03:21 PM Bug #20399: Ripper doesn't respect implicit -x
I agree, but I still think Ripper should match the parser's behavior here. Otherwise you can't get the AST of those kinds of files. kddnewton (Kevin Newton)
05:11 AM Bug #20399: Ripper doesn't respect implicit -x
Shebang makes sense only in an executable script file.
```sh
$ echo $'#!/bin/sh\np :sh' | ruby
ruby: no Ruby script found in input (LoadError)
bash: exit 1
$ ruby -e $'#!/bin/sh\np :sh'
:sh
```
nobu (Nobuyoshi Nakada)
03:18 PM Feature #20384: RubyVM::InstructionSequence.{new,compile} use --parser option
I've opened a PR here https://github.com/ruby/ruby/pull/10406. I'm assuming no one has an objection based on the silence, so I'll merge once CI passes. kddnewton (Kevin Newton)
12:51 PM Revision 8191735b (git): [PRISM] Fix BEGIN{} execution order
kddnewton (Kevin Newton)
11:55 AM Bug #20400 (Closed): Nested BEGIN{} execution order
Thank you for the clarification! kddnewton (Kevin Newton)
05:37 AM Bug #20400: Nested BEGIN{} execution order
`BEGIN` blocks are:
a. executed in the order they appeared in the same nesting level.
b. executed in prior to outside the block.
> ```ruby
> ...
"2" is first because it is in the inner `BEGIN` in the block for "1".
> ```ruby
...
nobu (Nobuyoshi Nakada)
08:03 AM Revision 38331c89 (git): [rubygems/rubygems] [gemspec_helpers] Fix Rubocop warning.
https://github.com/rubygems/rubygems/commit/4ebf6ee5ac Ellen Marie Dash
08:03 AM Revision d19744fb (git): [rubygems/rubygems] [build, rebuild] Split common find_gemspec() out to GemspecHelpers.
https://github.com/rubygems/rubygems/commit/2f80a595c4 Ellen Marie Dash
08:03 AM Revision d916dbcb (git): [rubygems/rubygems] Improve formatting of "gem rebuild --help" output.
https://github.com/rubygems/rubygems/commit/701550f9dd Ellen Marie Dash
08:03 AM Revision 54d90e13 (git): [rubygems/rubygems] [rebuild] If --diff is not passed and a rebuild fails, suggest passing --diff.
https://github.com/rubygems/rubygems/commit/7caadd182c Ellen Marie Dash
08:03 AM Revision dfe83df0 (git): [rubygems/rubygems] [rebuild_command] Bail early if the RubyGems version doesn't match.
https://github.com/rubygems/rubygems/commit/a691170dc7 Ellen Marie Dash
08:03 AM Revision 88d7be46 (git): [rubygems/rubygems] [rebuild_command] Use Gem.* helpers.
https://github.com/rubygems/rubygems/commit/8644ce7193 Ellen Marie Dash
08:03 AM Revision fe096f64 (git): [rubygems/rubygems] [rebuild_command] Clean up help text.
https://github.com/rubygems/rubygems/commit/4446389f2e Ellen Marie Dash
08:03 AM Revision 54e0b807 (git): [rubygems/rubygems] [rebuild_command] Use temporary directory instead of the working directory.
https://github.com/rubygems/rubygems/commit/f2e4e5b56f Ellen Marie Dash
08:03 AM Revision a28087af (git): [rubygems/rubygems] [rebuild_command] Add --diff flag to try using diffoscope.
https://github.com/rubygems/rubygems/commit/3e9545193a Ellen Marie Dash
08:03 AM Revision cd12dfd3 (git): [rubygems/rubygems] [rebuild_command] Avoid leaking files.
https://github.com/rubygems/rubygems/commit/3b88553d0d Ellen Marie Dash
08:03 AM Revision e5def27f (git): [rubygems/rubygems] Add "gem rebuild" command.
https://github.com/rubygems/rubygems/commit/6d661573f0 Ellen Marie Dash
06:18 AM Bug #20398: heap-buffer-overflow in numeric literal parsing
Thank you, that fixed it yes. And it's a much better fix :) kjtsanaktsidis (KJ Tsanaktsidis)
04:43 AM Bug #20401: Duplicated when clause warning line number
This behavior was discovered and briefly discussed during the previous dev meeting. The actual warning is
```
test.rb:4: warning: duplicated 'when' clause with line 2 is ignored
```
According to @nobu, this reads "The 'when' clau...
mame (Yusuke Endoh)
01:56 AM Bug #20401: Duplicated when clause warning line number
On the otherhand, if you have duplicated hash keys you get:
```ruby
{
bar: 1,
baz: 1,
bar: 1
}
```
For the warning: `warning: key :bar is duplicated and overwritten on line 4`. So this seems correct.
kddnewton (Kevin Newton)
01:55 AM Bug #20401 (Closed): Duplicated when clause warning line number
When you have a duplicated when clause, you get a warning for it. For example:
```ruby
case foo
when :bar
when :baz
when :bar
end
```
you get ``warning: duplicated `when' clause with line 2 is ignored``.
But the when claus...
kddnewton (Kevin Newton)
02:16 AM Bug #17996 (Closed): Cygwin: thread + pipe behavior since Ruby 2.6
https://github.com/ruby/ruby/pull/9357 may be fixed this. hsbt (Hiroshi SHIBATA)

03/28/2024

11:13 PM Revision 02d40b6c (git): Use ubf list on cygwin
fd0 (Daisuke Fujimura)
09:41 PM Revision f3c35749 (git): YJIT: Optimize putobject+opt_ltlt for integers
In `jit_rb_int_lshift()`, we guard against the right hand side changing
since we want to avoid generating variable length shifts. When control
reaches a `putobject` and `opt_ltlt` pair, though, we know that the right
hand side never chan...
alanwu (Alan Wu)
09:35 PM Revision 817eecf6 (git): [PRISM] Enable passing regexp test
kddnewton (Kevin Newton)
08:39 PM Revision a8ec347c (git): [ruby/prism] Allow writing to keywords with named captures if they are already locals
https://github.com/ruby/prism/commit/418318e1c8 kddnewton (Kevin Newton)
07:30 PM Revision 8780059c (git): [ruby/prism] Reject invalid capture groups (keywords)
https://github.com/ruby/prism/commit/bb78d83e88 kddnewton (Kevin Newton)
07:21 PM Revision bb3cbdfe (git): YJIT: add iseq_alloc_count to stats (#10398)
* YJIT: add iseq_alloc_count to stats
* Remove an empty line
---------
Co-authored-by: Takashi Kokubun <[email protected]>
maximecb (Maxime Chevalier-Boisvert)
07:17 PM Revision a8f902ea (git): [PRISM] Add debug info for frozen strings
kddnewton (Kevin Newton)
07:13 PM Feature #20394: Add an offset parameter to `String#to_i`
byroot (Jean Boussier) wrote in #note-10:
> `StringIO` isn't as convenient as you make it out to be. Maybe it could become that, but it isn't today.
Hmm, it's not like it matters very much, but I get the weird feeling you misundersto...
Dan0042 (Daniel DeLorme)
08:54 AM Feature #20394: Add an offset parameter to `String#to_i`
> but rest assured once we can start using IO::Buffer exclusively, I will do so.
I'd be curious to see an HTTP1 parser using IO::Buffer. I don't see how you'd do it today.
byroot (Jean Boussier)
08:52 AM Feature #20394: Add an offset parameter to `String#to_i`
My protocol gems have been around since Ruby 2.3+ so there are compatibility issues, but rest assured once we can start using `IO::Buffer` exclusively, I will do so. Using `String` for IO buffers is equally fraught with odd issues like e... ioquatix (Samuel Williams)
07:28 AM Feature #20394: Add an offset parameter to `String#to_i`
> What about IO::Buffer? It was introduced somewhat stealthily and its API is somewhat unique, and yet by its idea it seems to be exactly that.
I'm aware of it, but it only offer binary oriented methods. Perhaps it could be extended t...
byroot (Jean Boussier)
07:20 AM Feature #20394: Add an offset parameter to `String#to_i`
> I'd be all for a dedicated `Buffer` class that allow to efficiently parse text protocols like HTTP and RESP3, but right now all we got is String.
What about [IO::Buffer](https://docs.ruby-lang.org/en/master/IO/Buffer.html)? It was i...
zverok (Victor Shepelev)
06:59 AM Feature #20394 (Closed): Add an offset parameter to `String#to_i`
> This interpretation mismatch could be a source of vulnerability.
Good catch @mame, that does indeed make the `to_i` proposal much more problematic. I guess I don't really have much of a proposal anymore.
> ...
Not today no. You c...
byroot (Jean Boussier)
03:22 AM Feature #20394: Add an offset parameter to `String#to_i`
I thought of a security concern.
I suppose all methods proposed in this ticket would allow underscores as a digit separator. This is natural in Ruby, but usually an unnecessary feature outside of Ruby, including the Redis protocol.
T...
mame (Yusuke Endoh)
06:13 PM Bug #20400 (Closed): Nested BEGIN{} execution order
Right now there are specs for the order in which `BEGIN{}` should be executed, which is the order they appear in the file. For example:
```ruby
BEGIN { print "1" }
print "4"
BEGIN { print "2" }
print "5"
BEGIN { print "3" }
```
...
kddnewton (Kevin Newton)
05:02 PM Revision 3e9c6842 (git): [PRISM] Allow space before encoding comment
kddnewton (Kevin Newton)
04:04 PM Revision 86e0d83a (git): [PRISM] Simplify raising load errors
kddnewton (Kevin Newton)
04:04 PM Revision d583616f (git): [ruby/prism] Ensure deserialization works with errors+warnings>256
https://github.com/ruby/prism/commit/f540e830b5 kddnewton (Kevin Newton)
04:04 PM Revision 35ff3028 (git): [ruby/prism] Various cleanup with new -x option
https://github.com/ruby/prism/commit/020756fb11 kddnewton (Kevin Newton)
04:04 PM Revision f7c5e11d (git): [PRISM] Use new -x prism API
kddnewton (Kevin Newton)
04:04 PM Revision fcc06fa8 (git): [ruby/prism] CLI -x flag
https://github.com/ruby/prism/commit/2068e3c30a kddnewton (Kevin Newton)
03:54 PM Revision 97b2cc34 (git): Allow FormatError to take either String or Gem for source
Most of the calls to `FormatError.new` pass `@gem` for the second argument, which has a `path` method.
But in one case—on package.rb:691 in `verify_gz`, the `source` argument is a `String`.
So if there's ever a GZip decode error when a...
jez (Jake Zimmerman)
03:54 PM Revision fa0a6241 (git): Don't check for dynamic symbol when reference updating
All symbols in the GC are dynamic symbols, so we don't need to check it. peterzhu2118 (Peter Zhu)
02:58 PM Revision 03ab4a56 (git): Clean symlinks to be runnable [ci skip]
nobu (Nobuyoshi Nakada)
02:48 PM Revision 7055dcf9 (git): [ruby/prism] Improve description for InterpolatedStringNodeFlags
https://github.com/ruby/prism/commit/caa576d63f andrykonchin (Andrew Konchin)
02:28 PM Bug #20398 (Closed): heap-buffer-overflow in numeric literal parsing
Applied in changeset commit:git|2ab9fb1c2e659f1f819ed63796171b2129255185.
----------
[Bug #20398] Terminate token buffer at invalid octal number
nobu (Nobuyoshi Nakada)
12:02 PM Bug #20398: heap-buffer-overflow in numeric literal parsing
Does this fix it?
```diff
diff --git a/parse.y b/parse.y
index 585130c3465..55619273b8e 100644
--- a/parse.y
+++ b/parse.y
@@ -10164,6 +10164,7 @@ parse_numeric(struct parser_params *p, int c)
/* prefixed octal */
...
nobu (Nobuyoshi Nakada)
04:54 AM Bug #20398: heap-buffer-overflow in numeric literal parsing
https://github.com/ruby/ruby/pull/10393 should fix this kjtsanaktsidis (KJ Tsanaktsidis)
04:51 AM Bug #20398 (Closed): heap-buffer-overflow in numeric literal parsing
I found the following ASAN error in `TestRubyLiteral#test_integer`. It appears that this code is calling strdup on a non-null terminated string.
```
[1/1] TestRubyLiteral#test_integer==================================================...
kjtsanaktsidis (KJ Tsanaktsidis)
02:27 PM Bug #20399 (Open): Ripper doesn't respect implicit -x
For the given script:
```ruby
#!/bin/sh
# -*- ruby -*-
exec "${RUBY-ruby}" "-x" "$0" "$@" && [ ] if false
#!ruby
# This needs ruby 2.0, Subversion and Git.
# As a Ruby committer, run this in an SVN repository
# to commit a chan...
kddnewton (Kevin Newton)
02:19 PM Revision 4fa8fefd (git): Suppress warning at literal string
nobu (Nobuyoshi Nakada)
01:28 PM Revision 2ab9fb1c (git): [Bug #20398] Terminate token buffer at invalid octal number
nobu (Nobuyoshi Nakada)
08:41 AM Feature #19057: Hide implementation of `rb_io_t`.
"ioquatix (Samuel Williams) via ruby-core" <[email protected]> wrote:
> Issue #19057 has been updated by ioquatix (Samuel Williams).
>
>
> > Why don't you reconsider the "nested public interface" approach?
>
> My asses...
Anonymous
06:52 AM Misc #20336: DevMeeting-2024-04-17
* [Bug #19865] Segfault when calling user signal handlers during VM shutdown
* Seems like the bug is well understood and there is a patch for it (https://github.com/nobu/ruby/tree/signal-at-cleanup), can it be merged?
dentarg (Patrik Ragnarsson)
05:01 AM Bug #20050: Segfault on Ruby 3.2.2 (and 3.1) on x86_64 Darwin 20 (rb_id_table_lookup for #hash)
Any chance this could be backported into Ruby 3.2? It was a bit tricky because of the VWA-related changes in 3.3, but I did manage to open a PR to do this: https://github.com/ruby/ruby/pull/10394
I'm running into this problem with the...
kjtsanaktsidis (KJ Tsanaktsidis)
02:44 AM Revision 7630a89a (git): Use www.rfc-editor.org for RFC text.
We use the following site for that now:
* https://tools.ietf.org/ or http
* https://datatracker.ietf.org or http
Today, IETF said the official site of RFC is www.rfc-editor.org.
FYI: https://authors.ietf.org/en/references-in-rfcxml
I...
hsbt (Hiroshi SHIBATA)
02:18 AM Revision 67bdb7aa (git): [DOC] Use `rdoc-ref:@` shorthands for `rdoc-label:` tags
nobu (Nobuyoshi Nakada)
01:55 AM Revision 7293cef0 (git): [DOC] molinillo has been moved
nobu (Nobuyoshi Nakada)
01:15 AM Revision 84236132 (git): Launchable: Configure OS correctly in macos.yaml
ono-max (Naoto Ono)
 

Also available in: Atom