Activity
From 02/13/2024 to 02/19/2024
02/19/2024
- 11:31 PM Revision 4ba76d48 (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.87 to 0.9.88.
- [Release notes](https://github.com/oxid... - 11:30 PM Revision 0501ecdd (git): [rubygems/rubygems] Bump rb-sys
- Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.87 to 0.9.88.
- [Release notes](https://github.com/oxid... -
11:23 PM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- What about
```
>> "fée" + "fée".b
(irb):8:in `+': incompatible character encodings: UTF-8 and BINARY (ASCII-8BIT) ... -
11:02 PM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- I've come to realize something; when an ASCII-8BIT string contains only ascii characters, it behaves exactly like a U...
-
12:38 PM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- Proposed patch: https://github.com/ruby/ruby/pull/10018
I used my initial suggestion: `ASCII-8BIT (BINARY)`, but i... -
11:07 PM Feature #13557: there's no way to pass backtrace locations as a massaged backtrace
- byroot (Jean Boussier) wrote in #note-7:
> Which I think is simple enough to not warrant and extra `skip:` parameter... -
12:15 PM Feature #13557: there's no way to pass backtrace locations as a massaged backtrace
- > So it would be nice to have a shortcut idiom for this, like perhaps raise Error, "message", skip: 3
With my patc... -
10:57 AM Feature #13557: there's no way to pass backtrace locations as a massaged backtrace
- Proposed patch here if someone feels like reviewing it: https://github.com/ruby/ruby/pull/10017
-
10:54 PM Feature #20282: Enhancing Ruby's Coverage with Per-Test Coverage Reports
- It also occurred to me, that `Coverage.default_coverage(iseq)` might need to mutate the iseq. In the sense that we ne...
-
10:51 PM Feature #20282 (Open): Enhancing Ruby's Coverage with Per-Test Coverage Reports
- As Ruby applications grow in complexity, the need for more sophisticated testing and coverage analysis tools becomes ...
-
09:44 PM Misc #20254: Add Launchable into Ruby CI
- FYI: I added document about Launchable to ruby/ruby's wiki page.
https://github.com/ruby/ruby/wiki/CI-Servers#launch... -
07:50 PM Revision ae3e82a5 (git): [ruby/prism] Fix up comment state
- https://github.com/ruby/prism/commit/c6561becf0
-
06:44 PM Feature #20215: Introduce `IO#readable?`
- I think the name is potentially confusing. Consider the following:
```ruby
if client.readable?
client.read # thi... -
06:20 PM Feature #20276: Introduce Fiber interfaces for Blocking operations on Ractors
- ko1 (Koichi Sasada) wrote in #note-2:
> I understand the motivation but now the ractor-thread combination is not wel... -
01:40 AM Feature #20276 (Feedback): Introduce Fiber interfaces for Blocking operations on Ractors
- I understand the motivation but now the ractor-thread combination is not well-defined yet and combination with Fiber ...
-
04:08 PM Feature #20261: Add symbol synonyms for '' and nil for IO method line separator arguments
- Propose to add user-friendly synonyms (symbols) for IO line separator arguments `''` (read paragraphs) and `nil` (rea...
-
01:40 PM Feature #11446: Possible work around for the requirement to supplying arguments like this: .map(&:method, <arguments>)
Are there any proposal issues regarding the addition of argument and block support for the ```.each(&:method, arg...-
12:50 PM Misc #20281: DevMeeting-2024-03-14
- * [Feature #20275] Avoid extra backtrace entries for rescue and ensure (eregon)
* OK to hide/avoid the extra backtr... -
12:44 PM Misc #20281 (Closed): DevMeeting-2024-03-14
- # The next dev meeting
**Date: 2024/03/14 09:00-12:00, 13:00-17:00** (JST)
Log: https://github.com/ruby/dev-meeti... -
12:44 PM Misc #20193 (Closed): DevMeeting-2024-02-14
-
10:24 AM Revision 391b0bf0 (git): Try with some test fixes from https://github.com/hsbt/debug/commits/release/
-
09:52 AM Misc #20279: Is the implementation of `respond_to_missing?` in BasicObject documentation correct?
- > Won't these clobber each other?
Yeah, my bad. You either need to copy it in an included module, or just not copy... -
09:51 AM Misc #20279: Is the implementation of `respond_to_missing?` in BasicObject documentation correct?
- Do you want to submit a PR? You already wrote most of the code... however:
```ruby
define_method(:respond_to_mi... -
08:08 AM Misc #20279: Is the implementation of `respond_to_missing?` in BasicObject documentation correct?
- So yes, the documentation is incorrect.
-
08:06 AM Misc #20279: Is the implementation of `respond_to_missing?` in BasicObject documentation correct?
- > because I was under the impression it was called by method_missing.
`respond_to_missing?` isn't called by `meth... -
05:18 AM Misc #20279 (Closed): Is the implementation of `respond_to_missing?` in BasicObject documentation correct?
- Considering the documentation here: https://ruby-doc.org/3.2.2/BasicObject.html
Introduced in: https://github.com/... - 08:14 AM Revision fabec390 (git): Update bundled gems list at 96ede4d192788d2dc20f5caa6cbe29 [ci skip]
-
08:13 AM Revision 96ede4d1 (git): Bump up typeprof-0.21.11
-
08:02 AM Bug #20280 (Closed): Error at invalid encoding symbols
- Applied in changeset commit:git|fcc55dc2261b4c61da711c10a5476d05d4391eca.
----------
[Bug #20280] Raise SyntaxError ... -
07:25 AM Bug #20280 (Closed): Error at invalid encoding symbols
- Parsing an invalid encoding symbol raises an `EncodingError`.
It must be a `SyntaxError`.
https://github.com/ruby... -
07:33 AM Revision 8c5b7eb0 (git): [Bug #20280] Fix wrong tests
-
07:33 AM Revision d9b61e22 (git): Omit a bizzarre test in IRB
-
07:33 AM Revision b1d70e42 (git): [Bug #20280] Check by `rb_parser_enc_str_coderange`
- Co-authored-by: Yuichiro Kaneko <[email protected]>
-
07:33 AM Revision fcc55dc2 (git): [Bug #20280] Raise SyntaxError on invalid encoding symbol
-
05:45 AM Revision a52fc5df (git): [rubygems/rubygems] Use FileUtils.mkdir_p
- https://github.com/rubygems/rubygems/commit/af806b8dff
-
04:55 AM Revision cb9e0a45 (git): Don't exclude `test_gem_package_task.rb` explicitly.
- 3d4f5e7671271335429e33605366f792bc84a2a2 suppressed warnings.
-
04:48 AM Revision b4be2834 (git): [rubygems/rubygems] Remove redundant rubocop configs
- https://github.com/rubygems/rubygems/commit/a3f60240bf
-
04:47 AM Revision 3d4f5e76 (git): [rubygems/rubygems] Suppress warning during test runner.
- ruby core repository explicitly removed this test file at
https://github.com/ruby/ruby/commit/c945a849cb2c5fcdfa546e5... - 04:28 AM Revision 0972cfb7 (git): Update bundled gems list at 935fc22545fdca58331994622ae577 [ci skip]
-
04:28 AM Revision 935fc225 (git): Use commit version for https://bugs.ruby-lang.org/issues/16495
- * https://github.com/ruby/drb/pull/25
* https://github.com/minitest/minitest/pull/987
* https://github.com/test-unit/... -
02:34 AM Revision 1dca87cf (git): Load rubygems explicitly for tests of test/irb
-
02:05 AM Revision c14d295a (git): Fix accidentally changed to rename test method at d95d3484a90a985b971ef4c55762847d92b6c81a
-
02:01 AM Revision 7e577e15 (git): [ruby/irb] Fix `irb:rdbg` for ruby head
- (https://github.com/ruby/irb/pull/876)
* Update binding.irb check for Ruby head
With https://github.com/ruby/ruby/p... -
01:48 AM Revision 9ec99100 (git): [ruby/irb] Update error message assertions for Ruby 3.4
- (https://github.com/ruby/irb/pull/874)
https://github.com/ruby/ruby/pull/9605 changes both quotes and format for
exc... -
01:47 AM Revision 11a6bb81 (git): Revert 25d74b9527cd525042ad0b612b794fa331d3a318 at test/irb
-
01:30 AM Feature #20275: Avoid extra backtrace entries for rescue and ensure
- I don't have any opinion so I leave it on Matz.
-
12:31 AM Misc #20238: Use prism for mk_builtin_loader.rb
- We should close this because @k0kubun is working to update `BASERUBY` version for using new syntax. There is no reaso...
02/18/2024
-
11:19 PM Feature #20274: Add RubyVM::ASAN.enabled?
- > Then, it would be enough to implement it in ext/-test-/.
This is a much better idea - I'll do this.
> Note, ... -
11:16 PM Feature #20273: Disable callcc when compiled with ASAN
- What about something like this? https://github.com/ruby/ruby/pull/10012
This is the "maximal" way - it adds a new ... -
10:33 PM Feature #20278: syntax error, unexpected local variable or method, expecting ')' (SyntaxError) - but I think it should report that a ',' is missing, or alternatively, that suggesting ')' is the most likely cause but not always (e. g. reword it a bit)
- I just noticed that it actually already reported that a semicolon is missing:
"expected a newline or semicolon"
So ... -
10:32 PM Feature #20278 (Open): syntax error, unexpected local variable or method, expecting ')' (SyntaxError) - but I think it should report that a ',' is missing, or alternatively, that suggesting ')' is the most likely cause but not always (e. g. reword it a bit)
- So this is not quite a bug, but I thought it may fit better here, as it is neither a feature, and also not quite fitt...
-
09:42 PM Revision ec1eda7b (git): [ruby/prism] Account for encoding in regexp named captures
- https://github.com/ruby/prism/commit/17dc6b6281
-
09:37 PM Revision ea529dd4 (git): [ruby/prism] Lazy methods for start and end offset on node
- https://github.com/ruby/prism/commit/4510e2746d
-
08:57 PM Revision 792804e3 (git): [ruby/prism] Split up comments between leading and trailing
- Also make them lazy to allocate the array, and also expose ParseResult#encoding.
https://github.com/ruby/prism/commi... -
06:21 PM Revision 07c774e8 (git): [ruby/irb] Revamp `help` command
- (https://github.com/ruby/irb/pull/877)
* Make help command display help for individual commands
Usage: `help [comma... -
11:18 AM Bug #20277 (Closed): Remove stale `String` test conditionals
- I found three instance variables in `TestString` in test/ruby/test_string.rb.
These select assertions:
+ `@aref_r... -
11:03 AM Bug #20270 (Closed): Options with `--parser=prism`
-
06:08 AM Revision 120c291f (git): Link ruby.pc to pkg-config data directory
-
06:07 AM Revision 87c4c6c0 (git): Install binary executable files to architecture dependent path
02/17/2024
-
10:22 PM Feature #16495: Inconsistent quotes in error messages
- For reference, so far I had to make one fix:
- https://github.com/socketry/async/commit/a6a009192399d6411ae8e5b688dd... -
09:53 PM Revision 00bda2aa (git): [ruby/prism] Fix up GCC analyzer
- https://github.com/ruby/prism/commit/2e8bc17528
-
08:55 PM Feature #20276 (Feedback): Introduce Fiber interfaces for Blocking operations on Ractors
- ### Motivation
I am trying to build a web server with Ractors. The lifecycle for a request in the current implementa... -
03:35 PM Revision 13d2a3a8 (git): [ruby/prism] Fix visitor in desugar test
- * The #visit method is no longer called for every node since 2e6baa3.
* As a consequence EnsureEveryNodeOnceInAST was... -
03:27 PM Misc #20238: Use prism for mk_builtin_loader.rb
- Sorry the previous link was incorrect. The correct PR is here: https://github.com/ruby/ruby/pull/10005. The comments ...
-
02:11 AM Misc #20238: Use prism for mk_builtin_loader.rb
- I built the C program here: https://github.com/ruby/ruby/pull/9998. It keeps `mk_builtin_loader.rb` in place and uses...
-
03:18 PM Revision 104100f5 (git): Split path.rb from mkrunnable.rb
-
02:28 PM Revision 3dccb716 (git): Use `defined?(yield)` and `SIZED_ENUMERATOR`
- Prefer built-in features over method calls that may be overridden.
-
12:17 PM Feature #20274: Add RubyVM::ASAN.enabled?
- You just need the API for the Ruby test suite, right? Then, it would be enough to implement it in ext/-test-/. Introd...
-
11:24 AM Feature #20274: Add RubyVM::ASAN.enabled?
- GCC & clang set macros indicating that asan is enabled: https://github.com/ruby/ruby/blob/df63e5bef67ff74216834f61748...
-
10:10 AM Feature #20274: Add RubyVM::ASAN.enabled?
- At first, ASAN is not related to Ruby VM, neither the constant nor method under `RubyVM` do not make sense.
How ar... -
06:10 AM Feature #20274: Add RubyVM::ASAN.enabled?
- The other option is to define `RubyVM.asan_enabled?` as a method, rather than defining `RubyVM::ASAN` as a module.
-
06:06 AM Feature #20274 (Closed): Add RubyVM::ASAN.enabled?
- Some parts of the Ruby test suite won't work correctly under ASAN. In particular, `assert_no_memory_leak` will need d...
-
11:51 AM Feature #20273: Disable callcc when compiled with ASAN
- I think it makes sense basically. I would like to see details in PR. Do you already have a patch?
-
05:42 AM Feature #20273 (Closed): Disable callcc when compiled with ASAN
- Currently, all of the callcc related tests in the Ruby test suite fail when Ruby is compiled with ASAN (CFLAGS="-fsan...
-
10:48 AM Feature #19117: Include the method owner in backtraces, not just the method name
- > I think that we should discuss further improvements in a separate ticket.
OK: #20275 -
10:33 AM Feature #19117: Include the method owner in backtraces, not just the method name
- @Dan0042 I think `block in` should stay because those must be calls and have their own frame semantically.
The quo... -
03:50 AM Feature #19117: Include the method owner in backtraces, not just the method name
- No one seems to want to treat `rescue in` and `ensure in` as a regression.
I think that we should discuss further ... -
10:45 AM Feature #20275: Avoid extra backtrace entries for rescue and ensure
- Same thing for `ensure`:
```ruby
begin
raise
ensure
p caller(0)
end
```
On CRuby master:
```
["-:4:in... -
10:41 AM Feature #20275 (Closed): Avoid extra backtrace entries for rescue and ensure
- From https://bugs.ruby-lang.org/issues/19117#note-48:
```ruby
def raise_nested_exceptions
raise "First error"
r... -
08:27 AM Revision df63e5be (git): [DOC] Functions for `Time#initialize` implementation
-
08:21 AM Revision 6e4bfb35 (git): Fix an argument name
-
08:16 AM Revision 3b23b45d (git): Explicitly assert that redefined backquote method is called
- It has been used in some tests indirectly, but there was no direct
test for redefinition in the toplevel. -
04:01 AM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- I'm heavily affected by this bug. Setup is Docker Desktop on Mac using the `ruby:3.3` image.
I've submitted a pull... -
02:05 AM Revision b56b8ec7 (git): [ruby/prism] Provide the ability to dump AST to JSON from C
- https://github.com/ruby/prism/commit/d3a149efc5
02/16/2024
-
11:16 PM Revision 075b6ac8 (git): YJIT: Remove unused counters
-
11:10 PM Feature #13557: there's no way to pass backtrace locations as a massaged backtrace
- > I think both `Kernel#raise` and `Exception#set_backtrace` would need to accept array of `Thread::Backtrace::Locatio...
-
05:01 PM Feature #13557: there's no way to pass backtrace locations as a massaged backtrace
- I'll try to find some time to implement this in the near future, because I just ran into this today, and resorted to ...
-
09:45 PM Feature #19117: Include the method owner in backtraces, not just the method name
- If "rescue in" is removed, then what happens to the similar "block in" ?
Also in terms of quotes, what are your th... -
08:31 PM Feature #19117: Include the method owner in backtraces, not just the method name
- I'm in favor to keep it removed, because these are implementation details.
Although ideally in backtraces I think it... -
11:38 AM Feature #19117: Include the method owner in backtraces, not just the method name
- > I can probably restore rescue in and ensure in with the above inconsistency. Do you like it?
I honestly don't mi... -
11:34 AM Feature #19117: Include the method owner in backtraces, not just the method name
- You've been found out!
During this work, I noticed a problem with the inconsistency of `ensure in`.
```ruby
be... -
08:39 AM Feature #19117: Include the method owner in backtraces, not just the method name
- @mame while updating the Rails test suite I noticed we may have a small regression:
```ruby
def raise_nested_exce... -
09:34 PM Bug #19395 (Closed): Process forking within non-main Ractor hits rb_bug()
-
07:19 PM Bug #19395: Process forking within non-main Ractor hits rb_bug()
- I can no longer reproduce this issue, I probably had some changes in my tree that were causing the issues. Sorry! Ple...
-
09:33 PM Bug #19365 (Closed): Ractors can access non-shareable values through enumerators
-
07:25 PM Bug #19365: Ractors can access non-shareable values through enumerators
- This has since been fixed, please close. Thanks.
-
08:58 PM Revision 2967b7eb (git): GC guard catch_table_ary
- Using RARRAY_CONST_PTR can cause the array object to not exist on the
stack, which could cause it to be GC'd or be mo... -
08:51 PM Feature #20266: New syntax to escape embed strings in Regexp literal
- I wonder if this new syntax would open the doors to adding some kind of similar behavior to normal string interpolati...
-
07:36 PM Feature #20266: New syntax to escape embed strings in Regexp literal
- TBH I'm not entirely sure it's worth new syntax, but I've definitely felt the verbosity of `Regexp.escape` before, an...
-
05:35 AM Feature #20266: New syntax to escape embed strings in Regexp literal
- I don't have any pro or con opinion on the feature itself; in regards to ^foo versus =foo, I think users may wonder a...
-
08:41 PM Revision 170058ca (git): [ruby/prism] Ignore incorrect files
- https://github.com/ruby/prism/commit/d1094ac232
-
08:41 PM Revision 13301587 (git): [ruby/prism] Fix block_pass for []=
- https://github.com/ruby/prism/commit/bf79206220
-
08:41 PM Revision 429338a2 (git): [ruby/prism] Accept newlines before ) in patterns
- https://github.com/ruby/prism/commit/e5ffb7bdf8
-
08:27 PM Revision b4327c11 (git): YJIT: Support empty splat
- Previously we rejected empty splat calls to methods with no parameters
as `iseq_arity_error` which didn't work well w... -
08:27 PM Revision c4e30d28 (git): YJIT: Support `**nil`
- This adds YJIT support for VM_CALL_KW_SPLAT with nil, specifically for
when we already know from the context that it'... -
08:02 PM Revision 777c4da0 (git): [PRISM] GC guard strings
- Using RSTRING_PTR can cause the string object to not exist on the stack,
which could cause it to be GC'd or be moved ... -
07:47 PM Revision fbe63047 (git): Fix PRISM build dependencies
-
07:34 PM Revision 6f4bb638 (git): [ruby/prism] Builtins
- https://github.com/ruby/prism/commit/851f2571ff
-
07:12 PM Bug #19408: Object no longer frozen after moved from a ractor
- I created a PR for this: https://github.com/ruby/ruby/pull/9996
- 06:57 PM Revision bac692f5 (git): CI: Fix the no such file or directory error with the working directory.
- Fix the error with the working directory in the result job in some GitHub
Actions YAML files. I hit this error on my ... -
06:27 PM Revision 24645cff (git): Removed duplicated variable in push_mark_stack
-
06:26 PM Misc #20272 (Open): Ambiguity around Ractor message sending FIFO semantics
- The docs should explicitly state the semantics/properties of Ractor message, especially when it comes to FIFO.
For e... -
05:50 PM Revision 8e4d1ff5 (git): [ruby/prism] Disallow numbered parameters within given scopes
- https://github.com/ruby/prism/commit/a218a0f265
-
05:50 PM Revision e801ccb3 (git): [ruby/prism] More rescue and ensure; constant handling
- https://github.com/ruby/prism/commit/207f579e70
-
05:50 PM Revision 7d3e889b (git): [ruby/prism] Move visit methods into a Ripper Compiler
- https://github.com/ruby/prism/commit/44c4dc5268
-
05:44 PM Revision 6084adbc (git): Use travis_wait for test-spec as well
- rubyspec seems very slow or getting stuck on s390-linux.
https://app.travis-ci.com/github/ruby/ruby/jobs/617916019
N... -
05:11 PM Misc #20242 (Closed): `--parser=prism_without_warning`
-
04:56 PM Revision 8414c26f (git): [PRISM] Make prism compiler warning experimental
-
04:47 PM Revision f5801e2b (git): [ruby/irb] Standardize command related names
- (https://github.com/ruby/irb/pull/873)
* Replace ExtendCommand with Command and standardize command related names
1... -
04:44 PM Revision 4411cdee (git): Fix typo in gc.c
-
04:34 PM Bug #20271: Issue with moving embedded string across ractors
- PR here: https://github.com/ruby/ruby/pull/9993
-
04:29 PM Bug #20271 (Closed): Issue with moving embedded string across ractors
- When embedded strings are moved, not all the embedded bytes are copied over to the new embedded string. This shows it...
-
04:26 PM Misc #20260: ISEQ flag for prism compiler
- @matz The work is done to add support for the flag on the ISEQ, but I think we additionally need your approval on add...
-
04:12 PM Revision b3158263 (git): [ruby/irb] Support repeating debugger input by passing empty input
- to it
(https://github.com/ruby/irb/pull/856)
* Test IRB's behaviour with empty input
* Handle empty input and pass ... -
03:49 PM Revision ff4f5c0c (git): [ruby/prism] Style/renaming
- https://github.com/ruby/prism/commit/53763d67d5
-
03:35 PM Revision 04e7c574 (git): [ruby/prism] Fix pattern with constant, (, and newlines
- https://github.com/ruby/prism/commit/d69d1b6f17
- 03:33 PM Revision f4f57e11 (git): [ruby/prism] Add warning for assignments to literals in conditionals
- https://github.com/ruby/prism/commit/ee87ed08fb
-
03:15 PM Revision c5f22b5b (git): Make all fields in AST movable
- 02:08 PM Revision f012ce0d (git): [ruby/prism] Fix lexing of `foo!` when it's a first thing to parse
- https://github.com/ruby/prism/commit/7597aca76a
-
09:55 AM Bug #20269: bignum too big to convert into `long' when running String#byteslice on Windows
- many thanks for your reply.
I found an explanation on [Reddit](https://www.reddit.com/r/C_Programming/comments/4kj... -
09:11 AM Bug #20269: bignum too big to convert into `long' when running String#byteslice on Windows
- On Windows, `long` is a 32-bit integer.
The error message says the length exceeds that limit. -
09:16 AM Revision fbc29ce0 (git): Avoid to fail with race condition
-
08:59 AM Revision 0301473f (git): Fixed dependencies list format
-
08:57 AM Revision e3f452e5 (git): Adjust indent
-
08:28 AM Revision 9f4d5eb1 (git): Try to find gemspec from `.bundle/specifications
-
08:28 AM Revision 38cc9dac (git): We can test bundled gems without default gems installation
-
08:28 AM Revision 62ab9335 (git): Try to test net-ftp examples again
-
08:28 AM Revision 9f708d48 (git): Clear runtime dependencies if default gems is specified.
- The current build system uses runtime dependencies from only
`.bundle` directory. We shouldn't install runtime depend... -
08:28 AM Revision 4047222a (git): Try to load original gemspec from `.bundle/gems/foo-x.y.z/foo.gemspec`.
- `.bundle/specification/foo-x.y.z.gemspec` may be changed our toolchain
-
07:13 AM Revision bc7266c5 (git): Bump the required BASERUBY version to 3.0 (#9976)
-
06:55 AM Bug #20270: Options with `--parser=prism`
- JFYI: It just so happens that the second issue is not a segmentation fault.
In `pm_parse_string` call just after t... -
05:50 AM Bug #20270 (Closed): Options with `--parser=prism`
- ### `--dump` option
Currently `parsetree` and `prism_parsetree` bits are separated, but it seems meaningless as far ... -
06:26 AM Revision 81752d20 (git): Abort when streaming code from stdin with Prism
- Do not read STDIN as a String instance.
-
06:26 AM Revision a64e93a8 (git): Use ID without cache and fix conversion of offset
-
06:26 AM Revision e0d068aa (git): Extract `process_options_global_setup`
-
06:26 AM Revision 839ccad2 (git): Extract functions depending on `--parser` option
-
06:16 AM Misc #20254: Add Launchable into Ruby CI
- @ono-max About customizing options, whatever results in less email by default is highly preferable.
-
05:27 AM Misc #20254: Add Launchable into Ruby CI
- I wonder if I should introduce the following options to customize the behavior of the GitHub comments feature in the ...
-
05:41 AM Revision 785b7ee1 (git): Rename the annocheck job
- gcc-11 is not the point of this job.
-
05:38 AM Revision cf16a704 (git): [rubygems/rubygems] Relax regexp for Ruby 3.3 or before
- https://github.com/rubygems/rubygems/commit/89d37e670c
-
05:38 AM Revision 7b568b1f (git): [rubygems/rubygems] bin/rubocop -a
- https://github.com/rubygems/rubygems/commit/f79a6a004d
-
05:36 AM Revision 0ae4d9c1 (git): Let annocheck workflow run only test-annocheck (#9990)
- The test of other tasks seems duplicated.
-
04:53 AM Revision 6f224d66 (git): [rubygems/rubygems] Add `gitlab:` Git source shorthand
- This new shorthand, similar to the existing `github:` shorthand, adds
support for Gitlab repositories with a notable ... - 02:57 AM Revision df8ae937 (git): Bump github/codeql-action from 3.24.1 to 3.24.3
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.1 to 3.24.3.
- [Release notes](https:... -
02:20 AM Revision 574312de (git): Extract `show_help` function
-
02:20 AM Revision 7ac8d3d6 (git): Dispose AST before exit by yydebug
-
02:12 AM Revision 1c41dc40 (git): [ruby/forwardable] Relax regexp for Ruby 3.3 or before
- https://github.com/ruby/forwardable/commit/42b50c2111
-
12:38 AM Revision 9d81741f (git): Pop the operand at the end
-
12:38 AM Revision cdc07236 (git): Update a comment on spill_temps()
-
12:38 AM Revision bda4192e (git): Remove duplicated spill_temps()
-
12:38 AM Revision cfe77db0 (git): Spill fewer temps on iv writes
- Not all IV writes require calling a C function. If we don't need to
execute a write barrier (IOW the written value is...
02/15/2024
-
11:45 PM Feature #20080: Introduce #bounds method on Range
- Actually, I don't see the clear benefit of the proposal. `first, last = range.bounds` can be `first = range.begin; la...
-
10:23 PM Feature #20080: Introduce #bounds method on Range
- Thanks for the feedback @matz! Is it the word `bounds` that you don't like in relation to the start and end values of...
-
11:05 PM Feature #20266: New syntax to escape embed strings in Regexp literal
- I wonder if `#{^foo}` might be a passable alternative for `#{=foo}` since "pinning" *almost* makes sense and and upti...
-
09:45 AM Feature #20266: New syntax to escape embed strings in Regexp literal
- I was also part of the discussion circle regarding this idea. The lack of support for easily escaping a string for r...
-
09:32 AM Feature #20266: New syntax to escape embed strings in Regexp literal
- https://github.com/nobu/ruby/tree/quoting-interpolation
https://github.com/ruby/ruby/pull/9979 -
09:05 AM Feature #20266: New syntax to escape embed strings in Regexp literal
- I agree with this proposal. Even if Ruby enables `\Q` and `\E` features in Onigumo, they don't work as expected if t...
-
08:45 AM Feature #20266 (Open): New syntax to escape embed strings in Regexp literal
- # Premise
When using embed strings in Regexp literal, it is interpreted as a part of the Regexp.
```ruby
foo =... -
11:04 PM Bug #19907: Method calls with keyword arguments in eval leaks callcache and callinfo objects
- https://github.com/ruby/ruby/pull/9973
I've opened a PR to de-dup identical callinfo, which will also in this case... -
11:04 PM Revision 1b9b9609 (git): [ruby/prism] Make location methods thread-safe
- * Before it could result in NoMethodError if multiple threads were
calling location methods: https://gist.github.co... - 08:51 PM Revision bf5cc9ef (git): Update default gems list at e7f7a85285b52a290be880f634244e [ci skip]
-
08:50 PM Revision e7f7a852 (git): [PRISM] Sync prism version bump
-
08:39 PM Revision 14a7277d (git): [ruby/prism] Speed up creating Ruby AST
- When creating the Ruby AST, we were previously allocating Location
objects for every node and every inner location. I... -
08:36 PM Revision 87cc2fd0 (git): [ruby/prism] Fix up invalid syntax
- https://github.com/ruby/prism/commit/8e3aad9e27
- 08:28 PM Revision 49ddbbf3 (git): [ruby/prism] Fix opening loc for an empty symbol
- https://github.com/ruby/prism/commit/241d0169da
-
08:26 PM Revision a5cee8fa (git): [ruby/prism] Handle more aliases. Better testing of prism ripper CLI and a test for it.
- https://github.com/ruby/prism/commit/cfd4f28cb3
- 08:26 PM Revision fa334ecd (git): [rubygems/rubygems] use full path for instance_eval
- so that __dir__ and __FILE__ will work properly from within that gemfile
fragment, if eval_gemfile is given a relativ... -
08:25 PM Revision 8f17b3bd (git): [ruby/prism] Avoid extra String copies in the FFI backend
- * For Prism.parse_file the file contents would be read as native, then
converted to a Ruby String, then converted t... -
08:21 PM Revision be82755d (git): [ruby/prism] Support multi-versioning for `Prism::Translation::Parser`
- ## Summary
Fixes https://github.com/ruby/prism/pull/2356.
I'm working on integrating Prism into RuboCop.
This PR i... -
05:34 PM Bug #20268 (Closed): Segfault in ruby 3.3 Fiber on aarch64 musl (mac m1)
- This is a duplicate of #20085. The fix should come out with the next release.
-
04:14 PM Bug #20268 (Closed): Segfault in ruby 3.3 Fiber on aarch64 musl (mac m1)
- On mac m1pro the following
```sh
docker run --platform linux/aarch64 --rm -it ruby:3.3.0-alpine3.19 ruby -e 'Fiber.... -
05:19 PM Revision 4d1b3a2b (git): Unset STR_SHARED when setting string to embed
-
04:59 PM Revision da7b9478 (git): YJIT: Pass nil to anonymous kwrest when empty (#9972)
- This is the same optimization as e4272fd29 ("Avoid allocation when
passing no keywords to anonymous kwrest methods") ... -
04:48 PM Revision e779c194 (git): Remove used str field in struct binwrite_arg
- 04:41 PM Revision a6bcd3aa (git): [ruby/prism] Fix debug logging
- https://github.com/ruby/prism/commit/01af2d4f39
- 04:40 PM Revision a0217025 (git): [ruby/prism] Fix parsing rescue modifier
- https://github.com/ruby/prism/commit/b7407ae3c0
-
04:22 PM Bug #20269 (Open): bignum too big to convert into `long' when running String#byteslice on Windows
- Running `String#byteslice` on Ruby 3.3 on Windows results in an error when using any number bigger than 32 bits:
`... -
04:00 PM Bug #20267: Hashes that use ar_table aren't moved properly across ractors
- I created a patch here: https://github.com/ruby/ruby/pull/9983
-
03:56 PM Bug #20267 (Closed): Hashes that use ar_table aren't moved properly across ractors
- This crashes in debug build and gives weird results in non debug build, because the ar_table values aren't copied ove...
-
11:43 AM Revision a7718c91 (git): Do not show an anonymous class as a receiver
-
11:34 AM Revision 0da12fa3 (git): Added singleton for prime
-
11:34 AM Revision 18da80e1 (git): Skip failing examples at Ruby 3.2+
-
11:34 AM Revision 4aef8752 (git): Surpressing constant redefinition warning
-
11:34 AM Revision 1e426bd5 (git): Exclude net-ftp examples because it has dependency issue
-
11:34 AM Revision 8ba053d3 (git): Re-enabled old bundled gems
-
11:06 AM Revision 8f926cb8 (git): No need to extract bundled gems before test-spec
- * Since https://github.com/ruby/ruby/pull/9977
-
10:51 AM Feature #20265: Deprecate and remove rb_newobj and rb_newobj_of
- +1
-
02:08 AM Feature #20265: Deprecate and remove rb_newobj and rb_newobj_of
- I'm positive. C extensions should basically use `TypedData_Make_Struct` instead.
-
10:48 AM Misc #20260: ISEQ flag for prism compiler
- mame (Yusuke Endoh) wrote in #note-11:
> @eregon I don't think it is a good idea to try to guess a node from a code ... -
02:13 AM Misc #20260: ISEQ flag for prism compiler
- @eregon I don't think it is a good idea to try to guess a node from a code range. To identify a unique node, the Pris...
-
10:16 AM Feature #20187 (Closed): Bundled gems at Ruby 3.4
- I separated them with https://github.com/ruby/ruby/pull/9977
-
10:12 AM Feature #19117 (Closed): Include the method owner in backtraces, not just the method name
- Applied in changeset commit:git|61819c87b29f3267d6a2499d9018f09cd5bcf2c4.
----------
Let Thread::Backtrace::Location... -
10:11 AM Revision 8f2c2316 (git): ruby-spec: Accept the receiver in backtraces
-
10:11 AM Revision 9d1b000b (git): Show the method owner in backtraces
- ```
test.rb:1:in 'Object#toplevel_meth': unhandled exception
from test.rb:4:in 'Foo.class_meth'
from ... -
10:11 AM Revision 61819c87 (git): Let Thread::Backtrace::Location have a method entry
- Instead of having iseq and cfunc separately, this change lets
Thread::Backtrace::Location have them together as
rb_ca... -
09:57 AM Revision 6958e88f (git): Fix task dependency
-
09:57 AM Revision 4a00fcbd (git): Rename and restructured net/ftp and net/http examples
-
09:57 AM Revision fa7529af (git): Move examples related core extension feature by Bigdecimal to under the library/bigdecimal
-
09:57 AM Revision 121dfb38 (git): Surpressing constant redefinition warning
-
09:57 AM Revision 1e6fffae (git): Added new ruby/spec task for bundled gems
-
09:57 AM Revision 76d322b5 (git): Disable to run for bundled gems in test-spec
-
09:42 AM Feature #16495 (Closed): Inconsistent quotes in error messages
- Applied in changeset commit:git|25d74b9527cd525042ad0b612b794fa331d3a318.
----------
Do not include a backtick in er... -
09:42 AM Revision 92eab382 (git): Update the error message format in bundler
-
09:42 AM Revision d5c16ddf (git): Temporarily update the error message format in prism
-
09:42 AM Revision d9234ba8 (git): Temporarily allow failures in some bundled gems
-
09:42 AM Revision 8259f35a (git): ruby-spec: Accept both a backtick and a single quote in error messages
-
09:42 AM Revision 25d74b95 (git): Do not include a backtick in error messages and backtraces
- [Feature #16495]
-
09:25 AM Misc #20254: Add Launchable into Ruby CI
- > Subsequently, test updates will be reflected by updating this comment.
Thank you! -
09:11 AM Misc #20254 (Assigned): Add Launchable into Ruby CI
- In dev meeting at #20193, we discussed about Launchable. No one against Launchable integration for our GitHub Actions...
-
08:53 AM Misc #20254: Add Launchable into Ruby CI
- Thank you for the feedback. It makes sense to minimize notification noise, especially considering different preferenc...
-
08:01 AM Revision 926277bf (git): s/ therefor/therefore/
-
08:01 AM Revision aa6d0bc0 (git): s/ocurs/occurs/
-
08:01 AM Revision 30385244 (git): s/bellow/below/
-
08:01 AM Revision 317c1da6 (git): s/Direcive/Directive/
-
08:01 AM Revision 8b061eeb (git): s/enocding/encoding/
-
07:30 AM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- At devmeeting yesterday, we concluded to have a new environment variable to control the `rb_bug()` crash report(as @E...
-
04:39 AM Revision c57880e6 (git): Show the invalid source encoding in messages
-
01:59 AM Misc #20238: Use prism for mk_builtin_loader.rb
- > I think there is a risk to use syntax which is not released yet. If the syntax is reverted by some reason, mk_built...
-
12:57 AM Misc #20238: Use prism for mk_builtin_loader.rb
- I think there is a risk to use syntax which is not released yet. If the syntax is reverted by some reason, mk_builtin...
-
01:55 AM Bug #20218: aset/masgn/op_asgn with keyword arguments
- > Does this also include blocks?
Yes. @nobu wrote a patch in #19918, so a block will also be prohibited.
Note t...
02/14/2024
-
11:57 PM Revision beeee548 (git): YJIT: Replace perf_fn! with a simpler macro (#9971)
-
10:44 PM Revision 06ad00ad (git): Lrama v0.6.3
-
10:44 PM Revision 95ec71ef (git): Revert "CHECK_LEAKS is always enabled with 01459f1"
- * This reverts commit cf8fb9429511068c69ce70da7f7818c7441c280b.
* CHECK_LEAKS is no longer always enabled. -
10:44 PM Revision d24be39d (git): Only check constant leaks by default for `make test-spec`
- * See https://github.com/ruby/ruby/pull/9548
-
09:50 PM Revision 6f9ca7f4 (git): YJIT: Use i32 over isize for ctx.sp_opnd() (#9968)
- It eventually casts it to i32 anyways, and a lot of callers already have
an i32, so using isize was just adding unnec... -
09:25 PM Revision 28709d59 (git): Remove unused argument in cc_table_free
-
09:09 PM Revision 72f8883a (git): YJIT: Extract keyword handling to make gen_send_iseq() shorter
- This should make it easier to grok the order of operations.
-
08:52 PM Revision ae8db4b6 (git): Remove unused function rb_cc_table_free
- 08:49 PM Revision c9ed59c2 (git): Update yjit/src/codegen.rs
- Co-authored-by: Takashi Kokubun <[email protected]>
-
08:49 PM Revision 7943cb22 (git): Consider rb_str_getbyte as leaf sometimes
- If YJIT knows the parameter to rb_str_getbyte is a fixnum, then I think
we can consider the function to be a leaf -
08:37 PM Revision fadb7d41 (git): Remove duplicated include in weakmap.c
-
08:29 PM Revision 9933377c (git): [PRISM] Correctly hook up line numbers for eval
-
08:17 PM Misc #20254: Add Launchable into Ruby CI
- So if I understand correctly, this isn't an alternative CI, just a side system that collect statistics and also bette...
-
05:14 PM Misc #20254: Add Launchable into Ruby CI
- > I agree there are room to improve the source code but we can improve after merging and trying it out, IMO.
(and we... -
06:43 PM Revision 1d3b3067 (git): Move rb_class_allocate_instance from gc.c to object.c
-
06:24 PM Revision fc2c128e (git): [PRISM] Set eval encoding based on string encoding
-
05:09 PM Revision 71777312 (git): YJIT: Add --yjit-perf=codegen option (#9957)
-
05:08 PM Feature #20265 (Closed): Deprecate and remove rb_newobj and rb_newobj_of
- GitHub PR: https://github.com/ruby/ruby/pull/9964
I’m proposing deprecating and removing the rb_newobj and rb_newo... -
04:28 PM Feature #20205: Enable `frozen_string_literal` by default
- > Question: what is the effect of "chilled string" on #frozen?
> Does chilled_string.frozen? return true?
That's ... -
02:48 PM Feature #20205: Enable `frozen_string_literal` by default
- Question: what is the effect of "chilled string" on `#frozen?`
Does `chilled_string.frozen?` return true?
Personall... -
09:08 AM Feature #20205: Enable `frozen_string_literal` by default
- Thank you Matz.
In that case I'll work with @etienne into getting the proof of concept into a mergeable feature ov... -
07:30 AM Feature #20205: Enable `frozen_string_literal` by default
- I agree with the proposal. It seems a well-thought process to migrate. The performance improvement was not as great a...
-
04:19 PM Revision ee3b4bec (git): YJIT: Simplify Kernel#send guards and admit more cases (#9956)
- Previously, our compile time check rejected dynamic symbols (e.g. what
String#to_sym could return) even though we cou... -
04:08 PM Bug #20085: Fiber.new{ }.resume causes Segmentation fault for Ruby 3.3.0 on aarch64-linux
- hsbt (Hiroshi SHIBATA) wrote in #note-20:
> https://github.com/ruby/ruby/pull/9371 is already backported into `ruby_... -
04:00 PM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- > (2) Default to RUBY_CRASH_REPORT_MODE=minimal behavior when RUBY_DEBUG=1. This feature is for CRuby core developers...
-
03:59 PM Misc #20260: ISEQ flag for prism compiler
- @mame I've made these changes here: https://github.com/ruby/ruby/pull/9934. Could you review? Thanks!
-
01:52 PM Misc #20260: ISEQ flag for prism compiler
- It would be great if `ErrorHighlight` can work on other Ruby implementations too, which means not relying on `RubyVM`...
-
01:38 PM Misc #20260: ISEQ flag for prism compiler
- Okay! That makes sense, thank you for the discussion. I'm also fine making `ErrorHighlight::Spotter` handle both, as ...
-
01:00 PM Misc #20260: ISEQ flag for prism compiler
- BTW, I prefer to have `ErrorHighlight::Spotter.new` accept both `RubyVM::AST::Node` and `Prism::Node` instead of addi...
-
11:47 AM Misc #20260: ISEQ flag for prism compiler
- How about the following API?
* Make `RubyVM::AbstractSyntaxTree.of` raise a RuntimeError for objects with iseq com... -
03:56 PM Revision f4a0e1cd (git): Prefer `Array.new(n) {}` to `n.times.map {}`
- * It is quite a bit faster:
ruby -rbenchmark/ips -e 'Benchmark.ips { |x| x.report("times.map") { 1000.times.map {} ... -
03:48 PM Revision c2d8d6eb (git): Initialize the Prism::Source directly with all 3 fields for the C extension
- * Faster that way:
$ ruby -Ilib -rprism -rbenchmark/ips -e 'Benchmark.ips { |x| x.report("parse") { Prism.parse("1 ... -
03:48 PM Revision 1b2708b1 (git): [ruby/prism] Remove attr_writer's for ParseResult#start_line and #offsets
- * As the user should not set these.
* Use #instance_variable_set/rb_iv_set() instead internally.
https://github.com/... -
03:48 PM Revision f0f6ffef (git): [ruby/prism] Serialize the newline_list to avoid recomputing it again later
- * Fixes https://github.com/ruby/prism/issues/2380
https://github.com/ruby/prism/commit/4eaaa90114 -
03:47 PM Revision 65f54355 (git): [DOC] Doc compliance (#9955)
-
03:33 PM Misc #20242: `--parser=prism_without_warning`
- I've added the PR here: https://github.com/ruby/ruby/pull/9963.
@mame would you mind reviewing? I had to add `rb_w... -
03:02 PM Misc #20242: `--parser=prism_without_warning`
- That works for me, thanks!
-
11:04 AM Misc #20242: `--parser=prism_without_warning`
- This issue was discussed at the dev meeting. No one agreed with `--parser=prism_without_warning` because it is too ad...
- 02:59 PM Revision f1136e73 (git): Update default gems list at 12b0e67fec2cc59a6f7da4a4bfbd52 [ci skip]
-
02:58 PM Revision 12b0e67f (git): [PRISM] Sync to latest prism
-
02:19 PM Bug #20264 (Feedback): Segfault in Enumerator#next while installing RMagick on M1 Mac
- there's no workaround right now (AFAIK affected platform is Linux VM on Apple Silicon), need to wait 3.3.1 to be shi...
-
09:08 AM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- hsbt (Hiroshi SHIBATA) wrote in #note-6:
> I could install `rmagick` with `linux/amd64`.
>
> ```
> $ docker run ... -
04:13 AM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- I could install `rmagick` with `linux/amd64`.
```
$ docker run -it --platform=linux/amd64 registry.docker.com/lib... -
01:47 PM Revision c84581f1 (git): [ruby/irb] Repurpose the help command to display the help message
- (https://github.com/ruby/irb/pull/872)
See #787 for more details.
https://github.com/ruby/irb/commit/d9192d92d0 -
01:46 PM Revision d0412599 (git): [ruby/irb] Improve constant lookup in SourceFinder
- (https://github.com/ruby/irb/pull/871)
https://github.com/ruby/irb/commit/87c279ccf2 -
01:42 PM Bug #20247 (Closed): net/http/header limits are too low
- Discussed at the dev meeting.
This header length limit was introduced to enhance security. Accepting unlimitedly l... -
01:36 PM Feature #20210 (Closed): Invalid source encoding raises ArgumentError, not SyntaxError
- I think that makes sense! Let's keep it as an argument error. Prism will keep parsing for now, but raise the right er...
-
11:20 AM Feature #20210: Invalid source encoding raises ArgumentError, not SyntaxError
- Discussed at the dev meeting.
We need a good reason to introduce incompatibility. You say you are fine with the cu... -
01:35 PM Bug #20218: aset/masgn/op_asgn with keyword arguments
- Does this also include blocks? Sorry I can't remember if that was officially decided or not. Also I'm presuming this ...
-
07:54 AM Bug #20218: aset/masgn/op_asgn with keyword arguments
- OK, prohibit keyword arguments in aset.
Matz.
-
01:33 PM Misc #20238: Use prism for mk_builtin_loader.rb
- Thank you for the discussion! I will look into a C program and update this ticket, that sounds like a good approach.
-
04:43 AM Misc #20238: Use prism for mk_builtin_loader.rb
- We discussed this at DevMeeting 2024-02-14.
* The idea of using Prism for supporting the latest syntax in builtin ... -
01:56 AM Misc #20238: Use prism for mk_builtin_loader.rb
- > install a couple extra packages for rubyci.org machines
Note that RubyCI doesn't have this problem. On RubyCI se... -
12:17 PM Feature #20257: Rearchitect Ripper
- No user interface changes other than lex state changes by making them to be aligned with parser's lex state transitio...
-
10:55 AM Bug #20111: `defined?` returns `expression` for assignment operators combined with fully qualified constants
- @ko1 Just inconsistency discovered while implementing `defined?` for these various constructs.
-
10:13 AM Feature #20187 (Assigned): Bundled gems at Ruby 3.4
- I changed test policy for this with nalsh's suggestion.
https://github.com/ruby/ruby/pull/9960#issuecomment-19433714... -
09:26 AM Feature #20187: Bundled gems at Ruby 3.4
- hsbt (Hiroshi SHIBATA) wrote in #note-6:
> @Eregon reverts my changes at [ruby/spec](https://github.com/ruby/spec/pu... -
03:11 AM Feature #20187 (Open): Bundled gems at Ruby 3.4
- @Eregon reverts my changes at [ruby/spec](https://github.com/ruby/spec/pull/1137) without any discussion. We shouldn'...
-
09:32 AM Feature #18576: Rename `ASCII-8BIT` encoding to `BINARY`
- byroot (Jean Boussier) wrote in #note-33:
> I'd like to change `Encoding::BINARY.inspect` from `"#<Encoding:ASCII-8B... -
05:30 AM Bug #20203: `TestEnumerable` test failures with GCC 14
- @alanwu do you have measurements with system qsort and ruby's qsort?
-
05:22 AM Feature #20160 (Rejected): rescue keyword for case expressions
- According to the original intention, `rescue` clauses in `case` should only handle exceptions from the target express...
-
05:12 AM Feature #20080: Introduce #bounds method on Range
- What ever it is, at least it's not "bounds" especially when a range excludes end.
Maybe we seek another name (or beh... -
05:10 AM Feature #19117: Include the method owner in backtraces, not just the method name
- I am OK with adding method owner. I am against removing quote signs.
Matz.
-
05:05 AM Feature #16495: Inconsistent quotes in error messages
- I am positive. I'd say go. We need to experiment anyway.
Matz.
- 03:17 AM Revision eea7ce55 (git): Bump github/codeql-action from 3.24.0 to 3.24.1
- Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.0 to 3.24.1.
- [Release notes](https:... -
03:13 AM Misc #20193: DevMeeting-2024-02-14
- [Feature #20187] Bundled gems at Ruby 3.4
* Should we test bundled gems at `make check`?
-
02:40 AM Revision 1fc7c79d (git): [PRISM] Exclude additional tests from rebase
-
02:19 AM Revision 8ec955d1 (git): [PRISM] Switch bootstraptest syntax error assertions to handle multiline
-
02:19 AM Revision 5de3e305 (git): [PRISM] Add temporary test exclusions to get eval passing
-
02:19 AM Revision adb2fbf6 (git): [PRISM] Prism/eval should handle file names provided
-
02:19 AM Revision f70a4a03 (git): [PRISM] yield is invalid inside eval
-
02:19 AM Revision 0285b533 (git): [PRISM] Don't rb_bug if redo/break/next used during eval
-
02:19 AM Revision edb755c8 (git): [PRISM] Add eval tests
-
02:19 AM Revision c2af974e (git): [PRISM] Build wrapper scopes for eval
- - Don't use `build_options_scopes` We can inline the code here instead
and avoid allocating all the extra arrays.
... -
02:19 AM Revision fd3f776a (git): [PRISM] Use Prism for `eval` if enabled
-
01:42 AM Revision 068b19bd (git): [ruby/prism] Match up token name to CRuby
- https://github.com/ruby/prism/commit/cf0369a5c7
-
01:40 AM Revision c54622c6 (git): Fix a warning with USE_RUBY_DEBUG_LOG=1 on macOS
- ```
compiling ../thread.c
In file included from ../thread.c:263:
In file included from ../thread_pthread.c:2870:
../t... -
01:32 AM Revision 8e3eb8c9 (git): [PRISM] Fix up common.mk dependencies
-
01:01 AM Revision 2fa051f6 (git): [ruby/prism] Validate multibyte characters in strings
- Check that multibyte characters are valid using pm_strpbrk. We need
to add a couple of codepaths to ensure all encodi...
02/13/2024
-
09:12 PM Revision dc5191d6 (git): [ruby/prism] Fix KOI-8 char width check
- https://github.com/ruby/prism/commit/06d3747c5b
-
08:57 PM Bug #20151: Can't build Ruby 3.1 on FreeBSD 14.0
- shyouhei (Shyouhei Urabe) wrote in #note-1:
> This has to be related: https://github.com/freebsd/freebsd-src/commit/... -
08:54 PM Revision a5869e5d (git): [PRISM] Replace assert with RUBY_ASSERT
- assert does not print the bug report, only the file and line number of
the assertion that failed. RUBY_ASSERT prints ... -
08:54 PM Revision 83c158fd (git): [PRISM] Replace assert with rb_bug
-
08:35 PM Revision a96110f7 (git): [ruby/prism] Convert more error messages to match specs
- https://github.com/ruby/prism/commit/7987b7aa20
-
08:30 PM Revision 4d3fc96b (git): Change dsymbol_alloc to use NEWOBJ_OF
-
08:25 PM Misc #20260: ISEQ flag for prism compiler
- Ahh sorry again, but actually if we introduce `Thread::Backtrace::Location#iseq`, all of this can be done in Ruby, be...
-
08:13 PM Misc #20260: ISEQ flag for prism compiler
- Sorry to respond again, but in thinking about it, I think `Prism.node_for` might not be right. Maybe it should be `Ru...
-
06:58 PM Misc #20260: ISEQ flag for prism compiler
- Yes, the user-facing part for iseq is only changing `RubyVM::InstructionSequence.to_a` to include `prism: true/false`...
-
06:30 PM Misc #20260: ISEQ flag for prism compiler
- I'm okay to change the internal data structure because we can change them in future.
How to change the user facing... -
08:10 PM Revision b1964a92 (git): [ruby/prism] Add code unit APIs to location
- LSPs need this because the protocol dictates that you return code
units for offsets. None of our existing APIs provid... -
07:49 PM Revision 6261d4b4 (git): Fix use-after-move in Symbol#inspect
- The allocation could re-embed `orig_str` and invalidate the data
pointer from RSTRING_GETMEM() if the string is embed... -
07:49 PM Revision 5add999d (git): Comment about not marking RSYMBOL(obj)->fstr [ci skip]
-
07:35 PM Bug #20237: Unable to unshare(CLONE_NEWUSER) in Linux because of timer thread
- Making the timer thread lazily is in tasklist but not sure when we can make it.
-
07:31 PM Bug #20090: Anonymous arguments are now syntax errors in unambiguous cases
- @naruse Hi - I'm new around here. I was poking around this bug as it affects our codebase at work, and I think the wr...
-
07:29 PM Bug #20111: `defined?` returns `expression` for assignment operators combined with fully qualified constants
- Just curious, who cares the difference?
-
07:08 PM Misc #20238: Use prism for mk_builtin_loader.rb
- kddnewton (Kevin Newton) wrote in #note-8:
> You can pass `Prism.parse(code, version: "3.3.0")` and it will parse as... -
07:02 PM Misc #20238: Use prism for mk_builtin_loader.rb
- > Using prism gem it can be newer than the source code (prism gem for ruby 3.5 syntax to build ruby 3.4, for example)...
-
06:23 PM Misc #20238: Use prism for mk_builtin_loader.rb
- I'm not negative to use Prism (or using parse.y) to make it to support newest syntax in builtins.
There are some con... -
07:05 PM Feature #19905: Introduce `Queue#peek`
- I feel it is natural that `to_a` returns `[]` immediately if there is no enqueued item.
(`#peek` is not clear on it) -
05:22 PM Feature #19905: Introduce `Queue#peek`
- Seems like all the use cases so far would be as well if not better handled by `to_a`. Which I admit I hoped existed a...
-
02:59 PM Feature #19905: Introduce `Queue#peek`
- I would like to provide another use case for `Queue#peek`. I'm using `Queue` in a project that's running commands pro...
-
06:51 PM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- * As a MRI developer, I don't need loaded features (LF) and memory maps (MM) and it interrupts me to see the backtrac...
-
03:54 PM Feature #20249: Introduce a backtrace-only mode for rb_bug()
- I've received feedback that if we switch the default, no one would really use the full output mode, so we shall keep ...
-
06:49 PM Revision 21297293 (git): [DOC] Doc compliance (#9944)
-
06:37 PM Bug #20230 (Closed): Fix crash when passing large keyword splat to method accepting keywords and keyword splat
- Fixed by commit:c20e819e8b04e84a4103ca9a036022543459c213
-
06:26 PM Feature #20257: Rearchitect Ripper
- Do you think the proposal has impact for user code?
-
06:26 PM Revision 29d04bb0 (git): [ruby/prism] Introduce `version: "3.4.0"`
- This is effectively an alias for "latest" right now. In the future
it will change to be its own enum value.
https://... -
06:15 PM Revision 246005f5 (git): [ruby/prism] Fix an error when specifying the parsing version `latest`
- This PR fixes following error when using `version: latest` argument.
```console
$ ruby -rprism -e "p Prism.parse('->... -
06:14 PM Feature #19117: Include the method owner in backtraces, not just the method name
- Oops, indeed.
It seems a bit easier to me to read with the quotes:
```
/Users/byroot/.gem/ruby/3.2.2/gems/activere... -
06:02 PM Feature #19117: Include the method owner in backtraces, not just the method name
- It should be:
```
/Users/byroot/.gem/ruby/3.2.2/gems/activerecord-7.1.2/lib/active_record/connection_adapters/abs... -
10:58 AM Feature #19117: Include the method owner in backtraces, not just the method name
- I think without quotes, while it looks clean for a simple example of all short paths it can be slower/harder to find ...
-
10:28 AM Feature #19117: Include the method owner in backtraces, not just the method name
- > Do we need quotes?
I'm not attached to them, and I suppose removing them would also solve https://bugs.ruby-lang... -
09:42 AM Feature #19117: Include the method owner in backtraces, not just the method name
- Do we need quotes?
From comment #28
```
./test.rb:10:in `Integer#+': String can't be coerced into Integer (T... -
06:10 PM Revision a93f4e3d (git): byteslice can return nil so we have to push an "unknown" value
-
05:16 PM Revision fdaef7a7 (git): YJIT: Fixup kwrest stack base
- I was a little rushed and didn't notice that it was still using the
final stack size even though we don't grow the st... -
04:53 PM Bug #20234: Segfault parsing begin statement inside method definition receiver
- I made an attempt to fix this at https://github.com/ruby/ruby/pull/9948. I added all the tests mentioned here. I'm no...
-
04:20 PM Revision c35fea85 (git): Specialize String#byteslice(a, b) (#9939)
- * Specialize String#byteslice(a, b)
This adds a specialization for String#byteslice when there are two
parameters.
... -
04:05 PM Revision a71d1ed8 (git): Fix memory leak when parsing invalid hash symbol
- For example:
10.times do
100_000.times do
eval('{"\xC3": 1}')
rescue EncodingError
end... -
04:05 PM Revision e4272fd2 (git): Avoid allocation when passing no keywords to anonymous kwrest methods
- Thanks to the new semantics from [ruby-core:115808], `**nil` is now
equivalent to `**{}`. Since the only thing one co... -
04:05 PM Misc #20193: DevMeeting-2024-02-14
- * [Feature #20249] Introduce a backtrace-only mode for rb_bug() (osyoyu)
* The current crash report printed by rb_b... -
06:51 AM Misc #20193: DevMeeting-2024-02-14
- * [Feature #20244] Show the conflicting another chdir block
* `Dir.chdir` is warning when in another chdir block... -
01:50 AM Misc #20193: DevMeeting-2024-02-14
- * [Bug #20225] Inconsistent behavior of regex matching for a regex has a null loop (makenowjust)
* Onigmo has stran... -
04:04 PM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- seems like
https://github.com/ruby/ruby/pull/9385
https://bugs.ruby-lang.org/issues/20085 -
01:27 PM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- Coincidentally, I'm pretty sure that code is useless: https://github.com/ruby-gnome/pkg-config/pull/25.
-
01:12 PM Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac
- The interesting parts from the upstream ticket:
```
Segmentation fault at 0x0067ffffb37006c0
ruby 3.3.0 (2023-12... -
11:39 AM Bug #20264 (Feedback): Segfault in Enumerator#next while installing RMagick on M1 Mac
- I raised a bug at RMagick, they said to go to pkg-config. I raised a bug there, and they said to raise it here. Hopef...
-
03:26 PM Revision 4e481c77 (git): [PRISM] Refactors to use more locations
-
03:26 PM Revision fe31b682 (git): [PRISM] Stop passing parser around so much
-
03:26 PM Revision e967e062 (git): [PRISM] Switch to locations for PM_ALIAS_GLOBAL_VARIABLE_NODE, PM_ALIAS_METHOD_NODE, and PM_AND_NODE
-
03:26 PM Revision 76ab017f (git): [PRISM] Brace style in prism_compile.c
- 02:39 PM Revision d357d50f (git): [PRISM] Fix lambda start column number
- Co-Authored-By: Kevin Newton <[email protected]>
-
02:37 PM Revision b662edf0 (git): [PRISM] Combine hash compilation between hashes and keywords
-
02:37 PM Revision c0e12142 (git): [PRISM] Fix compilation of hash with multiple merges
- 02:09 PM Revision dedca318 (git): [ruby/prism] Fix `full_name` for constant path targets
- https://github.com/ruby/prism/commit/84c10f3a2d
-
01:36 PM Revision 2f0f9523 (git): [ruby/irb] Fix SourceFinder's constant evaluation issue
- (https://github.com/ruby/irb/pull/869)
Currently, if the signature's constant part is not defined, a NameError
would... -
01:33 PM Revision ec26786b (git): [ruby/irb] Refactor eval_path and `SourceFinder::Source`
- (https://github.com/ruby/irb/pull/870)
* Assign `@eval_path` through `irb_path=` method
This simplifies the origina... -
11:11 AM Revision b5327647 (git): extract-gems before nmake in Visual Studio workflow
- * BTW this workflow is the only one doing extract-extlibs before building.
It seems building with Visual Studio and... -
11:11 AM Revision 9204416b (git): Revert "Try `nmake install` before `nmake test-spec`"
- This reverts commit d4a6c6521aa1a5208939a2cd981a13ca01a07d2a.
-
10:04 AM Bug #20263 (Closed): Backport https://github.com/ruby/ruby/pull/9498 to Ruby 3.3
-
09:09 AM Bug #20263 (Closed): Backport https://github.com/ruby/ruby/pull/9498 to Ruby 3.3
- Pull request: https://github.com/ruby/ruby/pull/9805
- 09:57 AM Revision e848848b (git): [ruby/reline] C for vi mode
- (https://github.com/ruby/reline/pull/472)
https://github.com/ruby/reline/commit/d197be7c44 -
09:38 AM Misc #20254: Add Launchable into Ruby CI
- Some more background:
1, I heard the introduction of Launchable service with some committers by my former colleagu... -
09:01 AM Bug #19991: rb_register_postponed_job async-signal-unsafety causes crash in GC
- I've also documented how to workaround this issue in the Datadog Ruby profiler in https://docs.datadoghq.com/profiler...
-
07:11 AM Revision 01d4d5b8 (git): Remove duplicate path-ignore entries [ci skip]
-
06:47 AM Bug #20183 (Closed): `erb/escape.so` cannot be loaded when `--with-static-linked-ext`
-
06:28 AM Bug #20262: Regex mismatch between Ruby 3.2.2 and 3.3.0
- I accidentally left the "()\1" in the original post, but it should not be there and I don't see a way to change it. T...
-
06:28 AM Bug #20262 (Closed): Regex mismatch between Ruby 3.2.2 and 3.3.0
- This might be a duplicate of https://bugs.ruby-lang.org/issues/20098, but I cannot make it match with the backref so ...
-
06:19 AM Bug #20098: Wrong regexp match in ruby 3.2 and 3.3
- Looks to be the same bug, but I cannot make it match with the backref. Below example matches in 3.2.2 but not in 3.3...
-
01:56 AM Revision 038189b6 (git): Use dedicated parser_string hash function
- Define and use `rb_parser_str_hash` for `rb_parser_string_t`
instead of `rb_str_hash` to remove dependency on `rb_str... - 01:27 AM Revision 785aa47c (git): [rubygems/rubygems] Update SPDX license list as of 2024-02-08
- https://github.com/rubygems/rubygems/commit/ec3de95d79
-
01:07 AM Revision 1f0fa318 (git): Fix typo in asan section of building_ruby.md docs
- s/copmiler-rt/compiler-rt/
-
12:53 AM Bug #20246 (Closed): Unexpected behavior for Regexp in Subexpression Calls on Ruby 3.3.0
- Applied in changeset commit:git|4a6384ed9358e8fb8464f6e37efb5477182f01db.
----------
Fix [Bug #20246]: Don't set nex... -
12:53 AM Revision 4a6384ed (git): Fix [Bug #20246]: Don't set next_head_exact if a capture is called (#9897)
Also available in: Atom