Activity
From 09/17/2020 to 09/23/2020
09/23/2020
-
11:17 PM Bug #10534 (Rejected): Enumerator methods other than "next" do not always respect "peek"
-
11:12 PM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
- Understood. The PR looks acceptable and the right fix.
My advice is to avoid the copy coroutine implementation if ... -
11:03 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
- I've improved the documentation for `#path` and `#absolute path` in commit:fae135c5b39db173bf97dfa3c3a34eb8fb230276. ...
-
10:55 PM Revision fae135c5 (git): Document difference between Thread::Backtrace::Location#{,absolute_}path
- They are usually the same, except for locations in the main script.
-
10:23 PM Feature #10637 (Assigned): Puppet orchestration on vagrant fails with Error: Non-HTTP proxy URI
- Currently, open-uri only supports http proxies, not https proxies (you can connect to https sites through an http pro...
-
10:20 PM Bug #17183: Float round working weirdly
- I think that's a bug. Looks different but maybe related to #14365.
-
10:07 PM Bug #17183: Float round working weirdly
- This is a known issue and not a bug. My bad. I cannot delete the ticket
-
09:34 PM Bug #17183 (Closed): Float round working weirdly
- I encountered this issue when casting a specific float with a especific round argument.
```
0.5.round(15)
=> 0.5... -
10:11 PM Bug #10749 (Closed): Possible overflow in GC::Profiler report on 2.2.0
-
10:01 PM Bug #10684 (Rejected): Block arity changes through Enumerable methods
- 06:52 PM Revision 502c3ff0 (git): * 2020-09-24 [ci skip]
-
06:52 PM Revision 637d1cc0 (git): Improve the performance of super
- This PR improves the performance of `super` calls. While working on some
Rails optimizations jhawthorn discovered tha... -
06:01 PM Feature #17143: Improve support for warning categories
- ko1 (Koichi Sasada) wrote in #note-3:
> My concern is, arbitrary categories make filtering difficult on Warning.warn... -
05:44 PM Feature #17143: Improve support for warning categories
- My concern is, arbitrary categories make filtering difficult on Warning.warn method.
Another concern is, "what is th... -
05:35 AM Feature #17143: Improve support for warning categories
- ko1 (Koichi Sasada) wrote in #note-1:
> Let me clear the proposal. Your PR seems to allow any categories (and any cl... -
04:57 AM Feature #17143: Improve support for warning categories
- Let me clear the proposal. Your PR seems to allow any categories (and any class of object). Is it intentional?
-
03:37 PM Feature #17134: Add resolv_timeout to TCPSocket
- It receives `resolv_timeout` as a keyword argument to specify name resolution timeout.
Example:
```ruby
# it rai... -
05:15 AM Feature #17134: Add resolv_timeout to TCPSocket
- Could you describe API changes more?
-
02:40 PM Bug #16809 (Assigned): Fiber crashes with --with-coroutine=copy
- OpenBSD/sparc64 (which uses copy coroutine) is similarly broken in regards to fibers. Even something simple like `ru...
-
11:00 AM Bug #16809: Fiber crashes with --with-coroutine=copy
- I've tested copy coroutine. Unfortunately today it is broken completely: hangs, segfaults, etc.
-
02:10 PM Bug #12468 (Closed): Logger: Can not rotate (log shifting failed. closed stream)
-
01:01 PM Revision b717f734 (git): Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
- 31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with
https://github.com/rubygems/rubygems/pull/3820 -
12:06 PM Revision a4684161 (git): bump Bundler's version to 2.2.0.rc.1
-
12:02 PM Revision 31a6eaab (git): Manually merged from https://github.com/rubygems/rubygems/pull/2636
- Enable Style/EmptyLinesAroundClassBody rubocop cop.
-
11:28 AM Revision f56fc720 (git): bundle-package.* was removed at upstream repo
-
08:47 AM Revision b57c5467 (git): strip trailing spaces [ci skip]
-
08:38 AM Revision 5cc72881 (git): Update the version number of rubygems and bundler at NEWS.md
-
07:23 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
- Would you like a patch?
-
06:07 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
- I'm now positive "interned_str" instead of "interned".
-
02:44 AM Revision 9a8f5f0a (git): Fix call-seq [ci skip]
- `encoding` can be not only an encoding name, but also an Encoding object.
```
s = String.new('foo', encoding: Encodi... -
01:59 AM Revision ba889100 (git): Bundle rbs gem as bundled gems (#3496)
- * Added rbs as bundled gems
* Added the missing dependencies for rbs gem -
12:43 AM Feature #4917: `NilClass#to_ary`
- y_feldblum (Jay Feldblum) wrote in #note-6:
> This minor performance issue becomes a huge problem when NilClass#meth... -
12:09 AM Revision e380f788 (git): Removed rb_find_file_ext_safe and rb_find_file_safe
09/22/2020
-
11:08 PM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
- ioquatix (Samuel Williams) wrote in #note-7:
> It is fixed: https://github.com/ruby/ruby/pull/2995
Hello, you hav... -
10:44 PM Bug #11778 (Closed): recv_io with mode breaks when klass arg is kind of BasicSocket
- Applied in changeset commit:git|ed27c2514c2f4140546dce2e8f5f64cb91712c47.
----------
Update UnixSocket#recv_io tests... -
09:11 PM Bug #11778: recv_io with mode breaks when klass arg is kind of BasicSocket
- I don't think this is a bug. If you pass a non-nil mode argument to `recv_io`, you should ensure that `klass.for_fd`...
-
10:44 PM Revision ed27c251 (git): Update UnixSocket#recv_io tests to handle receiving a UnixSocket
- Receiving UnixSocket works fine if you don't provide a mode, and
I think it is reasonable to expect that you should n... -
09:32 PM Revision b904b729 (git): Enhanced RDoc for String (#3565)
- Makes some methods doc compliant with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc. Also, o...
-
08:40 PM Revision 3d474e19 (git): Rudimentary support for disassembling rb_iseq_t
- I need to disassemble instruction sequences while debugging, so I wrote
this.
Usage is like this:
```
(lldb) p iseq... -
08:08 PM Bug #12136 (Closed): OpenStruct.new(format: :bar).send :format # => too few arguments
-
08:06 PM Bug #12251 (Closed): DelegateClass(OpenStruct) behavior in 2.3.0 different from 2.2
- The OpenStruct changes were reverted starting around commit:e026e186f4a01aa3f6cd02ae6ef33f44f129361c, so you once aga...
-
08:02 PM Bug #12258 (Closed): RDoc bug when handling comments in C code examples
-
07:07 PM Bug #17007 (Assigned): SystemStackError when using super inside Module included and lexically inside refinement
- To restore compatibility with Ruby 2.7 and fix #17182, I've reverted commit:eeef16e190cdabc2ba474622720f8e3df7bac43b ...
-
07:05 PM Bug #17182 (Closed): Refinements behavior is broken
- Applied in changeset commit:git|179384a66862d5ef7413b6f4850b97d0becf4ec9.
----------
Revert "Prevent SystemStackErro... -
06:00 PM Bug #17182: Refinements behavior is broken
- After some more thought, I think it's better to revert my fix and reopen #17007. Here's a PR for that, I plan on mer...
-
04:00 PM Bug #17182 (Assigned): Refinements behavior is broken
- This is discussed in https://bugs.ruby-lang.org/issues/17007#note-4. I'm not sure whether the previous behavior is s...
-
03:47 PM Bug #17182 (Closed): Refinements behavior is broken
- Calling the methods defined by Refinements via `super` from a singleton method breaks the behavior.
```ruby
cla... -
07:04 PM Revision 179384a6 (git): Revert "Prevent SystemStackError when calling super in module with activated refinement"
- This reverts commit eeef16e190cdabc2ba474622720f8e3df7bac43b.
This also reverts the spec change.
Preventing the Sys... -
06:30 PM Bug #12468: Logger: Can not rotate (log shifting failed. closed stream)
- I can't test cygwin, but I've added a pull request to logger that should fix this by treating cygwin like mswin and m...
-
06:12 PM Bug #12708 (Closed): Net::IMAP : Mail To address is not correct when uid_fetch is called.
-
04:20 PM Revision f3dddd77 (git): Add a comment about why we're checking the finalizer table
- 04:01 PM Revision 3c808898 (git): * 2020-09-23 [ci skip]
-
03:57 PM Revision 8b41e9b6 (git): Revert "Pin values in the finalizer table"
- If an object has a finalizer flag set on it, prevent it from moving.
This partially reverts commit 1a9dd31910699c7cd... -
12:45 PM Bug #17175: Ruby 2.5: OpenSSL related test failures
- > As a information, openssl 2.1.2 is used on Ruby 2.5.8.
openssl 2.1.2 is used for both Ruby 2.5.8 and Ruby 2.7.1.... -
07:40 AM Feature #17135: Improve performance of Integer#size method
- I try to improve performance of `Integer#size` in C code with refer to `TrueClass#to_s`
```c
static VALUE rb_c... -
02:35 AM Bug #17181 (Closed): Hash with default block breaks after transforming values
- Applied in changeset commit:git|df14c758fc705c49c2aaf4c9276a8f7229438fbf.
----------
Make hash returned by Hash#tran... -
12:58 AM Bug #17181: Hash with default block breaks after transforming values
- PR: https://github.com/ruby/ruby/pull/3563
-
02:35 AM Revision df14c758 (git): Make hash returned by Hash#transform_values not have a default
- This sets an explicit default of nil. There is probably a better
approach of removing the default.
Fixes [Bug #17181]
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...
Also available in: Atom