Activity
From 09/15/2020 to 09/21/2020
09/21/2020
-
09:59 PM Bug #17181: Hash with default block breaks after transforming values
- jeremyevans0 (Jeremy Evans) wrote in #note-1:
> Thanks for the report. I can confirm the issue. It looks like `rb_... -
09:54 PM Bug #17181: Hash with default block breaks after transforming values
- Thanks for the report. I can confirm the issue. It looks like `rb_hash_transform_values` is missing `COPY_DEFAULT(r...
-
04:57 PM Bug #17181 (Closed): Hash with default block breaks after transforming values
- I found a problem with Hashes that use a default proc.
```ruby
x = Hash.new { |h, k| h[k] = [] }
x[:a] << 1
x[:... - 04:28 PM Revision 7ee166ed (git): * 2020-09-22 [ci skip]
-
04:27 PM Revision c6c5d4b3 (git): Comply with guide for method doc: string.c (#3528)
- Methods:
::new
#length
#bytesize
#empty?
#+
#*
#% -
03:29 PM Bug #17175: Ruby 2.5: OpenSSL related test failures
- As my experiment, I tried to run the tests on the Ruby 2.5.8 by regular user after changing the crypto policy by root...
-
11:55 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
- Hi Greg L,
Thanks for taking a look at this!
> Sorry for the delay. I used to get pinged here, but it stopped a w... -
01:55 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
- I suspect that the ruby/ruby commit mentioned above will help, also see the commits @rhenium did listed in https://gi...
-
02:22 PM Revision 82998918 (git): Make Thread#join always convert its argument, as before 70f08f1eed
-
02:04 PM Revision 2b73e6ba (git): Simplify the implementation of Scheduler#block
- * This shows block() with a timeout is similar to #kernel_sleep and also
does not need to change `@blocking`. -
01:58 PM Revision 0fa1c82b (git): Make it clear the first field of join_arg is the waiting thread
- * And not some list of sort.
-
01:54 PM Revision c19bcf38 (git): Fix Thread leak in Thread#join specs
-
01:50 PM Feature #17145: Ractor-aware `Object#deep_freeze`
- ko1 (Koichi Sasada) wrote in #note-8:
> For Ractor, it is very clear. Another candidate is `to_shareable`
Methods... -
09:06 AM Feature #16786: Light-weight scheduler for improved concurrency.
- What's `Fiber#annotate`?
-
12:22 AM Feature #16786: Light-weight scheduler for improved concurrency.
- With the help of @eregon, I have tidied up the implementation so that:
- We found and fixed a few bugs.
- Changing t... - 05:04 AM Revision 10d795cf (git): Add NEWS about `Fiber#backtrace` and `Fiber#backtrace_locations`.
- 03:28 AM Revision f7aa51b2 (git): Update NEWS & documentation relating to scheduler.
09/20/2020
- 11:48 PM Revision 70f08f1e (git): Make `Thread#join` non-blocking.
- 09:51 PM Revision 59617315 (git): * 2020-09-21 [ci skip]
- 09:51 PM Revision 501fff14 (git): When setting current thread scheduler to nil, invoke `#close`.
-
05:57 PM Feature #17145: Ractor-aware `Object#deep_freeze`
- Maybe `obj.shareable`? And that would then return as-is if already shareable, and make it shareable if not (deep free...
-
05:43 PM Misc #17180: Ractor and constant referencing
- For the Struct example above, probably it needs the "Matz" String to be frozen too, or `#deep_freeze` (#17145) to mar...
-
02:13 PM Revision b6d599d7 (git): Update heap_pages_himem after freeing pages
- 02:10 PM Revision be2efb11 (git): Fulfill missing tests and stabilize tests
- 02:10 PM Revision 398da711 (git): Validate name during initialization
- 02:10 PM Revision d5fa6615 (git): Add status to Ractor#inspect
- 11:39 AM Revision 84c4c7be (git): * 2020-09-20 [ci skip]
-
11:35 AM Revision 6987c899 (git): Remove from waiter in Mutex#lock with ensure when calling rb_scheduler_block()
- * Previously this could lead to an invalid waiter entry and then trying
to wake up that waiter would result in vari... -
11:23 AM Revision c10326d9 (git): bump patchlevel to 128
-
11:23 AM Revision 1b39a995 (git): Revert "statement experssion is a GCCism" to pass ICC CI.
- This reverts commit a6b50f379d4b71acac73ac6b22cbe2d2c5b50b3f.
-
07:19 AM Bug #17179: Unexpected warning during value assignment to setter
- jeremyevans0 (Jeremy Evans) wrote in #note-3:
> This is expected behavior in Ruby 2.7, due to keyword argument separ... -
03:11 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
- @jaruga
Sorry for the delay. I used to get pinged here, but it stopped a while ago. Anyway, I'm not sure what th...
09/19/2020
-
11:19 PM Feature #17177: Include the current file name and the line number in the output of `p`
- What about the method name `inform`?
-
10:07 PM Bug #17179 (Rejected): Unexpected warning during value assignment to setter
- This is expected behavior in Ruby 2.7, due to keyword argument separation. The warning is valid because the code wil...
-
09:22 PM Bug #17179 (Rejected): Unexpected warning during value assignment to setter
- ```ruby
some_instance = Class.new { def some_setter=(a:, b:); end }.new
setter_params = { a: 1, b: 2 }
some_instan... -
09:33 PM Misc #17180: Ractor and constant referencing
- Another example:
```ruby
Person = Struct.new(:name)
CREATOR = Person.new("Matz").freeze
parser = Ractor.new { CREAT... -
09:24 PM Misc #17180 (Open): Ractor and constant referencing
- Hey there.
From a high level, this bug report is describing my experience building something simple with Ractor wi... -
02:34 PM Feature #17047: Support parameters for MAIL FROM and RCPT TO
- I am new to Ruby development. Please let me know if I need to do anything else to get this patch accepted.
-
08:47 AM Revision 73a626c0 (git): [ruby/io-wait] update required_ruby_version
- As d387029f39d976565c955377117103499d47ff09 made io/wait
unbuildable with older versions, drop older versions tentati... -
08:40 AM Revision 702cebf1 (git): strip trailing spaces [ci skip]
-
12:07 AM Revision 6cb6d5ab (git): Add assertions when inline caches are copied to MJIT
- This is a temporary commit to try to find a GC issue. It seems like
mjit is pointing at a moved address in the call ...
09/18/2020
-
10:59 PM Feature #17177: Include the current file name and the line number in the output of `p`
- If a new method is to be created for this purpose, then one possibility is to combine this with the idea that was onc...
-
07:16 PM Feature #17177: Include the current file name and the line number in the output of `p`
- https://github.com/AndyObtiva/puts_debuggerer
-
02:24 PM Feature #17177 (Rejected): Include the current file name and the line number in the output of `p`
- Rejected. I agree this behavior is convienient in some cases, but changing `p` is too drastic and incompatible.
Plea... -
12:17 PM Feature #17177 (Rejected): Include the current file name and the line number in the output of `p`
- In many debugging situations, we want to inspect some objects in more than one source location throughout the code. T...
-
08:15 PM Misc #17138: DevelopersMeeting20200925Japan
- * [Bug #17178] Procs with kw:def/**kw lose elements when called with a single Array (eregon)
* Does it sound buggy... -
08:49 AM Misc #17138: DevelopersMeeting20200925Japan
- * [Feature #13381] Expose rb_fstring and its family to C extensions
* Still an extremely useful feature long awaite... -
08:13 PM Bug #17178: Procs with kw:def/**kw lose elements when called with a single Array
- jeremyevans0 (Jeremy Evans) wrote in #note-3:
> I'm not sure the loss of backwards compatibility is worth it, and th... -
08:04 PM Bug #17178: Procs with kw:def/**kw lose elements when called with a single Array
- Eregon (Benoit Daloze) wrote in #note-2:
> Is there a reason that keywords in procs cause autosplatting?
> It seems... -
07:53 PM Bug #17178: Procs with kw:def/**kw lose elements when called with a single Array
- Is there a reason that keywords in procs cause autosplatting?
It seems counter-intuitive.
I would expect autosplatt... -
07:18 PM Bug #17178: Procs with kw:def/**kw lose elements when called with a single Array
- Eregon (Benoit Daloze) wrote:
> ```
> $ ruby -ve '{a: 1}.each_pair { |a, kw: :def| p [a,kw] }'
> ruby 3.0.0dev (20... -
07:01 PM Bug #17178 (Closed): Procs with kw:def/**kw lose elements when called with a single Array
- ```
$ ruby -ve '{a: 1}.each_pair { |a, kw: :def| p [a,kw] }'
ruby 3.0.0dev (2020-09-18T09:12:58Z master e1cca08a6d)... -
08:13 PM Revision e193dd1e (git): [ruby/irb] Version 1.2.7
- https://github.com/ruby/irb/commit/0eaa06838b
-
08:13 PM Revision 555ea833 (git): [ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ECHO_ON_ASSIGNMENT
- https://github.com/ruby/irb/commit/4c89b0775b
- 07:32 PM Revision 7d9b4d3c (git): * 2020-09-19 [ci skip]
-
07:31 PM Revision 1a9dd319 (git): Pin values in the finalizer table
- When finalizers run (in `rb_objspace_call_finalizer`) the table is
copied to a linked list that is not managed by the... -
09:47 AM Revision 6dd257ed (git): Added sync task for bigdecimal
-
09:44 AM Revision 3d86f7a3 (git): The executable file of erb is under the libexec on ruby/erb repo
-
09:11 AM Revision af1926e8 (git): Fix copy/paste error from 5bb5e706f1d310a467075630145d2cc277045765
-
08:39 AM Revision 5bb5e706 (git): Only interrupt when there is no scheduler in sync_wakeup()
- * When there is a scheduler, the Fiber that would be blocked has already
been rescheduled and there is no point to ... -
08:35 AM Feature #16746: Endless method definition
- Why do we even need a ``` def ```. ? Why not just do it like Haskell?
``` ruby
triple(x) = 3*x
```
Since this is a... -
07:55 AM Feature #17176: GC.auto_compact / GC.auto_compact=(flag)
- Also do you have any performance results, for example memory consumption or GC time and so on?
-
07:54 AM Feature #17176: GC.auto_compact / GC.auto_compact=(flag)
- Another idea is `GC.enable(compact: true/false)`.
BTW as I mentioned in slack, GC.compact may have an issue (can a... -
05:57 AM Revision 305c4306 (git): [ruby/rdoc] Add man/ri.1 for distribution files
- https://github.com/ruby/rdoc/commit/7cb5c3611f
- 05:57 AM Revision 0d56aec1 (git): [ruby/rdoc] Fix spelling error in parser comment
- https://github.com/ruby/rdoc/commit/f237c9e223
-
05:57 AM Revision e23f0f29 (git): [ruby/rdoc] update all files if any file is newer
- Cross references need parse all files which define the subject
names. This commit makes `--force-update` option enfo... -
05:57 AM Revision b5db9b8a (git): [ruby/rdoc] Support full filename to make a link for a text file
- https://github.com/ruby/rdoc/commit/41db49c485
-
05:17 AM Revision 3b159374 (git): sync ruby_global_symbols
- ruby_global_symbols can be accessed with multiple ractors so that
the accesses should be synchronized. -
05:17 AM Revision 06e9b94d (git): show object info to debug purpose.
-
05:17 AM Revision b416a764 (git): add debug log on enabling multi-ractor mode
-
05:17 AM Revision b189dc69 (git): rb_obj_info() shows more info for T_SYMBOL
-
05:17 AM Revision dd5db6f5 (git): sync fstring_table for deletion
- Ractors can access this table simultaneously so we need to sync
accesses.
09/17/2020
- 03:30 PM Revision 609e6ac0 (git): * 2020-09-18 [ci skip]
-
03:29 PM Revision d9b943b8 (git): Cleanup commented code
- * Mutex operations no longer disable the Fiber scheduler.
-
03:26 PM Revision d0195463 (git): Add missing goto found;
- * To still remove the lock from the Thread's list of acquired locks.
* Also to not wake up other waiters and preserve... -
01:15 PM Revision 264889ec (git): Fix Mutex#unlock with a scheduler and thread contention
- * It would hit "[BUG] unexpected THREAD_STOPPED" before.
-
12:59 PM Revision deffb630 (git): Document the various scheduler hooks
-
12:59 PM Revision 9472d160 (git): Call scheduler.block instead of scheduler.kernel_sleep for blocking Queue/SizedQueue operations
- * scheduler.unblock was already already called before but with no corresponding scheduler.block
* add test that Queue... -
12:30 PM Revision 738a089b (git): Rename scheduler.{mutex_lock,mutex_unlock} to {block,unblock}
- * Move #kernel_sleep next to #block as it is similar
-
12:23 PM Revision eb8270d6 (git): Skip bundler spec using irb with simulated JRuby environment.
-
12:14 PM Revision c3acfcc7 (git): Use a similar pattern for waiting and ready
-
11:34 AM Revision e4dbb91f (git): Fix typos [ci skip]
- s/overriden/overridden/
-
11:30 AM Revision 63a4f2f9 (git): Sort links in NEWS.md by URI [ci skip]
-
09:42 AM Revision 3f6c0a6d (git): Update to ruby/spec@e829fb0
-
09:31 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
- Hello @MSP-Greg
Do you have any idea to fix it on ruby_2_5 branch?
Maybe that is same with what you did for puma la... -
09:17 AM Revision ce888bfa (git): Add NEWS entry for [Feature #16792]
-
07:36 AM Feature #17171: Why is the visibility of constants not affected by `private`?
- I agree too that it would be much cleaner, I keep seeing newer Ruby developers expecting it to work that way. That an...
09/16/2020
-
09:15 PM Feature #17176: GC.auto_compact / GC.auto_compact=(flag)
- Eregon (Benoit Daloze) wrote in #note-1:
> API-wise, `GC.autocompact = true/false` as suggested by @ioquatix on the P... -
09:08 PM Feature #17176: GC.auto_compact / GC.auto_compact=(flag)
- API-wise, `GC.autocompact = true/false` as suggested by @ioquatix on the PR, or `GC.auto_compact = true/false`, sound...
-
06:39 PM Feature #17176 (Closed): GC.auto_compact / GC.auto_compact=(flag)
- Hi,
I'd like to make compaction automatic eventually. As a first step, I would like to introduce two functions:
... -
09:13 PM Feature #17171: Why is the visibility of constants not affected by `private`?
- mame (Yusuke Endoh) wrote in #note-3:
> I did not introduce `private_constant` with no receiver because I wanted to ... - 08:52 PM Revision 2e6c4840 (git): * 2020-09-17 [ci skip]
- 08:52 PM Revision 8e173d8b (git): Warn on a finalizer that captures the object to be finalized
- Also improve specs and documentation for finalizers and more clearly
recommend a safe code pattern to use them. -
02:29 PM Bug #17175 (Closed): Ruby 2.5: OpenSSL related test failures
- I am facing OpenSSL test failures when building the Ruby 2.5 latest version 2.5.8 + some patches with OpenSSL 1.1.1g ...
- 12:31 PM Revision f75009c1 (git): Prefer to use `prep_io` for temporary IO instances.
-
12:10 PM Revision 0ebf6ea9 (git): bump patchlevel to 126
-
12:09 PM Revision 21c1b676 (git): Merge latest readline-ext
-
12:08 PM Revision 2159798f (git): Merge IRB 1.2.6
-
12:07 PM Revision 3bb503e0 (git): Merge Reline 0.1.5
-
10:27 AM Bug #17172 (Closed): Passing a complex number to Complex.polar occurs assertion failed when NDEBUG is undefined
- Applied in changeset commit:git|68b5f14d536c1a81c63412a9f3701380c9bc116c.
----------
Fix assertion failed in Complex... -
04:31 AM Bug #17172: Passing a complex number to Complex.polar occurs assertion failed when NDEBUG is undefined
- A patch is https://github.com/ruby/ruby/pull/3551.
-
04:30 AM Bug #17172 (Closed): Passing a complex number to Complex.polar occurs assertion failed when NDEBUG is undefined
- ```
$ build-debug/ruby -e "p Complex.polar(1, Complex(1, 0))"
Assertion Failed: ../complex.c:637:f_complex_polar:!R... - 10:27 AM Revision 68b5f14d (git): Fix assertion failed in Complex.polar without NDEBUG (#3551)
- Fixes [Bug #17172].
-
09:37 AM Revision 10290da5 (git): Add a note at the top of the test scheduler
-
09:17 AM Revision 9e813c1f (git): RUBY_ISEQ_DUMP_DEBUG=to_binary never kept the debug information for String literals
- * That is, for plain string literals, not interpolated.
* The test below is very similar and uses the same check. -
08:39 AM Revision 9d8eeccf (git): Revert "skip on RUBY_ISEQ_DUMP_DEBUG=to_binary"
- This reverts commit 889bbbaf527372c5cc229b56dca9a2322e325f26.
-
07:45 AM Bug #17152: Missing TracePoint return event for String#unpack
- Yes Shun, I expect the return calls.
Thanks for the help! -
06:44 AM Revision 889bbbaf (git): skip on RUBY_ISEQ_DUMP_DEBUG=to_binary
- 9b535f3ff7 does not support ISeq#to_binary.
To make CI green, skip this test temporarily.
Please fix this issue and ... -
05:29 AM Misc #17174 (Feedback): "Error relocating, symbol not found" error when compiling a native extension on Alpine with Ruby >=2.4
- My native extension gem compiles fine with all versions of Ruby on macOS but only with Ruby 2.3 on Alpine. It throws ...
-
04:55 AM Feature #17173 (Assigned): open-uri で ciphers を設定したい
- Debian GNU/Linux 10 (buster) の OpenSSL 1.1.1d の環境だと https://www.famitsu.com で `dh key too small` になってつながらないのですが、 `cip...
-
12:11 AM Feature #17170 (Feedback): Numeric.zero, Numeric.one
- ```ruby
% rbenv exec irb
irb(main):001:0> require 'bigdecimal'
=> true
irb(main):002:0> require 'bigdecimal/util'...
09/15/2020
-
11:18 PM Feature #17171: Why is the visibility of constants not affected by `private`?
- I think your expectation is reasonable. If we change it, we need much work to estimate its compatibility impact caref...
-
09:04 PM Feature #17171: Why is the visibility of constants not affected by `private`?
- I'd like us to consider changing this so that `private` also changes the visibility of future constants being set.
... -
08:34 PM Feature #17171 (Rejected): Why is the visibility of constants not affected by `private`?
- ```ruby
class Foo
def call_me
# ...
end
private
SOME_DATA = %i[...].freeze # is public, why n... -
10:45 PM Revision 344304c8 (git): Use build_message on test_securerandom.rb (#3543)
- * Revert "Revert "[ruby/securerandom] Use build_message instead of message for test-unit""
* [ruby/securerandom] Fixe... -
07:56 PM Revision 1af0319f (git): 2.8 -> 3.0 in specs
-
07:35 PM Feature #17104: Do not freeze interpolated strings when using frozen-string-literal
- I merged https://github.com/ruby/ruby/pull/3488 so it's in time for preview1.
@nobu Could you decide if you think ht... -
07:32 PM Feature #17104 (Closed): Do not freeze interpolated strings when using frozen-string-literal
- Applied in changeset commit:git|9b535f3ff7c2f48e34dd44564df7adc723b81276.
----------
Interpolated strings are no lon... -
07:32 PM Revision 9b535f3f (git): Interpolated strings are no longer frozen with frozen-string-literal: true
- * Remove freezestring instruction since this was the only usage for it.
* [Feature #17104] -
07:07 PM Feature #17170 (Feedback): Numeric.zero, Numeric.one
- Hi at the ruby team,
I'd like to suggest to enhance `Numeric` to provide two new class methods, which shall be: `z... -
04:18 PM Feature #17045 (Closed): ObjectSpace.dump_all should allocate as little as possible in the GC heap
- Applied in changeset commit:git|fbba6bd4e3dff7a61965208fecae908f10c4edbe.
----------
Parse ObjectSpace.dump_all / du... -
04:18 PM Revision fbba6bd4 (git): Parse ObjectSpace.dump_all / dump arguments in Ruby to avoid allocation noise
- [Feature #17045] ObjectSpace.dump_all should allocate as little as possible in the GC heap
Up until this commit Obje... -
04:12 PM Bug #17169 (Rejected): Bad value for range using infinity for Time
- @matz already rejected enhancing Time ranges in https://bugs.ruby-lang.org/issues/12961#note-5: `So we only need to f...
-
03:31 PM Bug #17169 (Rejected): Bad value for range using infinity for Time
- How to reproduce:
``` ruby
-Float::INFINITY...Float::INFINITY # works
Date.today...Float::INFINITY # works
-Flo... - 04:09 PM Revision a0d50465 (git): * 2020-09-16 [ci skip]
-
04:09 PM Revision 86087a15 (git): pointers on the stack need to be pinned
-
01:51 PM Feature #17168: Bundle RBS
- Approved.
Matz.
-
09:26 AM Feature #17168: Bundle RBS
- Details: https://www.youtube.com/watch?v=PvkpW1OEaP8
-
09:11 AM Feature #17168 (Closed): Bundle RBS
- @hsbt and I have been working to make RBS one of the bundled gems.
We are finalizing the patch and hope we can finis... -
12:44 PM Revision ee10efdc (git): Revert "[ruby/securerandom] Use build_message instead of message for test-unit"
- This reverts commit 7f9f5f5723cd723dee578b0681066c8393ee45d0.
-
12:17 PM Revision abbd3241 (git): [ruby/uri] Remove deprecated URI.escape/URI.unescape
- https://github.com/ruby/uri/commit/61c6a47ebf
-
12:07 PM Revision 7f9f5f57 (git): [ruby/securerandom] Use build_message instead of message for test-unit
- https://github.com/ruby/securerandom/commit/826b877e83
-
11:56 AM Revision ed39078d (git): bump patchlevel to 125
-
11:55 AM Revision 7d763148 (git): Merge RubyGems 3.1.4
- 11:32 AM Revision 3dd9e12b (git): [ruby/fileutils] Reduce iteration through list for `:mkdir_p`
- By calling the instruction to `list.map` within `list.each` itself.
https://github.com/ruby/fileutils/commit/e690eec937 - 10:53 AM Revision 026ba68c (git): Fix handling of FMODE_PREP.
- 10:53 AM Revision a9b2a96c (git): Fix incorrect initialization of `rb_io_t::self`.
-
06:35 AM Feature #13683: Add strict Enumerable#single
- How about #sole since it means one and only and is concise?
``` ruby
[].sole
#!> SoleError: empty Array when single ... -
05:03 AM Revision b2b855f4 (git): Fix `warning: instance variable bt_locations not initialized`
-
05:03 AM Revision f3754dfc (git): Fix missing `"` [ci skip]
-
12:40 AM Revision 29b1ac61 (git): Add IRB and Reline update for NEWS of 3.0.0-preview1
Also available in: Atom