Activity
From 06/21/2023 to 06/27/2023
06/27/2023
-
08:43 PM Revision 8aedfefb (git): [ruby/irb] Remove keyword exception from Context#evaluate because
- the value is always nil
(https://github.com/ruby/irb/pull/617)
https://github.com/ruby/irb/commit/62691384f8 -
07:51 PM Revision caddd027 (git): [ruby/irb] Move input line mutation out of `Context#evaluate`
- (https://github.com/ruby/irb/pull/615)
This makes sure `Context#evaluate` really just evaluates the input.
It will a... -
04:40 PM Bug #19745 (Closed): Confirm correct behaviour when attaching private method with `#define_singleton_method`
- It is expected that `define_singleton_method` defines a public singleton method (see #18561). For `define_method`, vi...
-
03:46 PM Bug #19745 (Closed): Confirm correct behaviour when attaching private method with `#define_singleton_method`
- Should dynamically added private methods be accessible publicly?
See the following example?
```ruby
private de... -
02:27 PM Bug #18464: RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
- Aaaahh. It's a shame, but I can understand 😓 . Thanks for the clarification :)
-
02:16 PM Bug #18464: RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
- ivoanjo (Ivo Anjo) wrote in #note-12:
> Can I bother you with a backport to 3.0 as well?
Ruby 3.0 is in security ... -
10:58 AM Bug #18464: RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
- Thanks again @nagachika!
Can I bother you with a backport to 3.0 as well? I know that one is getting "long in the ... -
02:14 PM Revision 913e01e8 (git): Stop allocating unused backref strings at `defined?`
-
01:39 PM Revision df5ae0a5 (git): Use `rb_reg_nth_defined` instead of `rb_match_nth_defined`
-
10:19 AM Revision eaad44ad (git): [ruby/irb] Always add \n at the end of the test input in RubyLex
- test
(https://github.com/ruby/irb/pull/614)
https://github.com/ruby/irb/commit/e68c6128aa -
07:37 AM Revision 9dd86985 (git): [rubygems/rubygems] Fixup
- https://github.com/rubygems/rubygems/pull/6766
https://github.com/rubygems/rubygems/commit/c5c5797227 -
02:34 AM Feature #19744 (Closed): Namespace on read
- # What is the "Namespace on read"
This proposes a new feature to define virtual top-level namespaces in Ruby. Thos... -
02:15 AM Revision a99d0c15 (git): [rubygems/rubygems] Removed unused variable
- https://github.com/rubygems/rubygems/commit/68cc941bed
-
02:15 AM Revision 65c21793 (git): [rubygems/rubygems] Molinillo::DependencyGraph is initialized in Molinillo::Resolver#resolve
- https://github.com/rubygems/rubygems/commit/1c39e24c95
06/26/2023
-
07:41 PM Bug #18743: Enumerator#next / peek re-use each others stacktraces
- Oh, I understood from Matz's initial suggestion that the exceptions should be chained, but I see now what he meant. I...
-
02:03 PM Revision ec59b95c (git): [ruby/yarp] Use smaller regexp options
- https://github.com/ruby/yarp/commit/4deb7c3ae0
-
01:55 PM Revision 515bd421 (git): Update to ruby/spec@30e1c35
-
01:55 PM Revision f73fa299 (git): Update to ruby/mspec@3cf2d16
- 01:31 PM Revision 4fc8b8f0 (git): [ruby/yarp] Prevent reading/writing outside the bounds of options
- https://github.com/ruby/yarp/commit/52bed3cbe2
- 01:13 PM Revision 44197e51 (git): [ruby/yarp] Add missing snapshot
- https://github.com/ruby/yarp/commit/08f08a6cc4
-
11:09 AM Bug #19585: Ruby Fails to Build on macOS with --enable-shared and --with-jemalloc
- ruby_3_1 c87bf4d8e96819010942a00372ee518e22c76bac merged revision(s) 038f9ade3c4d965415e4956561975454cf9eeb21.
- 11:09 AM Revision c87bf4d8 (git): merge revision(s) 038f9ade3c4d965415e4956561975454cf9eeb21: [Backport #19585]
- Use tools appropriate with CC
To get rid of mysterious errors such as:
```
/Applications/Xc... -
11:08 AM Bug #19532 (Closed): Handling of 6-byte codepoints in left_adjust_char_head in CESU-8 encoding is broken
- Applied in changeset commit:git|0275614ba213dfb6f05743a16f65623bc3b6e274.
----------
merge revision(s) 2c8f287: [Bac... -
11:07 AM Bug #19532: Handling of 6-byte codepoints in left_adjust_char_head in CESU-8 encoding is broken
- ruby_3_1 0275614ba213dfb6f05743a16f65623bc3b6e274 merged revision(s) 2c8f287.
- 11:07 AM Revision 0275614b (git): merge revision(s) 2c8f287: [Backport #19532]
- Fix handling of 6-byte codepoints in left_adjust_char_head in CESU-8
encoding
---
enc/cesu... -
10:06 AM Revision 3acf5a27 (git): Suppress warnings
-
09:25 AM Revision dc940cc7 (git): [DOC] Nested ordered lists need more indents
-
04:52 AM Revision d1b6ff42 (git): Add the chopsticks code at RubyKaigi2023
- 03:44 AM Revision 94ac77c9 (git): Bump ossf/scorecard-action from 2.1.3 to 2.2.0
- Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.1.3 to 2.2.0.
- [Release notes](https:...
06/25/2023
-
08:44 PM Revision ed587abf (git): Fix broken links
-
03:45 PM Revision 83076272 (git): [ruby/uri] String literals are frozen now
- https://github.com/ruby/uri/commit/0b6ad60af6
-
03:24 PM Revision c21436cb (git): [ruby/uri] Fix host part in relative referece #83
- In relative referece, host part can be ommitted but can not be empty.
https://github.com/ruby/uri/commit/2980f0ba02 -
08:21 AM Revision 15ec072a (git): [DOC] Parse documents under doc/yjit
-
08:21 AM Revision 0a9ef054 (git): [DOC] Parse all documents under doc/regexp
- 07:00 AM Revision 9df5b456 (git): Update bundled gems list at 2023-06-25
-
06:21 AM Bug #18464: RUBY_INTERNAL_EVENT_NEWOBJ tracepoint causes an interpreter crash when combined with Ractors
- ruby_3_2 b422c3523c419b88c6da23a4022ae8864f411b84 merged revision(s) 7bd7aee02e303de27d2cddfc5ef47e612d6782cb.
-
06:20 AM Revision b422c352 (git): merge revision(s) 7bd7aee02e303de27d2cddfc5ef47e612d6782cb: [Backport #18464]
- Fix interpreter crash caused by RUBY_INTERNAL_EVENT_NEWOBJ + Ractors
When a Ractor is created whilst a trace... -
05:12 AM Revision 00216c8a (git): [ruby/irb] Fix process_continue(rename to should_continue?) and
- check_code_block(rename to check_code_syntax)
(https://github.com/ruby/irb/pull/611)
https://github.com/ruby/irb/com... -
03:39 AM Bug #19529: [BUG] ObjectSpace::WeakMap can segfault after compaction
- ruby_3_2 e3d10dedf106357d2b17fc8786d35035e0b366cf merged revision(s) bffadcd6d46ccfccade79ce0efb60ced8eac4483.
-
03:26 AM Bug #19529: [BUG] ObjectSpace::WeakMap can segfault after compaction
- ruby_3_2 3ebcbb537d7ae37e49c49e05b28d2cc5b324f151 merged revision(s) 548086b34e3dd125edabf5dc1e46b891fad3ea9c,3dc8cde...
-
03:37 AM Revision 0c00fb5d (git): merge revision(s) ec14861f0d7a1e99d3e6667dee2f4c9cc426d5f3:
- Update to ruby/spec@7e680fa
---
spec/ruby/core/dir/home_spec.rb | 5 +++--
spec/ruby/c... -
03:29 AM Revision e3d10ded (git): merge revision(s) bffadcd6d46ccfccade79ce0efb60ced8eac4483: [Backport #19529]
- Add guard to compaction test in WeakMap
Some platforms don't support compaction, so we should skip this test... -
03:26 AM Revision 3ebcbb53 (git): merge revision(s) 548086b34e3dd125edabf5dc1e46b891fad3ea9c,3dc8cde70078ccb38f5f4b0818ad5eecded01bd5,e0cf80d666d4b5df3229f030a16d10d21323508e: [Backport #19529]
- ObjectSpace::WeakMap: fix compaction support
[Bug #19529]
`rb_gc_update_tbl_refs` can't be used on ... -
02:52 AM Bug #19323: Integer overflow in `Integer#<<`
- ruby_3_2 a048f7882a13e96080021a5bc13ef1fb293b4985 merged revision(s) 1cdf8ab07b24ebd16e93621957196e8b1d67f2ba.
-
02:52 AM Revision a048f788 (git): merge revision(s) 1cdf8ab07b24ebd16e93621957196e8b1d67f2ba: [Backport #19323]
- [Bug #19323] Raise `RangeError` instead of integer overflow
---
bignum.c | 5 ++++...
06/24/2023
-
10:20 PM Bug #19569 (Closed): #map on Enumerator::Lazy block arguments seem to differ from regular #map
- Applied in changeset commit:git|a14915ca4baae40f08d288a38b8bfb595500ad90.
----------
Do not have Enumeratory::Lazy#z... -
10:20 PM Revision 406799ca (git): [ruby/irb] Omit nesting_level, use indent_level to build prompt
- string
(https://github.com/ruby/irb/pull/610)
https://github.com/ruby/irb/commit/f01ff0811b -
03:41 PM Revision a14915ca (git): Do not have Enumeratory::Lazy#zip mark result as packed
- Fixes [Bug #19569]
-
10:17 AM Revision c94b5f12 (git): De-duplicate parse_st.c code from st.c
-
10:17 AM Revision 3443e43b (git): Remove `st_functions_t`
-
09:18 AM Revision e02c7a73 (git): Ignore only warnings known by clang
- Clang 17 does not know warning group '-Wgnu-empty-initializer'.
-
08:00 AM Bug #19307: Fix `OpenSSL::X509::CertificateError: invalid digest` on CentOS 9 / RHEL 9
- ruby_3_2 9fca561980c6d024229d72600180b20f3f77536f merged revision(s) cd5e6cc0ea48353c88d921b885b552dc76da255c,bbf54ec...
-
07:59 AM Revision 9fca5619 (git): merge revision(s) cd5e6cc0ea48353c88d921b885b552dc76da255c,bbf54ec334fe2edd7669a944d88d17efde49a412: [Backport #19307]
- Update to ruby/mspec@fef9b81
---
spec/mspec/tool/tag_from_output.rb | 2 +-
1 file changed,... -
07:46 AM Feature #19717: `ConditionVariable#signal` is not fair when the wakeup is consistently spurious.
- I finished spiking out a bit of a POC of how this kind of handoff could work - https://github.com/ruby/ruby/pull/7977...
-
06:32 AM Revision 97152d44 (git): [ruby/yarp] Name test methods from relative paths
- Full path name of the source directory is a useless noise as tests.
https://github.com/ruby/yarp/commit/44a7ae2e64
06/23/2023
-
11:58 PM Bug #18605: Fails to run on (newer) 32bit Windows with ucrt
- I have created a simple fix which helped to run 32-bit Ruby 2.6.x up to 3.2.x on Windows 11 without getting 'unexpect...
-
08:06 PM Misc #19679 (Closed): Migrate Wiki from bugs.ruby-lang.org to ruby/ruby GitHub repository
- 07:56 PM Revision 261e3663 (git): [ruby/yarp] Check for eof in yp_regexp_char_is_eof
- https://github.com/ruby/yarp/commit/f3fbc5bf9e
- 07:56 PM Revision 6ee106ff (git): [ruby/yarp] If ? is last char of regexp buffer, don't read beyond it.
- https://github.com/ruby/yarp/commit/1764532572
- 07:56 PM Revision 6dc23149 (git): [ruby/yarp] Don't read past the end of input parsing regex group
- https://github.com/ruby/yarp/commit/03f5a330a9
-
06:46 PM Revision 7ce6bcaf (git): Expose rb_hash_resurrect
- This is for implementing the `duphash` instruction
-
02:37 PM Revision 01507d2f (git): Skip test on Solaris SPARC
- This test fails on Solaris SPARC with the following error and I can't
figure out why:
TestGCCompact#test_moving_has... -
10:36 AM Feature #19057: Hide implementation of `rb_io_t`.
- byroot (Jean Boussier) wrote in #note-17:
> @ioquatix I'm not sure which change exactly is the cause, but it appears... -
10:34 AM Bug #18810: Make `Kernel#p` interruptable.
- It's because the code changed on master, https://github.com/ruby/ruby/commit/fe6b2e20e9f17ed2c2900aa72994e075ffdc7124...
-
10:26 AM Bug #18810: Make `Kernel#p` interruptable.
- Mmh, but it does work to interrupt `p`:
```
$ ruby -e 'o=Object.new; def o.inspect; loop { Thread.pass }; end; p 1;... -
10:24 AM Bug #18810: Make `Kernel#p` interruptable.
- `p` being uninterruptible means all of `object.inspect` and potential Fiber scheduler code is run under `Thread.handl...
-
05:54 AM Revision 73529a12 (git): Declare `RHASH_AR_TABLE` and `RHASH_ST_TABLE` return non-null
- 03:52 AM Revision 00c1bd66 (git): Update default gems list at b7375770ef15c7d7b3fdf14bf1964a [ci skip]
-
03:52 AM Revision b7375770 (git): [ruby/timeout] Bump up v0.4.0
- https://github.com/ruby/timeout/commit/413194f8d2
06/22/2023
-
11:27 PM Bug #18810: Make `Kernel#p` interruptable.
- I submitted a pull request to update the Kernel#p documentation: https://github.com/ruby/ruby/pull/7975
-
11:02 PM Bug #18933: Dir.tmpdir implemented in non-Ractor-safe manner
- @nobu submitted a pull request to fix this upstream: https://github.com/ruby/tmpdir/pull/22
-
10:36 PM Bug #19293: The new Time.new(String) API is nice... but we still need a stricter version of this
- mame (Yusuke Endoh) wrote in #note-4:
> BTW Ruby 3.2.0 accidentally allows `Time.new("2023-01")`, `Time.new("2023-01... -
06:24 PM Revision e8c93851 (git): [ruby/timeout] Raise exception instead of throw/catch for timeouts
- (https://github.com/ruby/timeout/pull/30)
throw/catch is used for non-local control flow, not for exceptional situat... -
06:21 PM Misc #19740: Block taking methods can't differentiate between a non-local return and a throw
- I'm not sure it's good to be able to differentiate, because then it could be a mess if different gems consider return...
-
06:15 PM Revision b9349760 (git): Prefer `0` over `NULL` as function pointers
- SunC warns use of `NULL`, pointer to data as function pointers.
-
06:08 PM Revision 52f8de4f (git): Remove dead code in hash.c
- RHASH_TABLE_NULL_P and ar_alloc_table are no longer needed since
all Hash will have AR tables. -
05:49 PM Bug #11064: #singleton_methods for objects with special singleton_class returns an empty array
- I discussed this with @headius at RubyKaigi, and agree that it would be best to make `singleton_method` consistent wi...
-
05:07 PM Revision 218a8d8e (git): [ruby/reline] Remove unused method
- (https://github.com/ruby/reline/pull/557)
`get_mbchar_byte_size_by_first_char` isn't used in Reline.
Also, this meth... -
04:40 PM Bug #19479 (Closed): Support IPv4-mapped IPv6 addresses in IPAddr#private?
- Applied in changeset commit:git|de51a4a13eab2c4c5917de923edde33dfed6f22f.
----------
[ruby/ipaddr] Consider IPv4-map... -
04:17 PM Bug #19479: Support IPv4-mapped IPv6 addresses in IPAddr#private?
- I submitted an upstream pull request to fix this: https://github.com/ruby/ipaddr/pull/57
-
04:40 PM Revision de51a4a1 (git): [ruby/ipaddr] Consider IPv4-mapped IPv6 addresses private if IPv4 address is private
- Fixes [Bug #19479]
https://github.com/ruby/ipaddr/commit/7faa0768d3 -
04:23 PM Revision 711cabec (git): Sync ruby/yarp to https://github.com/ruby/yarp/commit/89a00203af803032383338c943836da6bafca7d9
-
04:20 PM Revision e8fb8426 (git): [ruby/yarp] Allow for block statements after elsif and else
- https://github.com/ruby/yarp/commit/4560cab235
-
04:19 PM Revision 7fad7d34 (git): [ruby/yarp] Do not leak file descriptors
- https://github.com/ruby/yarp/commit/83c2c45b28
-
04:19 PM Revision b879528e (git): [ruby/yarp] Do not leak memory from lex modes
- https://github.com/ruby/yarp/commit/df6661740c
-
03:59 PM Revision edd48810 (git): Sync ruby/yarp with sync_default_gems
-
02:21 PM Bug #19743 (Closed): Ruby's parser seems to ignoring DOT at the end of file just after digits
- Applied in changeset commit:git|1344de56219cf83ca146c5346783f8483af534f9.
----------
[Bug #19743] All but EOF can be... -
10:52 AM Bug #19743: Ruby's parser seems to ignoring DOT at the end of file just after digits
- Seems since 2.5.
I tried bisecting 2.5 branch, but `configure` generated with recent autoconf doesn't work. -
11:10 AM Revision 1344de56 (git): [Bug #19743] All but EOF can be read again after push-back
-
10:41 AM Feature #19742: Introduce `Module#anonymous?`
- Eregon (Benoit Daloze) wrote in #note-27:
> Regarding `Module#anonymous?`, I think it should be true for `Module.new... -
10:38 AM Feature #19742: Introduce `Module#anonymous?`
- > I want to use this proposal to discuss this issue and whether there is anything we should do about such behaviour (...
-
09:29 AM Feature #19742: Introduce `Module#anonymous?`
- @ioquatix oh wait, we might have two questions in our minds.
I am like: Can a module whose `name` is not `nil` be `a... -
08:17 AM Feature #19742: Introduce `Module#anonymous?`
- > I don't think Rails should monkey patch Module in this way either.
This may be a problem with some of rails idio... -
08:10 AM Feature #19742: Introduce `Module#anonymous?`
- > There is no semantics for anonymous? because it does not exist in Ruby yet.
I used the word "semantics" because th... -
07:43 AM Feature #19742: Introduce `Module#anonymous?`
- > The first one is that Ruby docs (today) agree with my definition: If a module is anonymous, then its name is `nil`....
-
07:30 AM Feature #19742: Introduce `Module#anonymous?`
- @janosch-x agreed, in Zeitwerk I do my best at [reaching the original `Module#name`](https://github.com/fxn/zeitwerk/...
-
07:09 AM Feature #19742: Introduce `Module#anonymous?`
- fxn (Xavier Noria) wrote in #note-17:
> def self.name [...] I think overriding such a core method for an attribute t... -
07:04 AM Feature #19742: Introduce `Module#anonymous?`
- I'm not that different, except
Anonymous to me means you don't have a name [that resolves to self]. If the module ha... -
06:23 AM Feature #19742: Introduce `Module#anonymous?`
- Yeah, we do not see it the same way.
Anonymous to me means you don't have a name. If the module has a name, done, it... -
01:09 AM Feature #19742: Introduce `Module#anonymous?`
- Should setting a temporary name make a module not anonymous?
I found the following use cases in Rails:
```ruby
... -
12:42 AM Feature #19742: Introduce `Module#anonymous?`
- Oh, I thought you meant that the module has a name and had not been assigned to a constant.
If the module has a na... -
12:14 AM Feature #19742: Introduce `Module#anonymous?`
- I don't understand, is this correct or not?
```ruby
class Module
# Implementation from Rails:
def anonymous?
... -
12:00 AM Feature #19742: Introduce `Module#anonymous?`
- Agree, but that method is not `Module#name`.
-
10:38 AM Misc #19722: DevMeeting-2023-07-13
- * [Feature #19729] Store object age in a bitmap (eightbitraptor)
* Allows more control of generational GC (number ... -
09:44 AM Revision 8142728b (git): [rubygems/rubygems] Prefer `assert_include` over mere `assert`
- https://github.com/rubygems/rubygems/commit/140405cee6
-
09:44 AM Revision a651903a (git): [rubygems/rubygems] Prefer `assert_predicate` over mere `assert`
- https://github.com/rubygems/rubygems/commit/0d10063824
-
09:44 AM Revision 67ab8b43 (git): [rubygems/rubygems] Fix argument order of `assert_equal`
- https://github.com/rubygems/rubygems/commit/a7c015f82b
-
04:21 AM Revision ddb431c9 (git): Fix leaked FD for an empty file
-
12:42 AM Feature #19708: Support `attr_reader :foo?`
- Hey Jean & Benoit, thanks for finding those prior discussions. I tried searching for them before posting, but the que...
06/21/2023
-
11:59 PM Feature #19742: Introduce `Module#anonymous?`
- Anyone can do the following:
```ruby
my_module = Module.new do
def self.name
"Hello World"
end
end
`... -
11:30 PM Feature #19742: Introduce `Module#anonymous?`
- Let me add for context that Active Support has had `Module#anonymous?` for many years, I wrote it myself ([commit](ht...
-
11:26 PM Feature #19742: Introduce `Module#anonymous?`
- The documentation for `Module#name` says:
> Returns the name of the module mod. Returns nil for anonymous modules.... -
11:10 PM Feature #19742: Introduce `Module#anonymous?`
- I'll add my observation that Marshal states it cannot handle anonymous modules, but I say, it cannot handle ANY non-p...
-
10:53 PM Feature #19742: Introduce `Module#anonymous?`
- Just because `name == nil` implies it's anonymous, does not mean that anonymous implies that `name == nil`. In fact, ...
-
10:42 PM Feature #19742: Introduce `Module#anonymous?`
- I thought "permanent" was mostly internal jargon, where is in the documentation mentioned?
In the public API you h... -
10:33 PM Feature #19742: Introduce `Module#anonymous?`
- The concepts are discussed in the code, but they shouldn't be assumed as canonical, IMHO.
```c
/**
* Returns +c... -
10:15 PM Feature #19742: Introduce `Module#anonymous?`
- Let me clarify the vocabulary as I see it:
An _anonymous_ module has `nil` as name: `anonymous?` makes sense.
```ru... -
09:54 PM Feature #19742: Introduce `Module#anonymous?`
- Permanent is already a word used in the Ruby documentation and implementation. I agree it might not be clear, but it'...
-
08:12 PM Feature #19742: Introduce `Module#anonymous?`
- `#permanent?` is not very descriptive IMO. If I hadn't seen the code above, or the C code with that vocabulary, I wou...
-
11:20 AM Feature #19742: Introduce `Module#anonymous?`
- There is another formulation of the opposite of "anonymous" which could be the following:
```ruby
class Module
def... -
11:07 AM Feature #19742: Introduce `Module#anonymous?`
- ❤️ for `anonymous?`.
Regarding the broader topic, the fundamental thing to discuss is whether permanent class names ... -
10:47 AM Feature #19742 (Open): Introduce `Module#anonymous?`
- As a follow-on <from https://bugs.ruby-lang.org/issues/19521>, I'd like propose we introduce `Module#anonymous?`.
... -
10:05 PM Revision 010b8a29 (git): [ruby/yarp] Set default external encoding for parse tests
- https://github.com/ruby/yarp/commit/e757fde3ed
-
09:31 PM Revision 2beb1450 (git): Handle non-enum values to fix -Wreturn-type
- http://ci.rvm.jp/results/trunk-random1@ruby-sp2-docker/4612360
-
09:28 PM Revision 39a40af1 (git): [ruby/yarp] Truly fix snapshot testing on Ruby CI
- https://github.com/ruby/yarp/commit/c4e835711e
-
09:23 PM Revision 51ff9cd7 (git): [ruby/yarp] Actually fix snapshot tests
- https://github.com/ruby/yarp/commit/ba9e5b447e
-
08:56 PM Revision 06ed9fcd (git): Stop asking YJIT team to review dependabot changes
-
08:51 PM Revision 2acb27ca (git): Fix -Wold-style-definition
- http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-docker/4612329
Also, I changed the position of `{` to be consistent wit... -
08:30 PM Revision 23e1c697 (git): [ruby/yarp] Fix snapshot checking
- https://github.com/ruby/yarp/commit/05a60a0774
-
08:02 PM Revision 4be594a5 (git): Don't report neutral results of Cirrus CI
-
07:55 PM Revision 585dbccb (git): [ruby/yarp] Use binary for normalizing printed ASTs
- https://github.com/ruby/yarp/commit/814326de34
-
07:12 PM Bug #19743 (Closed): Ruby's parser seems to ignoring DOT at the end of file just after digits
- I expect all to be syntax error
~~~ruby
eval "puts 1." #=> 1
eval "puts 1. " #=> syntax error
eval "puts 1.\n" #=... -
06:40 PM Revision b0a3a6ad (git): [ruby/yarp] Fix invalid unescape sequence error for lower w
- https://github.com/ruby/yarp/commit/5a2c78367a
-
06:35 PM Revision fcf2f5a5 (git): Let yarp use main branch instead
-
06:25 PM Feature #19741 (Closed): Mirror YARP to Ruby
- Applied in changeset commit:git|03f1a6c4c57c469e8fb5858cf9676b6479f4610d.
----------
[Feature #19741] Add yarp to `t... -
12:25 AM Feature #19741 (Closed): Mirror YARP to Ruby
- At the [May Ruby Kaigi Dev Meeting](https://github.com/ruby/dev-meeting-log/blob/master/2023/DevMeeting-2023-05-10.md...
-
06:25 PM Revision cc7f765f (git): [Feature #19741] Sync all files in yarp
- This commit is the initial sync of all files from ruby/yarp
into ruby/ruby. Notably, it does the following:
* Sync a... -
06:25 PM Revision 08478fef (git): [Feature #19741] Added Init_YARP() to load from the yarp C extension
- Init_YARP is called from inits.c, and it loads the YARP C extension
correctly -
06:25 PM Revision d53e1f42 (git): [Feature #19741] Add yarp to builds
- Add yarp to common.mk and windows builds to enable us to run yarp
correctly with CI. -
06:25 PM Revision 03f1a6c4 (git): [Feature #19741] Add yarp to `tool/sync_default_gems.rb` sync script
- The default gems sync script now includes YARP, found in the
ruby/yarp repo. This script primarily syncs over the src... -
05:26 PM Bug #19569: #map on Enumerator::Lazy block arguments seem to differ from regular #map
- This is because Enumerator::Lazy#zip marks the enumerator as packed when it shouldn't (introduced with the optimizati...
-
03:52 PM Bug #19726: Script loaded twice when requiring self
- A similar case that I have found surprising is if e.g. I use a file for a quick test called like a stdlib, say `opens...
-
03:44 PM Bug #19726: Script loaded twice when requiring self
- Making this change would not be backwards compatible:
```ruby
# a.rb
if __FILE__ == $0
# $LOADED_FEATURES << ... -
03:49 PM Feature #19315: Lazy substrings in CRuby
- Dan0042 (Daniel DeLorme) wrote in #note-13:
> I realize that `RSTRING_PTR` is used everywhere, but would it be in th... -
12:45 PM Feature #19315: Lazy substrings in CRuby
- duerst (Martin Dürst) wrote in #note-12:
> Pat Shaughnessy in his blog describes exactly the same thing as Benoit Dal... -
03:46 PM Bug #19731 (Closed): Can’t call an instance method inside an Endless method definition
-
02:13 PM Bug #19246: Rebuilding the loaded feature index much slower in Ruby 3.1
- Could this get backported to 3.1 & 3.2?
See:
https://github.com/ruby/ruby/pull/7699
https://github.com/ruby/ruby... -
12:43 PM Feature #19521: Support for `Module#name=` and `Class#name=`.
- Given that we have `const_set`, the name for this feature should be `temporary_name_set`, not `set_temporary_name`. D...
-
07:52 AM Feature #19521 (Closed): Support for `Module#name=` and `Class#name=`.
- Thanks everyone for your input.
To start with, we adopted the limitation of only allowing non-constant names.
I... -
09:09 AM Bug #19739: String coderange not cleared by String#slice!
- The commit to backport would be: https://github.com/Shopify/ruby/commit/3b351ee62d4206bb72301c2e98dcb173f1e35be7
-
08:36 AM Bug #19739 (Closed): String coderange not cleared by String#slice!
-
08:16 AM Bug #19739: String coderange not cleared by String#slice!
- @byroot `ruby_3_1` is handled by @usa now.
-
08:12 AM Bug #19739: String coderange not cleared by String#slice!
- cc @nagachika is a PR targeting `ruby_3_1` OK? Or should I submit the patch differently?
-
08:09 AM Bug #19739: String coderange not cleared by String#slice!
- OK fix is here: https://github.com/ruby/ruby/pull/7965
-
07:58 AM Bug #19739: String coderange not cleared by String#slice!
- Ok, so after bisecting it appears that what fixed it was: https://github.com/ruby/ruby/commit/b0b9f7201acab05c2a3ad92...
-
07:53 AM Feature #19717: `ConditionVariable#signal` is not fair when the wakeup is consistently spurious.
- I like this idea.
- 07:49 AM Revision a87bce86 (git): Allow setting the name of a class or module. (#7483)
- Introduce `Module#set_temporary_name` for setting identifiers for otherwise
anonymous modules/classes.
Also available in: Atom