Activity
From 07/02/2020 to 07/08/2020
07/08/2020
-
07:42 PM Feature #16150: Add a way to request a frozen string from to_s
- I'd like to revisit this since it seems there's anecdotal evidence that returning frozen strings from Symbol#to_s is ...
-
03:21 PM Misc #17019: DevelopersMeeting20200720Japan
- * [Feature #16923] Switch reserved for numbered parameter warning to SyntaxError (jeremyevans0)
* Is it OK to comm... -
08:48 AM Misc #17019: DevelopersMeeting20200720Japan
- * [Feature #17018] Show cfunc frames in rb_profile_frames() (mame)
* My colleagues want this feature because it wil... -
08:45 AM Misc #17019 (Closed): DevelopersMeeting20200720Japan
- # The next dev meeting
**Date: 2020/07/20 13:00-17:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/dev-mee... -
02:51 PM Feature #17016: Enumerable#accumulate
- sawa (Tsuyoshi Sawada) wrote in #note-1:
> What is wrong with the following?
>
> ```ruby
> [1, 2, 3].inject([0])... -
04:00 AM Feature #17016: Enumerable#accumulate
- What is wrong with the following?
```ruby
[1, 2, 3].inject([0]){|a, e| a << a.last + e} # => [0, 1, 3, 6]
[1, 2, 3].... -
02:27 PM Revision 9fc25811 (git): Enhanced RDoc for Array (#3282)
- Methods:
reject!
reject
delete_if
zip
transpose
replace
clear -
01:56 PM Revision 23655e6d (git): Fix build error on Apple silicon macOS
- This patch will fix following build error on macOS 11.0 + Xcode 12 beta.
```
$ ./configure
$ make V=1
BASERU... -
01:06 PM Bug #17020 (Closed): ObjectSpace.trace_object_allocations_stop raises if called before trace_object_allocations_start
- The error is easy to reproduce:
e.g. on Ruby 2.3:
```
$ ruby -robjspace -e 'ObjectSpace.trace_object_allocatio... -
10:01 AM Bug #17011 (Closed): BigDecimal .to_s should not use ASCII-8BIT
- @nobu picked that fix in https://github.com/ruby/ruby/commit/6a826eb4b08484cb3b6279da905f5b9e03e0df5f
(details at ht... -
09:35 AM Revision 11af1202 (git): Hoisted out functions for no name rest argument symbol
-
09:26 AM Revision 6a055323 (git): Constified NODE pointer in ASTNodeData
-
08:43 AM Feature #17018 (Closed): Show cfunc frames in rb_profile_frames()
- `rb_profile_frames()`, which is the backend of [stackprof](https://github.com/tmm1/stackprof), shows only ruby frames...
-
08:43 AM Revision ff5e6603 (git): Added `NODE_SPECIAL_EXCESSIVE_COMMA` info to `ARGS` of `RubyVM::AbstractSyntaxTree`.
- 01:00 AM Revision 57cde28c (git): * 2020-07-08 [ci skip]
-
12:58 AM Revision ecfc09d0 (git): gc.c: Cast int literal "1" to bits_t
- ... because shifting by more than 31 bits has undefined behavior
(depending upon platform). Coverity Scan found this ...
07/07/2020
-
08:56 PM Bug #17017: Range#max & Range#minmax incorrectly use Float end as max
- Add documentation change as an option
-
08:43 PM Bug #17017: Range#max & Range#minmax incorrectly use Float end as max
- Add full array example
-
08:41 PM Bug #17017: Range#max & Range#minmax incorrectly use Float end as max
- Add .to_a examples to clarify unexpected behaviour.
-
08:16 PM Bug #17017 (Closed): Range#max & Range#minmax incorrectly use Float end as max
- While continuing to add edge cases to [`Range#minmax` specs](https://github.com/ruby/spec/pull/777), I discovered the...
-
05:48 PM Feature #17016 (Open): Enumerable#accumulate
- ## Proposal
UPDATE: Changed proposed method name from `#scan_left` to `#accumulate`.
Add an `#accumulate` metho... -
03:29 PM Bug #17015 (Closed): RubyVM::AbstractSyntaxTree.parse has the same result on `proc { |a| }` and `proc { |a,| }`
- ## Summary
`RubyVM::AbstractSyntaxTree.parse("proc { |a| }")` and `RubyVM::AbstractSyntaxTree.parse("proc { |a,| }... -
03:07 PM Feature #16986: Anonymous Struct literal
- Why is more special syntax needed, when it can just be a method?
```
def Kernel.AStruct(**key_values)
Struct.n... -
02:29 PM Bug #16922: single quote should be escaped in xml
- Well, I haven't heard from @akr. But if he doesn't respond in the next few days, I'll merge my pull request.
-
06:55 AM Bug #16922: single quote should be escaped in xml
- any update about this issue?
07/06/2020
-
09:18 PM Feature #17002 (Closed): Extend heap pages to exactly 16KiB
- Thanks, I committed it.
-
09:17 PM Revision b06a4dc6 (git): Expand heap pages to be exactly 16kb
- This commit expands heap pages to be exactly 16KiB and eliminates the
`REQUIRED_SIZE_BY_MALLOC` constant.
I believe ... - 03:26 PM Revision b02a9584 (git): * 2020-07-07 [ci skip]
-
03:26 PM Revision 2c6512fe (git): Get rid of the redundant stat() in rb_check_realpath_internal
-
07:14 AM Revision 167d1394 (git): Inline builtin struct aref
- We don't do this for aset because it might raise a FrozenError.
```
$ benchmark-driver -v --rbenv 'before;after;befo... -
01:47 AM Revision d94ef7c6 (git): Run method_missing in the same execution context
07/05/2020
-
11:58 PM Bug #17013: `RubyVM::AbstractSyntaxTree.parse("struct.field += foo")` has no operator
- Thanks! :)
-
03:50 PM Bug #17013 (Closed): `RubyVM::AbstractSyntaxTree.parse("struct.field += foo")` has no operator
-
01:30 PM Bug #17013 (Closed): `RubyVM::AbstractSyntaxTree.parse("struct.field += foo")` has no operator
- ## Summary
`RubyVM::AbstractSyntaxTree.parse("struct.field += foo")` has no operator.
I'm making a tool that uses... -
07:53 PM Bug #17014 (Closed): Range#minmax returns incorrect results on non-numeric exclusive ranges
-
04:42 PM Bug #17014 (Closed): Range#minmax returns incorrect results on non-numeric exclusive ranges
- The implementation of `Range#minmax` added in [d5c60214c45](https://github.com/ruby/ruby/commit/d5c60214c45bafc1cf2a5...
- 04:15 PM Revision efe851a0 (git): [ruby/bigdecimal] Version 2.0.1
- https://github.com/ruby/bigdecimal/commit/3fa4f2ac67
- 04:15 PM Revision 6a826eb4 (git): [ruby/bigdecimal] Return US-ASCII string from BigDecimal#to_s
- Fixes #159
https://github.com/ruby/bigdecimal/commit/57ee92e700 - 04:15 PM Revision e794d96c (git): [ruby/bigdecimal] Drop Ruby 2.3 support
- https://github.com/ruby/bigdecimal/commit/79a819d205
- 04:15 PM Revision 40b82afe (git): [ruby/bigdecimal] Support Ruby < 2.6
- https://github.com/ruby/bigdecimal/commit/61ec452599
- 04:15 PM Revision 03a33603 (git): [ruby/bigdecimal] Add Complex#to_d
- https://github.com/ruby/bigdecimal/commit/97e794ac97
-
04:15 PM Revision 66072122 (git): [ruby/bigdecimal] Make tests pass on Ruby 2.4
- https://github.com/ruby/bigdecimal/commit/9d19e842ee
-
04:15 PM Revision d36b197d (git): [ruby/bigdecimal] Remove definition of BigDecimal#initialize_copy
- This leaves the default definition, which will raise FrozenError.
https://github.com/ruby/bigdecimal/commit/05e843d838 - 04:15 PM Revision f00efef3 (git): [ruby/bigdecimal] Support a Complex in Kernel.BigDecimal()
- https://github.com/ruby/bigdecimal/commit/00795cb01f
-
04:15 PM Revision ceb9d516 (git): [ruby/bigdecimal] Undef BigDecimal#initialize_copy
- Both BigDecimal#clone and BigDecimal#dup return self, there is no
reason to have initialize_copy exposed as a Ruby me... -
04:15 PM Revision d69510b6 (git): Removed ext/bigdecimal/util/depend unused since dd0c75fdc2104a6ba38b68d4431a572504a3bbc2
-
03:48 PM Revision 1aed23c1 (git): tool/sync_default_gems.rb: Accept multiple commit ranges
-
03:48 PM Revision 8e189df3 (git): Add operator info to `OP_ASGN2` of `RubyVM::AbstractSyntaxTree`.
- 03:28 PM Revision 988b4bc9 (git): * 2020-07-06 [ci skip]
-
02:20 PM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- Attaching two separate backport patches, one for branch 'ruby_2_6' and one for branch 'ruby_2_7'.
The changes for ... -
01:08 PM Revision 41fef191 (git): tool/sync_default_gems.rb: Added bigdecimal
-
01:02 PM Revision 6236bbf3 (git): Removed duplicate test with test_BigDecimal_bug7522
-
12:14 PM Bug #17011: BigDecimal .to_s should not use ASCII-8BIT
- How should we proceed to include that fix in CRuby master?
-
10:47 AM Bug #17011: BigDecimal .to_s should not use ASCII-8BIT
- Actually, it's already been fixed upstream: https://github.com/ruby/bigdecimal/pull/160
Maybe the Ruby spec part o... -
10:44 AM Bug #17011: BigDecimal .to_s should not use ASCII-8BIT
- Sure.
-
10:41 AM Bug #17011: BigDecimal .to_s should not use ASCII-8BIT
- Could you submit this to https://github.com/ruby/bigdecimal?
-
10:16 AM Bug #17011: BigDecimal .to_s should not use ASCII-8BIT
- I submitted a PR for it: https://github.com/ruby/ruby/pull/3291
-
03:53 AM Bug #17011 (Closed): BigDecimal .to_s should not use ASCII-8BIT
- `BigDecimal#to_s` returns a `String` in ASCII-8BIT encoding. This is inconvenient in situations where the encoding de...
-
11:53 AM Bug #17010: [patch] backport #16787 for 2.7: allow Dir.home to work for non-login procs when $HOME not set
- jeremyevans0 (Jeremy Evans) wrote in #note-2:
> Please don't create issues just for backporting if there is an exist... -
10:15 AM Revision 4ea57c2a (git): Escape `#` for GNU make 3
-
10:00 AM Revision 12b377a9 (git): Updated bundled gems
-
09:59 AM Revision 358f91bf (git): Skip comment and empty lines in gems/bundled_gems file
-
08:58 AM Bug #17012: Backport bf1a6771f305ea286a3ae575676924551c03e857
- And c1463625555b061a2b94c3b6c5581730b482a285 too.
-
08:57 AM Bug #17012 (Closed): Backport bf1a6771f305ea286a3ae575676924551c03e857
- This is for backport management.
The issue introduced bf1a6771f305ea286a3ae575676924551c03e857 for [Bug #15807] was ... -
08:27 AM Revision 41168f69 (git): Prefix export symbol prefix to coroutine_transfer
-
08:12 AM Revision 04c704c5 (git): Removed trailing spaces [ci skip]
-
01:44 AM Revision 95f5fd9a (git): fix up Primitive.cinit! code
- Recent changes break Primitive.cinit!(c_code) so fix it.
07/04/2020
-
11:02 PM Revision e4f7eee0 (git): Check ROBJECT_EMBED on guards-merged ivar access
- Fix CI failure like
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3043247
introduced by a69dd699ee630dd1086... -
10:03 PM Revision 97205910 (git): merge revision(s) 75802bcff1b941818832f0145071f7ce9c843d8d:
- configure: suppress icc warnings
Every time a pointer to/from VALUE conversion happens, these two
wa... -
08:39 PM Bug #17009 (Closed): [patch] backport #16787 for 2.6: allow Dir.home to work for non-login procs when $HOME not set
-
08:08 PM Bug #17009: [patch] backport #16787 for 2.6: allow Dir.home to work for non-login procs when $HOME not set
- I created a pull request for this over on GitHub:
https://github.com/ruby/ruby/pull/3287
The integration tests ... -
07:20 PM Bug #17009 (Closed): [patch] backport #16787 for 2.6: allow Dir.home to work for non-login procs when $HOME not set
- The attached patch backports to ruby_2_6 change c15cddd1d515c5bd8dfe8fb2725e3f723aec63b8,
which fixes the issue desc... -
08:39 PM Bug #17010 (Closed): [patch] backport #16787 for 2.7: allow Dir.home to work for non-login procs when $HOME not set
- Please don't create issues just for backporting if there is an existing issue. Just update the Backport field in the...
-
08:09 PM Bug #17010: [patch] backport #16787 for 2.7: allow Dir.home to work for non-login procs when $HOME not set
- I created a pull request for this over on GitHub:
https://github.com/ruby/ruby/pull/3288
The integration tests ... -
07:24 PM Bug #17010 (Closed): [patch] backport #16787 for 2.7: allow Dir.home to work for non-login procs when $HOME not set
- The attached patch backports to ruby_2_7 change c15cddd1d515c5bd8dfe8fb2725e3f723aec63b8,
which fixes the issue desc... -
08:34 PM Revision c1463625 (git): Use static variables in Range#minmax
-
05:46 PM Bug #16853: calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
- FWIW I don't think it was "for Rails" but rather more use cases than that.
I want to note there is also both a per... -
05:05 PM Feature #17000: 2.7.2 turns off deprecation warnings by default
- nagachika (Tomoyuki Chikanaga) wrote in #note-8:
> jeremyevans0 (Jeremy Evans) wrote in #note-7:
> > No, my proposa... -
11:34 AM Feature #17000: 2.7.2 turns off deprecation warnings by default
- jeremyevans0 (Jeremy Evans) wrote in #note-7:
> No, my proposal only affects keyword arguments. `rb_warn_check` is ... - 05:02 PM Revision c4bdb642 (git): * 2020-07-05 [ci skip]
-
05:02 PM Revision bf1a6771 (git): Fix non-numeric exclusive Range#minmax bug
- The implementation of Range#minmax added in d5c60214c45 causes the
following incorrect behaviour:
('a'...'c').minm... -
01:04 PM Revision 9fc564cf (git): Ignore rbenv version file, and moved dot files [ci skip]
-
08:28 AM Revision 74e1bca7 (git): support all locals for cexpr!, cstmt!
- Primitve.cexpr! and .cstmt! can access Ruby's parameter and
*local variables* (note that local parameters are also lo... -
07:51 AM Feature #17006: Let `Kernel#Hash` take a block to provide the default value
- nobu (Nobuyoshi Nakada) wrote in #note-2:
> The description mentions the default value first, but the proposal will ... -
07:35 AM Feature #17006: Let `Kernel#Hash` take a block to provide the default value
- The description mentions the default value first, but the proposal will solve the default proc only.
-
04:41 AM Revision 7a5da7d5 (git): Allow hidden files with a hyphen to be source controlled
- Latest bundler includes a file named `.gitlab-ci.yml.tt`. Because of
this too specific .gitignore entry, it was faili... -
01:02 AM Revision 24fa37d8 (git): Make Kernel#then, #yield_self, #frozen? builtin (#3283)
- * Make Kernel#then, #yield_self, #frozen? builtin
* Fix test_jit -
12:52 AM Revision a69dd699 (git): Merge ivar guards on JIT (#3284)
- when an ISeq has multiple ivar accesses.
07/03/2020
-
08:29 PM Bug #17008: JIT enabled on Windows can cause constant conhost pop-ups
- k0kubun (Takashi Kokubun) wrote in #note-1:
> I have my own MinGW environment, but I've never observed such a behavi... -
07:58 PM Bug #17008 (Feedback): JIT enabled on Windows can cause constant conhost pop-ups
- I have my own MinGW environment, but I've never observed such a behavior. Could you provide at least one way to repro...
-
07:46 PM Bug #17008 (Feedback): JIT enabled on Windows can cause constant conhost pop-ups
- I'm unsure of the min requirements for it to happen, but at least for ruby embedded in a gui mingw32 application, ena...
- 04:52 PM Revision ccb2e6ea (git): * 2020-07-04 [ci skip]
-
04:52 PM Revision f3a0d7a2 (git): Rewrite Kernel#tap with Ruby (#3281)
- * Rewrite Kernel#tap with Ruby
This was good for VM too, but of course my intention is to unblock JIT's inlining of ... -
02:49 PM Revision e8010c74 (git): Enhanced RDoc for Array (#3276)
- *Methods:
keep_if
delete
delete_at
slice! -
01:31 PM Feature #16986: Anonymous Struct literal
- the problem i have with that is that each time it creates a (cached) struct class.
after taking so long to make fr... -
10:52 AM Feature #16986: Anonymous Struct literal
- Hello, this is a great idea. I would just love to have this feature in Ruby, so I thought I may provide some helpful ...
-
12:32 PM Bug #17007 (Closed): SystemStackError when using super inside Module included and lexically inside refinement
- ```ruby
class C
def foo
["C"]
end
end
refinement = Module.new do
R = refine C do
def foo
... -
08:09 AM Feature #17006 (Open): Let `Kernel#Hash` take a block to provide the default value
- Sometimes, we need to create a hash that has explicit key-value pairs as well as a default value, but there has not b...
-
07:56 AM Revision a0f12a02 (git): Use ID instead of GENTRY for gvars. (#3278)
- Use ID instead of GENTRY for gvars.
Global variables are compiled into GENTRY (a pointer to struct
rb_global_entry).... -
07:55 AM Revision 8655c2e6 (git): RUBY_DEBUG_LOG: Logging debug information mechanism (#3279)
- * RUBY_DEBUG_LOG: Logging debug information mechanism
This feature provides a mechanism to store logging information... -
06:16 AM Revision 01776ca1 (git): Ignore conftest.c under the ext directories for CodeQL analysis
-
02:47 AM Revision 1e039474 (git): test/json/json_fixtures_test.rb: Prevent an "out of range" warning
- ```
/home/mame/work/ruby/.ext/common/json/common.rb:263: warning: Float 23456789012E666 out of range
``` - 02:27 AM Revision 05a12297 (git): * 2020-07-03 [ci skip]
-
02:05 AM Revision e6a8590a (git): Reintroduce c565dfb09ad7d55fa671f65cea7088a914bf1931
07/02/2020
-
11:14 PM Feature #16986: Anonymous Struct literal
- Accessing object methods via dots is more convenient than via brackets. And I tend to think of `{a: 1, b: 2}` as of o...
-
08:56 PM Feature #16986: Anonymous Struct literal
- Without expressing an opinion on the proposal (yet), I'd like to point an easy way to avoid having to use `fetch` all...
-
06:58 PM Feature #16986: Anonymous Struct literal
- > klass.new(**kwargs).freeze
This proposal doesn't include `freeze`.
I agree it is one option, but need a discu... -
05:02 PM Feature #16986: Anonymous Struct literal
- > it was "almost the same" - what differences are there?
The actual implementation is more like this:
```ruby
... -
04:06 PM Feature #16986: Anonymous Struct literal
- I'm also +1 for this. The utility of such a feature is obvious and would improve a lot of Ruby code both in readabili...
-
11:34 AM Feature #16986: Anonymous Struct literal
- +1 for the idea, I'm using my_hash.fetch(:my_key) to ensure consistency in a lot of places.
Concerns:
1. Struct... -
08:44 AM Feature #16986: Anonymous Struct literal
i think this is more of a confusing feature
IF `${a: 1, b: 2}` is like `Struct.new(:a, :b).new(1, 2)` then my gu...-
09:11 PM Feature #17004: Provide a way for methods to omit their return value
- marcandre (Marc-Andre Lafortune) wrote in #note-19:
> jeremyevans0 (Jeremy Evans) wrote in #note-13:
> > Due to Seq... -
08:15 PM Feature #17004: Provide a way for methods to omit their return value
- jeremyevans0 (Jeremy Evans) wrote in #note-13:
> Due to Sequel::Dataset#insert's flexible API, it would be hard to s... -
05:26 PM Feature #17004: Provide a way for methods to omit their return value
- Agreed as well on the point of "if I observe it with `p/puts/IRB` I don't want the method call to behave differently....
-
04:45 PM Feature #17004: Provide a way for methods to omit their return value
- jeremyevans0 (Jeremy Evans) wrote in #note-16:
> soulcutter (Bradley Schaefer) wrote in #note-15:
> > Also, how wou... -
04:21 PM Feature #17004: Provide a way for methods to omit their return value
- soulcutter (Bradley Schaefer) wrote in #note-15:
> Also, how would you test this behavior?
```ruby
# return valu... -
04:13 PM Feature #17004: Provide a way for methods to omit their return value
- jeremyevans0 (Jeremy Evans) wrote in #note-13:
> ```ruby
> def foo(**kw)
> kw.merge(FORCE_VALUES)
> b... -
05:31 AM Feature #17004: Provide a way for methods to omit their return value
- Re: other languages with similar concepts.
- Perl has `wantarray`. In spite of its name, the intrinsic can be use... -
01:01 AM Feature #17004: Provide a way for methods to omit their return value
- duerst (Martin Dürst) wrote in #note-12:
> - Where there are performance implications, couldn't that be solved by an... -
12:18 AM Feature #17004: Provide a way for methods to omit their return value
- Additional questions:
- Are there any other languages that have such a feature?
- Where there are performance impli... -
04:31 PM Bug #16853: calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
- > > The reason why it was changed is because there are some methods that want to accept both symbol and non-symbol ke...
-
01:55 PM Bug #16853: calling bla(hash, **kw) with a string-based hash passes the strings into **kw (worked < 2.7)
- Hi Yusuke. Thanks for the long thought-out answer. I really appreciate you taking the time.
> But the behavior was... -
11:53 AM Revision 59ded36c (git): Expose `assert_pattern_list` for drb test with test-unit gem.
-
05:51 AM Feature #17002: Extend heap pages to exactly 16KiB
- Thank you for your survey. Seems fine!
- 05:34 AM Revision 08ba5bec (git): * 2020-07-02 [ci skip]
-
05:34 AM Revision bf3f03c9 (git): integer.rbinc: do not generate C functions
- This changeset changes for instance Integer#integer? from:
== disasm: #<ISeq:to_i@<internal:integer>:66 (66,2)-(... -
01:15 AM Feature #17000: 2.7.2 turns off deprecation warnings by default
- nagachika (Tomoyuki Chikanaga) wrote in #note-6:
> jeremyevans0 (Jeremy Evans) wrote in #note-4:
> > An alternative... -
01:00 AM Feature #17000: 2.7.2 turns off deprecation warnings by default
- mame (Yusuke Endoh) wrote in #note-3:
> Let me confirm: what do you mean "dependent"?
I'm sorry, I just misspelled i...
Also available in: Atom