Activity
From 10/12/2019 to 10/18/2019
10/18/2019
-
11:33 PM Feature #16253: Shorthand "forward everything" syntax
- ioquatix (Samuel Williams) wrote:
> Here are some real world examples from my code:
>
> ```ruby
> def self.for(*... -
11:17 PM Feature #16253: Shorthand "forward everything" syntax
- Here are some real world examples from my code:
```ruby
def self.for(*arguments, &block)
self.new(block, *argum... -
10:26 PM Feature #16131: Remove $SAFE, taint and trust
- I have added pull requests for all upstream projects. After some thought, I think many maintainers may consider drop...
-
05:44 AM Feature #16131: Remove $SAFE, taint and trust
- mame (Yusuke Endoh) wrote:
> > Are we OK with just removing the calls to taint/untaint?
>
> Each maintainer shoul... -
03:28 AM Feature #16131: Remove $SAFE, taint and trust
- > Are we OK with just removing the calls to taint/untaint?
Each maintainer should determine that.
This is my pe... -
08:26 PM Feature #16261: Enumerable#each_splat and Enumerator#splat
- This reminds me of a neat post showing applicatives in pictures: http://adit.io/posts/2013-04-17-functors,_applicativ...
-
01:58 PM Feature #16261: Enumerable#each_splat and Enumerator#splat
- Hmmmm.
A slight issue I see with the name "tuple", and then the implicit name addition
".each_tuple", which would... -
10:11 AM Feature #16261 (Rejected): Enumerable#each_splat and Enumerator#splat
- **UPD:** After discussion in comments, method names changed to "splat"-based.
New methods proposal.
Prototype c... -
06:08 PM Feature #16142: Implement code_range in Proc and Method
- Just a note: "code range" is an implementation-level concept for Strings. For instance there is CR_7BIT which means a...
-
06:03 PM Revision 5c81e19b (git): appveyor.yml - MinGW - update for MSYS2 / Mingw-w64 (#2573)
- MSYS source code comes from both gcc.gnu.org & Mingw-w64. Updates to the Mingw-w64 source broke the MinGW build step...
-
04:12 PM Misc #16262: DevelopersMeeting20191128Japan
- * [Feature #16129] Call initialize_clone with freeze: false if clone called with freeze: false (jeremyevans0)
* Wi... -
12:08 PM Misc #16262: DevelopersMeeting20191128Japan
- Carry over:
* [Bug #15912] Allow some reentrancy during TracePoint events (alanwu)
* I have seen quite a few pe... -
12:03 PM Misc #16262 (Closed): DevelopersMeeting20191128Japan
- Please comment on your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(you... - 03:51 PM Revision 7dcc24fd (git): * 2019-10-19 [ci skip]
-
03:50 PM Revision bf934e48 (git): Fixed passing idNil as a Symbol
-
01:18 PM Revision 9cb809cf (git): Verbatim texts need more indent [ci skip]
- And separate ruby script and executed example.
-
11:24 AM Revision 58e2ca31 (git): Use `_` instead of `_n_`
-
09:21 AM Feature #16260 (Closed): Symbol#to_proc behaves like lambda, but doesn't aknowledge it
- Seems that `Symbol#to_proc` returns `Proc` that has lambda semantics:
```ruby
proc = :+.to_proc
proc.call(1, 2) ... -
08:53 AM Revision ddad1fb2 (git): NEWS: Mention that optparse now supports did_you_mean for unknown option
-
08:46 AM Revision e2b719be (git): Support DidYouMean by AmbiguousOption too
-
08:39 AM Revision b4d308b4 (git): Defer adding additional info until getting the message of an error
-
08:30 AM Feature #16120: Omitted block argument if block starts with dot-method call
- Dan0042 (Daniel DeLorme) wrote:
> ```ruby
> array3D
> .each do
> .each do
> .each do |point|
> ```
my... -
08:19 AM Feature #16120: Omitted block argument if block starts with dot-method call
- Dan0042 (Daniel DeLorme) wrote:
> Am I the only one who thinks the omitted parameter is by far the most DRY and read... -
07:01 AM Feature #16120: Omitted block argument if block starts with dot-method call
- Dan0042 (Daniel DeLorme) wrote:
> ```ruby
> posts.map{ .author.name } #omitted is beautiful
> ```
Sorry, i... -
07:43 AM Revision e29e49ab (git): Default DidYouMean.formatter to PlainFormatter
-
07:20 AM Feature #12745: String#(g)sub(!) should pass a MatchData to the block, not a String
- jeremyevans0 (Jeremy Evans) wrote:
> * Passing a second argument to the block breaks if the block is a lambda.
> * ... -
06:19 AM Revision d4e52f67 (git): Added no suggestion test case
-
06:18 AM Revision 46fa301e (git): Use DidYouMean.formatter
- Instead of building messages separately.
-
06:08 AM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- Dan0042 (Daniel DeLorme) wrote:
> It would really help to have an example that does more than just wrap the intrinsi... -
05:59 AM Revision e50b8949 (git): Suppress numbered parameter warnings
-
05:53 AM Revision 095cdca1 (git): Make weakmap finalizer an ifunc lambda
- Simple comparison between proc/ifunc/method invocations:
```
proc 15.209M (± 1.6%) i/s - 76.138M in 5.00... -
05:53 AM Revision ce794236 (git): Use identhash as WeakMap
- As ObjectSpace::WeakMap allows FLONUM as a key, needs the special
deal for its hash. [Feature #16035] -
04:36 AM Feature #16256 (Closed): A "did you mean" hint for OptionParser
- My patch was reviewed by @yuki24 and @nobu , and merged. Closing.
-
03:39 AM Misc #16232 (Closed): DevelopersMeeting20191017Japan
-
03:20 AM Revision c3b64a86 (git): lib/optparse.rb: Show a did_you_mean hint for unknown option
- ```
require 'optparse'
OptionParser.new do |opts|
opts.on("-f", "--foo", "foo") {|v| }
opts.on("-b", "--bar", "b... -
02:23 AM Revision 5ca5529d (git): Fix warning of generated parser for nested module
-
12:56 AM Bug #12667 (Closed): full_gem_path is incorrect for core modules
-
12:48 AM Bug #12862 (Closed): Regular Expression Named Group Matching does not work with #{} (Similar? to issue #2778)
-
12:46 AM Bug #12961 (Closed): Bad value for range using infinity for Date or Time
-
12:29 AM Bug #13549 (Closed): MinGW / Windows encoding - Two issues
-
12:28 AM Bug #13556 (Closed): MinGW readline Alt / Meta keys
-
12:24 AM Bug #13752 (Closed): Can't observe sibling refinements
- This appears to be fixed in the master branch (printing `foo`), though it is still broken in 2.6. Not sure what comm...
10/17/2019
-
11:59 PM Bug #13903 (Closed): cant compile ruby with /MT on windows
-
11:58 PM Bug #13920 (Closed): prepping io for stdin returns "access denied" on windows
-
11:56 PM Bug #13966 (Closed): configure.in still needed ?!
-
11:55 PM Bug #13980 (Closed): Rounding failure on i686 (i386).
-
11:52 PM Bug #14051 (Closed): net/imap issue on idle method with an empty block
-
11:44 PM Bug #14176 (Closed): Unclear error message when calling method with keyword arguments
- With the separation of keyword arguments and positional arguments in #14183, I think this can be closed.
-
11:39 PM Bug #14271 (Feedback): Random TestIO_Console#test_oflush failure
- Vit, do you still get this test suite error?
-
11:35 PM Bug #14353 (Closed): $SAFE should stay at least thread-local for compatibility
- `$SAFE` is being deprecated in 2.7 and will revert to normal global variable in 3.0, so this can be closed.
-
11:22 PM Bug #14505 (Closed): IO.popen / Open3.popen2 / backtick subprocess remains blocked
-
11:16 PM Bug #14596 (Closed): Ruby master is broken with bootsnap
-
11:13 PM Bug #14631 (Closed): Add support for long paths in Windows 10 when support is enabled in the OS
-
10:59 PM Bug #14662 (Closed): Stack consistency error in 2.5.1
-
10:59 PM Bug #14663 (Closed): getting "killed string.c" rdoc failed while trying to make ruby-2_5_1
-
10:57 PM Bug #14678 (Closed): Segmentation fault in pg
-
10:49 PM Bug #14726: wrong message when superclass is not a Class
- It looks like this error message has not been changed. Attached is a patch with a slightly more verbose and descript...
-
10:29 PM Bug #14745 (Closed): High memory usage when using String#replace with IO.copy_stream
-
10:05 PM Bug #15052 (Closed): must not optimize `foo(**{})` out
- Fixed by commit:1d5066efb08cbb328ba528a5f8be1708584b659f.
-
09:59 PM Bug #15179 (Closed): Segfault caused by only 'loop{ x<<[] }'
-
09:58 PM Bug #15187 (Closed): IPv6 x-forwarded-host results in "bad URI" error
-
09:53 PM Bug #15227 (Closed): Wrong version of ruby is used during tests
-
09:52 PM Bug #15253 (Closed): Arduinoとの接続においてSocket.tcp_server_loop中で$stderr.puts、pなどが使用できない
-
09:16 PM Feature #16245: Add interfaces to count and measure size all IMEMO objects
- Yes!
ObjectSpace.memsize_of_imemo_objects sounds perfect to me.
I also support adding `ObjectSpace.each_iseq`... -
09:09 PM Feature #16029: Expose fstring related APIs to C-extensions
- Koichi,
What about rb_str_fstring_lookup and rb_str_fstring_lookup_enc? Both will not create strings so shared st... -
05:55 AM Feature #16029: Expose fstring related APIs to C-extensions
- Hi.
(1) implementation
Current implementation can have issue (related to shared string) and this issue can caus... -
08:35 PM Revision 1d564ace (git): Remove unused constant.
- This constant isn't used, so lets remove it.
-
08:30 PM Revision 9026e12f (git): Look up constant instead of caching in a global
- The global can go bad if the compactor runs, so we need to look up the
constant instead of caching it in a global. -
07:59 PM Bug #15273 (Closed): Ruby crashing after updating Mac OS to Mojave (10.14)
-
07:54 PM Bug #15372 (Closed): openssl 1.1.1a on Debian sid test failures
- `test/net/fixtures` was updated in commit:f234e6c3d3170f37508e214cdaef78d4b2584e5a and commit:1e0b49a293d3792826c67b7...
-
07:46 PM Bug #15422 (Closed): Re: [ruby-cvs:73514] normal:r66413 (trunk): thread_pthread.c: fix memory leak from fork loop leapfrog (v3)
-
07:22 PM Bug #16030 (Closed): test_memsize fails on x32 ABI: Unsupported RVALUE_SIZE=24
- Applied in changeset commit:git|ee821e90741ebedc6c7a3bb0e8b67e59f3a44022.
----------
Update test to handle x32 ABI c... -
07:21 PM Revision ee821e90 (git): Update test to handle x32 ABI compiled Ruby on Linux
- Suggestion from Laurence Parry.
Fixes [Bug #16030] -
06:53 PM Feature #16255: Make `monitor.rb` built-in
- Matz wants to make it as an extension library, so I moved it as extension library.
-
06:49 PM Bug #15644 (Assigned): ThreadsWait problems with Thread#report_on_exception
- I agree this is a bug that should be fixed. I have submitted a pull request to fix it: https://github.com/ruby/thwai...
-
05:55 PM Feature #13683: Add strict Enumerable#single
- > instead of `#select`, shouldn't you use `#find` so it doesn't need to check the others when it already found a matc...
-
07:24 AM Feature #13683: Add strict Enumerable#single
- Dan0042 (Daniel DeLorme) wrote:
> +1
>
> I actually have this as `single` in my own code, but `only` sounds fine ... -
06:24 AM Feature #13683: Add strict Enumerable#single
- ```
[1, 2].mono
[1, 2].solo
[1, 2].alone
``` -
05:59 AM Feature #13683: Add strict Enumerable#single
- I don't like `only` either since these names do not describe the behavior.
Matz. -
05:54 PM Revision 8c0629ba (git): Treat key sequences from getwch() that start from 0 or 0xE0 correctly
-
05:54 PM Revision 58657fa1 (git): Add numeric keypad key sequences on Windows
-
05:54 PM Revision 53c05a6c (git): Remove freeze
-
05:54 PM Revision 13b106a1 (git): Ignore the input method key sequence from getwch() correctly
- The function getwch() returns some key sequences which start from 0 or 0xE0
with a following key code. Alt+` that is ... -
05:39 PM Bug #15754 (Closed): MinGW build/compile failure with Ruby 2.5.5, but 2.6.2 & trunk ok
-
05:22 PM Bug #16007 (Closed): Process.clock_getres matches the clock in practice for Process::CLOCK_{PROCESS,THREAD}_CPUTIME_ID FAILED fails on armv7hl
-
05:12 PM Bug #16033 (Closed): test_callinfo_unreachable_path Bus Error on Solaris sparc
-
04:35 PM Bug #16251 (Closed): Evaluation in binding differs from ruby execution
-
04:35 PM Bug #16194 (Closed): Can not compile the recent ruby 2.6.5 release due to some openssl-related issue (see issue description)
-
04:35 PM Bug #16191 (Closed): Crash when setting conditional to false
-
04:34 PM Bug #16190 (Closed): Strange Crash
-
04:32 PM Bug #10314 (Closed): Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
- Applied in changeset commit:git|0162e7e6471b639dfeeded29943e9e27c9519826.
----------
Make circular argument referenc... -
05:07 AM Bug #10314: Default argument lookup fails in Ruby 2.2 for circular shadowed variable names
- I think it's OK now to make this error.
Matz.
-
04:32 PM Revision 0162e7e6 (git): Make circular argument reference a SyntaxError instead of a warning
- Fixes [Bug #10314]
-
03:52 PM Feature #16131: Remove $SAFE, taint and trust
- The blocker on merging the pull request is that test-bundled-gems is failing due to the `rake` test failure. https:/...
-
06:58 AM Feature #16131: Remove $SAFE, taint and trust
- Hi @jeremyevans0,
> I've rebased my pull request against master and fixed the conflicts
Thank you for the great... - 03:46 PM Revision fdfb5100 (git): * 2019-10-18 [ci skip]
-
03:44 PM Revision d1a73058 (git): Insert multiline incremental search result correctly
-
03:24 PM Feature #13083 (Closed): Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
- Merged at commit:2a22a6b2d8465934e75520a7fdcf522d50890caf
-
02:48 PM Bug #16259 (Third Party's Issue): Err when running 'rails test'
- This error occurs in sassc, an external gem:
```
c:0059 p:---- s:0449 e:000448 CFUNC :compile_data_context
c:00... -
10:18 AM Bug #16259 (Third Party's Issue): Err when running 'rails test'
- Got this error when running 'rails test'
Please ask if something's missing!
Best of luck! -
02:32 PM Feature #15822: Add Hash#except
- @matz About use-cases, there are multiple, like:
* Logging/debug printing some hash with sensitive or too large da... -
06:42 AM Feature #15822: Add Hash#except
- `Hash#slice` was introduced via discussion in #13563. We didn't see the need for `Hash#except` yet. Any (real world u...
-
01:27 PM Feature #16120: Omitted block argument if block starts with dot-method call
- I am so sad :-(
I was really looking forward to using this beautiful syntax instead of numbered parameters which I f... -
08:42 AM Feature #16120 (Rejected): Omitted block argument if block starts with dot-method call
- After reconsideration, I came to the conclusion that we should use numbered parameters instead of this feature.
Than... -
10:43 AM Revision 4f13927f (git): [DOC] no change on Windows [Bug #15267] [ci skip]
-
09:52 AM Bug #15267 (Closed): File.basename + File.extname does not restore the original name
- Applied in changeset commit:git|e169ad93f44e1944ecf7bb65133fd34e8b868ea8.
----------
Fixed File.extname at a name en... -
06:05 AM Bug #15267: File.basename + File.extname does not restore the original name
- https://github.com/ruby/ruby/pull/2565
-
05:41 AM Bug #15267: File.basename + File.extname does not restore the original name
- I think we should change File.extname instead of File.basename, as:
```
File.basename("name.", ".*") #=> "name"
... -
05:14 AM Bug #15267: File.basename + File.extname does not restore the original name
- > basename(1) seems to result in the base name with the dot, when stripping a wildcard suffix.
basename(1) doesn't... -
09:51 AM Revision e169ad93 (git): Fixed File.extname at a name ending with a dot
- File.extname now returns a dot string at a name ending with a dot.
[Bug #15267] - 08:45 AM Revision 2a261909 (git): * remove trailing spaces. [ci skip]
-
08:44 AM Misc #16258: [PATCH] Combine call info and cache to speed up method invocation
- Thank you for your patch.
Conclusion: OK.
Points:
* Current implementation separates ci and cc because of Co... -
01:46 AM Misc #16258 (Closed): [PATCH] Combine call info and cache to speed up method invocation
- Proposed change: https://github.com/ruby/ruby/pull/2564
To perform a regular method call, the VM needs two structs... -
08:44 AM Revision 2a22a6b2 (git): Regexp#match{?} with nil raises TypeError as String, Symbol (#1506)
- * {String|Symbol}#match{?} with nil returns falsy
To improve consistency with Regexp#match{?}
* String#match(nil) r... -
07:54 AM Revision 41457dcb (git): Remove unused variable
-
07:53 AM Bug #16257: Gem::Version instances are silently created as singletons
- Fixed and scheduled for rubygems v3.1.0.
-
07:35 AM Revision 60a0c20c (git): Refactor prompt generation logic
-
06:30 AM Bug #16143: BOM UTF-8 is not removed after rewind
- I feel changing the default behavior of IO#rewind is dangerous.
We use IO#rewind when we modify a file in place.
... -
05:21 AM Bug #11055: autoload resets private_constant
- I agree with fixing this. Nobu will investigate the patch and consider the issue detail.
Matz.
-
03:51 AM Revision 37457117 (git): Use `\&` instead of `\1` with capture
-
02:37 AM Misc #16232: DevelopersMeeting20191017Japan
- * [Feature #16142] Implement code_range in Proc and Method - Ruby master - Ruby Issue Tracking System
* Propose an... -
02:12 AM Misc #16232: DevelopersMeeting20191017Japan
- - [Misc #16258] Combine call info and cache to speed up method invocation
- Looking for feedback and reviews. I th... -
01:46 AM Misc #16232: DevelopersMeeting20191017Japan
- * [[Feature #13083]](https://bugs.ruby-lang.org/issues/13083) {String|Symbol}#match{?} with nil returns falsy as Rege...
-
02:36 AM Feature #16142: Implement code_range in Proc and Method
- hi.
I want to use it when I want to get the block source code.
e.g. https://github.com/osyo-manga/gem-binding-debug...
10/16/2019
-
07:51 PM Bug #8039 (Closed): DRB/dRuby server throws an exception when probed on its port
- Applied in changeset commit:git|567e312d1f56c27ecb4fa20deac4311f05ee5507.
----------
Do not raise an exception on a ... -
07:51 PM Bug #5618 (Closed): Exceptions cause DRb connection to be closed
- Applied in changeset commit:git|50b8033d6b7404670ee985de1473fffc10dd7d9c.
----------
Handle subclasses of Exception ... -
07:51 PM Revision d5744aff (git): Fix DRbServer#any_to_s
- My previous fix in d0ed935d5bf8c3fce9800742a36e44fb7f63dda4 was
not correct, as pointed out by cremno on GitHub.
Thi... -
07:51 PM Revision 567e312d (git): Do not raise an exception on a closed DRb socket
- This rescues some exceptions that could happen with a closed or
shutdown DRb socket. This can prevent the server from... -
07:51 PM Revision 50b8033d (git): Handle subclasses of Exception in drb
- This makes it so that client instances that call a method on a
server-side object that raise a subclass of Exception ... -
07:51 PM Bug #13249 (Closed): Access modifiers don't have an effect inside class methods in Ruby >= 2.3
- Applied in changeset commit:git|2993b24a1ecc5fa3cc9f140bfd80669c3a3b7b9c.
----------
Warn for calling public/protect... -
07:10 PM Bug #13249: Access modifiers don't have an effect inside class methods in Ruby >= 2.3
- nobu (Nobuyoshi Nakada) wrote:
> * Is it necessary that check is placed inside the function `vm_cref_set_visibility`... -
07:06 AM Bug #13249: Access modifiers don't have an effect inside class methods in Ruby >= 2.3
- * Is it necessary that check is placed inside the function `vm_cref_set_visibility`?
What about calling a separate... -
05:26 AM Bug #13249: Access modifiers don't have an effect inside class methods in Ruby >= 2.3
- @nobu Could you review the patch?
-
07:50 PM Revision 2993b24a (git): Warn for calling public/protected/private/module_function without arguments inside method
- Calling these methods without an argument does not have the
desired effect inside a method.
Fixes [Bug #13249] -
05:32 PM Feature #16253: Shorthand "forward everything" syntax
- Given the very interesting use case that zverok presented, I'm leaning more in favor of a lexically-scoped "operator"...
-
04:55 PM Feature #16253: Shorthand "forward everything" syntax
- The disadvantage I see to this proposal is increased complexity. Both internal complexity in the implementation, and...
-
01:17 PM Feature #16253: Shorthand "forward everything" syntax
- > But it's true that often we want to operate on the arguments before forwarding, so I think maybe an asymmetric synt...
-
01:05 PM Feature #16253: Shorthand "forward everything" syntax
- > * Is `*` or `...` an expression? What does `def m(...); a = ...; p a; end; m(1, a: 2) {}` print?
I would tend to... -
10:33 AM Feature #16253: Shorthand "forward everything" syntax
- Things to consider:
* Is `*` or `...` an expression? What does `def m(...); a = ...; p a; end; m(1, a: 2) {}` print?... -
05:19 PM Revision db841236 (git): Calculate prompt width correctly
-
04:56 PM Revision e26c6d4a (git): Collect multiline prompt logic into a method
-
04:21 PM Revision 3fea2d91 (git): Use an even indent in NEWS for code
- * Makes it easier to copy-paste and add code backticks.
-
04:17 PM Misc #16232: DevelopersMeeting20191017Japan
- * [Feature #16120] Omitted block argument if block starts with dot-method call (Dan0042)
* last time Matz said "G... -
06:55 AM Misc #16232: DevelopersMeeting20191017Japan
- * [Feature #16150] Add a way to request a frozen string from to_s
* `Symbol#to_s` now returns a frozen string, and... -
06:38 AM Misc #16232: DevelopersMeeting20191017Japan
- * [Feature #16253] Shorthand "forward everything" syntax (mame)
* How about introducing `def foo(...); bar(...); e... -
05:45 AM Misc #16232: DevelopersMeeting20191017Japan
- * [Feature #16255] Make `monitor.rb` built-in (ko1)
* maybe there is no problem.
* Should we make `MonitorMixin... -
03:58 PM Feature #16120: Omitted block argument if block starts with dot-method call
- Rebased my patch to the latest master and cleaned up the code a bit:
https://github.com/dan42/ruby/commit/11f609af00... - 03:29 PM Revision e003f29e (git): * 2019-10-17 [ci skip]
-
03:28 PM Revision 5c80dffd (git): Revert "Disable ccache on arm64 build"
- This reverts commit e8124729fbeaf159ae615f61980ee10018ed5134.
It worked once, but soon after that it stopped working... -
01:35 PM Revision 7df22780 (git): Support multiline history in incremental search
-
12:59 PM Bug #16257: Gem::Version instances are silently created as singletons
- Done: https://github.com/rubygems/rubygems/issues/2948
-
08:59 AM Bug #16257 (Third Party's Issue): Gem::Version instances are silently created as singletons
- It is an issue of rubygems.
Please report it at https://github.com/rubygems/rubygems/ -
08:25 AM Bug #16257: Gem::Version instances are silently created as singletons
- Attached the full stack trace.
-
08:23 AM Bug #16257 (Third Party's Issue): Gem::Version instances are silently created as singletons
- Instantiating `Gem::Version` objects via `new` actually returns singletons, which is not obvious nor is this document...
-
12:00 PM Revision f8fb51c9 (git): Revert "alias assert_raise_message for compatibility with test-unit"
- This reverts commit 43015275b9a7f2833c93ad11ea96ae4cb3b7acd7.
`assert_raise_message` in test-unit is different from
... -
09:04 AM Feature #10238: todo: remove dependency on malloc_usable_size
- It should be fixed.
-
08:55 AM Feature #15123 (Feedback): Enumerable#compact proposal
-
08:44 AM Revision 43015275 (git): alias assert_raise_message for compatibility with test-unit
-
08:30 AM Feature #16256: A "did you mean" hint for OptionParser
- \o/
-
07:38 AM Feature #16256 (Closed): A "did you mean" hint for OptionParser
- How about showing "did you mean" when a unknown option is passed for OptionParser?
```ruby
require 'optparse'
... -
08:29 AM Misc #16125 (Rejected): Remove the reserved member from rb_data_type_t as the addition of the compactor callback pushed it over a single cache line
- Current design is for compatibility for future changes.
-
07:11 AM Revision 5437d7c8 (git): Temporarily drop test_jit_debug.rb
- Still some CIs are failing:
https://ci.appveyor.com/project/ruby/ruby/builds/28141041/job/v4hfc99sjefqabkk
http://ci.... -
06:16 AM Revision d70855c7 (git): Added test for rdoc `--force-update` option
-
06:16 AM Revision 17ee01e3 (git): Removed an unused assignment
-
06:14 AM Revision c15856d7 (git): Do not test --jit-debug on -DVM_CHECK_MODE
-
06:04 AM Revision eef25f95 (git): Maintain the intention of comment in Travis matrix
-
05:56 AM Revision 006d9013 (git): Remove arm64 build from Drone
- because it started to run on Travis.
-
05:54 AM Revision e8124729 (git): Disable ccache on arm64 build
- Follow up https://github.com/ruby/ruby/pull/2559
According to experiments in https://github.com/ruby/ruby/pull/2560,... -
05:52 AM Feature #16245: Add interfaces to count and measure size all IMEMO objects
- Already we have:
```ruby
require 'objspace'
pp ObjectSpace.count_imemo_objects
#=>
{:imemo_env=>42,
:imemo_c... -
05:47 AM Revision 4ccb49ba (git): Enforce --jit-debug test by another way
-
05:01 AM Revision 759576a0 (git): Fix test path on travis build
-
04:37 AM Revision 2679e109 (git): Test without --jit-debug by default
- and let RUBY_DEBUG=1 job test it.
We usually don't use --jit-debug and we should test no --jit-debug by
default. - 03:59 AM Revision d97229de (git): Add arm64 case on Travis. (#2559)
- misc-16234
-
02:04 AM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- There's something I'm not sure I understood so I'd like to clarify if this proposal can be described as
A) write t...
10/15/2019
-
09:21 PM Feature #16255 (Closed): Make `monitor.rb` built-in
- # Abstract
`monitor.rb` introduces `MonitorMixin` module and `Monitor` class.
Now, `rubygems.rb` requires `monito... -
08:44 PM Misc #16232: DevelopersMeeting20191017Japan
- * [Feature #16131] Remove $SAFE, taint and trust (jeremyevans)
* Does anyone have time to review the patch (extens... -
11:26 AM Misc #16232: DevelopersMeeting20191017Japan
- * [Feature #15822] Add `Hash#except`
* The method is really useful, even with ActiveSupport-less codebases I const... -
10:55 AM Misc #16232: DevelopersMeeting20191017Japan
- * [Bug #16143] BOM UTF-8 is not removed after rewind (kou)
* Can we commit this? I've reviewed. I think that this ... -
08:27 PM Bug #16251: Evaluation in binding differs from ruby execution
- Local variables are "hoisted" to the beginning of the method/block in Ruby (and start with value `nil`).
With that i... -
01:48 PM Bug #16251: Evaluation in binding differs from ruby execution
- I have no idea whether this is a spec or undefined behavior, but the current implementation is actually intentional.
... -
01:19 PM Bug #16251 (Closed): Evaluation in binding differs from ruby execution
- In specific situation, I found that result of string evaluation in Binding returns different from ruby execution resu...
-
08:16 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
- I sent a PR: https://github.com/ruby/ruby/pull/2559 adding a native arm64 environment on Travis.
I also tried to a... -
08:01 PM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- This sounds great.
We have very a similar mechanism in TruffleRuby, inherited from Rubinius, which is called "prim... -
06:57 PM Feature #16254 (Closed): MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- # Abstract
MRI defines most of built-in classes in C with C-APIs like `rb_define_method()`.
However, there are se... -
07:46 PM Revision 6081ddd6 (git): Dup hash with keyword flag when converted to keywords
- When ruby2_keywords is used on a method, keywords passed to the method
are flagged. When the hash is passed as the l... -
06:42 PM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > Internally, there are not really performance... -
07:13 AM Misc #16188: What are the performance implications of the new keyword arguments in 2.7 and 3.0?
- jeremyevans0 (Jeremy Evans) wrote:
Thank you for your detailed reply.
> Internally, there are not really perfor... -
05:55 PM Revision 259601ab (git): Support backspace in incremental search
-
05:20 PM Feature #16253: Shorthand "forward everything" syntax
- Hmm. I have not decided whether I like the proposal or not; I guess I am mostly
neutral, but with a slight tendency ... -
03:53 PM Feature #16253: Shorthand "forward everything" syntax
- `...` has been proposed a few times as well, I'm not sure if there is a ticket for it:
```ruby
def foo(...)
... -
03:38 PM Feature #16253 (Closed): Shorthand "forward everything" syntax
- What about using this:
```ruby
def foo(*)
@bar.foo(*)
```
to mean this:
```ruby
def foo(*a, **o,... -
05:08 PM Revision a5245c16 (git): C-r is incremental history search in vi insert mode
-
04:42 PM Feature #14784 (Closed): Comparable#clamp with a range
- Applied in changeset commit:git|929d5fd3b99c1413f737ff16cf0680698036e60f.
----------
Comparable#clamp with a range [... - 04:42 PM Revision 1c50ce2c (git): * 2019-10-16 [ci skip]
-
04:42 PM Revision 929d5fd3 (git): Comparable#clamp with a range [Feature #14784]
-
04:28 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > It certainly could. I believe the idea of r... -
03:49 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- jeremyevans0 (Jeremy Evans) wrote:
> It certainly could. I believe the idea of removing it after Ruby 2.6 is EOL is... -
03:16 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- Eregon (Benoit Daloze) wrote:
> @jeremyevans0 That is not future proof and will break as soon as `ruby2_keywords` is... -
07:23 AM Misc #16157: What is the correct and *portable* way to do generic delegation?
- At the end of my comment in https://bugs.ruby-lang.org/issues/16188#note-5 I discussed why I believe `ruby2_keywords`...
-
05:37 AM Misc #16157 (Open): What is the correct and *portable* way to do generic delegation?
-
05:37 AM Misc #16157: What is the correct and *portable* way to do generic delegation?
- @jeremyevans0 That is not future proof and will break as soon as `ruby2_keywords` is removed.
I don't think we wan... -
03:12 PM Feature #16252 (Open): Hash#partition should return hashes
- Hash#partition is implemented by Enumerable so it just returns two arrays of arrays
```ruby
{1=>2,3=>4}.partition... -
02:47 PM Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1
- Try using a different `--prefix` for the 32bit and 64bit versions, and please report whether that fixes the issues.
-
12:17 PM Bug #16179: ruby binaries generate "already initialized constant" warnings on AIX 6.1
- 64bit
-----
./configure \
--host=powerpc-ibm-aix6.1.0.0 --target=powerpc-ibm-aix6.1.0.0 --build=powerpc-ibm-ai... -
12:16 AM Bug #16179 (Feedback): ruby binaries generate "already initialized constant" warnings on AIX 6.1
- Here's the results of `$:` extracted from the uploaded .docx log:
```
/opt/freeware/lib64/ruby/gems/2.6.0/gems/di... -
02:45 PM Bug #15977 (Closed): Unobvious result value from #next_rotate_time and #previous_period_end methods of Logger::Period module
-
01:17 AM Bug #15977: Unobvious result value from #next_rotate_time and #previous_period_end methods of Logger::Period module
- I've submitted a pull request that raises ArgumentError for invalid shift_age values: https://github.com/ruby/logger/...
-
02:34 PM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
- Eregon (Benoit Daloze) wrote:
> What tests does it break, could you copy the output?
I didn't keep the output. F... -
05:21 AM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
- Thanks for the patch.
What tests does it break, could you copy the output?
The tests might be wrong too. -
02:45 AM Bug #15608: What should be the correct output for Method#inspect with singleton methods?
- Attached is a patch that fixes this issue. @wanabe was correct that we need to use `data->iclass` if available. Howe...
-
02:29 PM Revision 375cf129 (git): test/csv/write/test_general.rb: suppress warnings
- of "setting Encoding.default_internal".
-
02:16 PM Revision c01df7e5 (git): Fixed the key to delete [Bug #16250]
- https://github.com/ruby/ruby/commit/f94202fcc228d0348ca050a7b18a8f8a538a7305#commitcomment-35505076
Co-Authored-By: ... -
01:38 PM Revision 81176095 (git): [DOC] fixed a variable name [ci skip]
- replaced "anObject" with "obj". also marked up with simple `_`s
instead of `<i>`. -
11:57 AM Revision e0e93a19 (git): [rubygems/rubygems] Bump version to 3.1.0.pre2
- https://github.com/rubygems/rubygems/commit/a7a673ce22
-
11:56 AM Revision 51a31b86 (git): [rubygems/rubygems] Also bump test variable
- https://github.com/rubygems/rubygems/commit/97e9768612
-
11:18 AM Revision d2982bea (git): Remove duplicated `.` [ci skip]
-
10:41 AM Revision f94202fc (git): Use compare_by_identity hash [Bug #16250]
-
09:53 AM Revision b7079e53 (git): Try to avoid random failure
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20191015T070011Z.fail.html.gz
```
1... -
04:58 AM Revision c800967a (git): Simplify circular reference check of IRB::Color
-
04:28 AM Bug #16250: IRB can't print recursive Arrays or Hashes
- Great catch, thanks!
> By the way, I had to create a new account to report this bug. I already tried to reset my p... -
04:25 AM Bug #16250 (Closed): IRB can't print recursive Arrays or Hashes
- Applied in changeset commit:git|96617ad1d57a13e9a282fb663ea73e4801519389.
----------
IRB colorize: take into account... -
04:25 AM Revision 96617ad1 (git): IRB colorize: take into account recursive arrays and hashes (#2555)
- [Bug #16250]
-
12:55 AM Bug #16002 (Closed): File.writable?('/tmp/file') returns true even if it's not writable on Linux 4.19+
- Applied in changeset commit:git|978276a7d9249535f855088f866551b6557f321f.
----------
Update documentation for File#{... - 12:55 AM Revision ddd42d8e (git): * 2019-10-15 [ci skip]
-
12:43 AM Revision 978276a7 (git): Update documentation for File#{readable,writable,executable}{,_real}? [ci skip]
- Some OS-level security features cause these methods to not return
expected results. For example fs.protected_regular...
10/14/2019
-
09:05 PM Bug #16250: IRB can't print recursive Arrays or Hashes
- Fix here: https://github.com/ruby/ruby/pull/2555
-
08:40 PM Bug #16250: IRB can't print recursive Arrays or Hashes
- By the way, I had to create a new account to report this bug. I already tried to reset my password for account `aster...
-
08:39 PM Bug #16250 (Closed): IRB can't print recursive Arrays or Hashes
- This is on Ruby 2.7.0dev but I'm almost sure it happens on master because this code has no check for recursion: https...
-
06:10 PM Misc #16157 (Closed): What is the correct and *portable* way to do generic delegation?
- `pass_keywords` was renamed to `ruby2_keywords`. The correct and portable way to handle generic delegation is now:
... - 01:56 PM Revision c3a62603 (git): add require "monitor"
- 11:30 AM Revision 8488d5b5 (git): Automatically close fds on fork (and GC). The connection pools are maintained at thread scope.
-
10:54 AM Revision a4cf11c1 (git): [flori/json] fix test as reported in #343
- https://github.com/flori/json/commit/565c72ba9e
- 10:54 AM Revision 308bbb4e (git): [flori/json] Add ascii_only option to JSON::Ext::Generator::State.new.
- https://github.com/flori/json/commit/0e99a9aac5
-
10:54 AM Revision 98a9445d (git): [flori/json] Add shortcut converting to String
- In where to convert Hash key to String for json, this patch will add shortcut for String/Symbol in Hash key.
```
$ r... -
10:54 AM Revision a2f9c38a (git): [flori/json] Convert Hash object using rb_hash_foreach()
- To convert Hash convert, this part was using following pseudo code
```
obj.keys.each do |key|
value = obj[key]
.... -
10:54 AM Revision 2003755a (git): [flori/json] Fixed unexpected illegal/malformed utf-8 error
- flori/json@c34d01ff6a18dac04a90b2e0f820cdb1d5c7e1b2 does not
consider US-ASCII compatible but non-UTF-8 encodings, an... -
10:54 AM Revision d7fa7e2c (git): [flori/json] Convert string encoding to UTF-8 only when needed
- ## Before
```
$ ruby bench_json_generate.rb
Warming up --------------------------------------
json ... -
10:54 AM Revision 40724d7d (git): [flori/json] Convert String encoding using `rb_str_encode()`
- `rb_funcall` might be slightly heavy to call the Ruby method.
This patch will convert String encoding using `rb_str_e... -
10:54 AM Revision 641136c4 (git): [flori/json] Does not check whether illegal utf-8 if string has ascii only.
- ## Before
```
$ ruby bench_json_generate.rb
Warming up --------------------------------------
json ... - 10:54 AM Revision d9e50fcb (git): [flori/json] Pass args all #to_json in json/add/*.
- https://github.com/flori/json/commit/36a7ef6790
-
10:54 AM Revision 7376d70c (git): [flori/json] Only attempt to resize strings not other objects
- https://github.com/flori/json/commit/167ada8da7
-
08:30 AM Revision ede1a3dc (git): Fix typos [ci skip]
-
06:42 AM Revision 0195966b (git): Suppress warnings for Thread.exclusive
-
06:10 AM Revision 3e763883 (git): Fixed overflow at onig_region_set
- To get rid of a bug of `onig_region_set` which takes `int`s
instead of `OnigPosition`s, set elements of `beg` and `en... -
05:22 AM Feature #16029: Expose fstring related APIs to C-extensions
- I was thinking something like?
```
VALUE
rb_fstring_lookup(char *ptr, rb_encoding *enc)
{
st_data_t fstrin... -
05:20 AM Bug #2718 (Closed): DRb mixing up function return values between PIDs after fork()
- Applied in changeset commit:git|d0ed935d5bf8c3fce9800742a36e44fb7f63dda4.
----------
Fix some DRb issues (#2552)
* ... -
05:20 AM Bug #14471 (Closed): DRb mixing up function return values between PIDs after fork()
- Applied in changeset commit:git|d0ed935d5bf8c3fce9800742a36e44fb7f63dda4.
----------
Fix some DRb issues (#2552)
* ... -
05:20 AM Bug #2339 (Closed): DRb leaves connections half-open
- Applied in changeset commit:git|d0ed935d5bf8c3fce9800742a36e44fb7f63dda4.
----------
Fix some DRb issues (#2552)
* ... -
05:20 AM Bug #7833 (Closed): DRb has problems with BasicObject
- Applied in changeset commit:git|d0ed935d5bf8c3fce9800742a36e44fb7f63dda4.
----------
Fix some DRb issues (#2552)
* ... -
05:20 AM Revision d0ed935d (git): Fix some DRb issues (#2552)
- * Handle BasicObject in drb
Also fix a bug in rescue clause of any_to_s because sprintf
does not handle the %l modif... - 03:40 AM Revision 95c420c4 (git): Import StringScanner 1.0.3 (#2553)
-
02:31 AM Revision 6fa34923 (git): Eliminate the possibility to leave freed ISeq
- in active_units
Hoping to fix:
http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2311375 -
02:02 AM Feature #16146: Array .difference allow custom comparison
- jonathanhefner (Jonathan Hefner) wrote:
> Dan0042 (Daniel DeLorme) wrote:
> > What you're asking for is a O(n²) ope...
10/13/2019
-
09:15 PM Revision 183b4215 (git): Delay the free until we stop referring to a unit
- `if (unit->iseq)` might have referred to a freed unit. Therefore this
commit delays its free. -
05:26 PM Bug #5808 (Closed): "a = []; a << a; puts JSON.dump(a)" aborted
- The crash reported here was definitely a bug, but it was fixed in Ruby 2.1. It still generates a SystemStackError. I...
-
05:19 PM Bug #9555 (Closed): Ruby 2.0.0 compilation fails to compile on cygwin. (curses.so)
-
05:19 PM Bug #9588 (Closed): program name variables tainted
- As tainting will be removed from Ruby 2.7, this can be closed.
-
05:17 PM Bug #10441 (Rejected): Wrong required argument count reported for **kwargs method ArgumentErrors
- jxf (John Feminella) wrote:
> When collecting excess keyword arguments, Ruby's ArgumentError message doesn't count t... -
05:12 PM Bug #10898 (Closed): Cannot compile Ruby 2.2.0 with configure error: something wrong with LDFLAGS=""
-
05:09 PM Bug #12545 (Closed): Ruby 2.3.1 compilation error [Windows]
-
05:05 PM Bug #13535 (Closed): Installing Ruby2.4.1 on Solaris 10
- 05:05 PM Revision 673f3842 (git): * 2019-10-14 [ci skip]
-
05:03 PM Bug #14626 (Closed): One failing test on trunk 58fbe69a5b and OSX
-
04:59 PM Revision 26fae9aa (git): Remove the quick stop path after convert_unit_to_func
- Now I'm not exactly sure why I needed to check `stop_worker_p` after
`mjit_copy_cache_from_main_thread` of `convert_u... -
04:54 PM Bug #15646 (Closed): method_defined? inside method_added behaves differently for `initialize`
-
04:47 PM Bug #13584 (Third Party's Issue): Crash in logging (os_log) on MBP
-
04:47 PM Bug #15796 (Third Party's Issue): Ramdon console crashes
-
04:46 PM Bug #15623 (Third Party's Issue): Ruby 2.6.1 Segmentation Fault in on Phusion Passenger server boot in dev
-
04:46 PM Bug #15669 (Third Party's Issue): This issue was marked as resolved in 2.5.5 release note but I'm still experiencing it
-
04:46 PM Bug #15763 (Third Party's Issue): Segmentation fault in timeout.rb / sleep
-
04:46 PM Bug #15749 (Third Party's Issue): Rails Sever Crashing
-
04:46 PM Bug #13646 (Third Party's Issue): Segmentation fault with postgresql_adapter in Rails
-
01:34 PM Bug #15490: socket.rb - recurring segmentation faults
- I got a similar issue.
I uploaded a reproducible code and a crash report.
https://gist.github.com/abicky/1263fd5c... -
12:48 AM Revision 6a1809e2 (git): Enhance doc for ENV.delete
-
12:00 AM Bug #16242: Refinements method call to failed
- Its greated!!
Thanks jeremy :)
I will read pull request.
10/12/2019
-
11:51 PM Bug #13446: refinements with prepend for module has strange behavior
- Fixing this first requires fixing #16242, which allows including a module that uses prepend and is refined. However,...
-
11:47 PM Bug #16242: Refinements method call to failed
- This issue is specific to modules that are refined and use prepend. The reason it does not work:
1. Refining a mod... - 03:54 PM Revision 6ee2fb50 (git): * 2019-10-13 [ci skip]
-
03:51 PM Revision a5ecf7e0 (git): dir.c (join_path_from_pattern): check NULL from malloc
- Coverity Scan points out that all the return values of GLOB_ALLOC_N are
NULL-checked except this call. -
03:49 PM Revision 90b9900d (git): io.c (rb_update_max_fd): fail with a negative file descripter
- Coverity Scan points out that ext/socket/unixsocket.c may pass -1 to
rb_update_max_fd. I'm unsure whether it can hap... -
01:44 PM Revision ebc2198d (git): re.c (match_set_string): add a check for memory allocation
- Found by Coverity Scan
-
01:09 PM Revision 7ebf9da7 (git): Also moved fallback definition of __has_attribute
-
12:14 PM Revision cb14c4a5 (git): missing/setproctitle.c: remove nonsense NULL check
- If fmt is NULL, ptitle is uninitialized and used.
SETPROCTITLE(3bsd) says "If fmt is NULL, the process title is resto... -
11:39 AM Feature #16249: Dir#empty? and File#empty?
- Personally I think I have wanted/needed this in the past. It has not been
that important to me to suggest it myself,... -
10:59 AM Feature #16249: Dir#empty? and File#empty?
- ```c
return rb_dir_s_empty_p(rb_cDir, rb_str_dup(dirp->path));
```
This checks a directory named the current... -
09:48 AM Feature #16249 (Open): Dir#empty? and File#empty?
- I don't think it is a super-valuable addition (as nobody complained about it, or I can't find similar proposals), but...
-
09:47 AM Revision f4055647 (git): Suppress deprecation warnings of MD5 from Xcode 11.1
-
09:14 AM Revision 04333da7 (git): Suppress "clobbered" warnings by gcc 9.2.0
-
08:47 AM Revision 710bc003 (git): Moved RB_METHOD_DEFINITION_DECL to intern.h
- This macro is used here before defined in ruby.h.
-
08:39 AM Feature #15923: New independent string without memcpy
- I've implemented string bindings using growing ruby string. It was a bit tricky - I had to use `rb_protect`. I will l...
-
05:58 AM Revision 6333020f (git): atime may not updated unless strictatime is set on macOS Catalina
- Cited from mount(8):
```
strictatime
Always update the file access time when reading from a
file. Wi... - 05:03 AM Revision 92df7d98 (git): Import CSV 3.1.2 (#2547)
-
04:25 AM Revision d6e68bb2 (git): Use `warn` with `uplevel:` instead of `caller`
- 03:07 AM Revision f6a666a1 (git): * 2019-10-12 [ci skip]
- 03:07 AM Revision 412cd567 (git): Import REXML 3.2.3 (#2548)
Also available in: Atom