Activity
From 09/11/2019 to 09/17/2019
09/17/2019
-
11:41 PM Bug #16169: rescue in a method argument
- I agree that Ruby syntax is very subtle. Ruby's parser is a unspeakable monolith of compromise between human intuiti...
-
06:49 PM Bug #16169: rescue in a method argument
- mame explained that the behaviour is correct (in the context).
Perhaps the documentation could explain that, becau... -
04:09 PM Bug #16169: rescue in a method argument
- This is the same thing as #16092, where I submitted a documentation patch a little while ago.
-
11:38 AM Bug #16169 (Closed): rescue in a method argument
- At 2.4, #12686 was introduced, allowing code like this:
```ruby
foo (Integer(ENV['FOO']) rescue nil)
```
Thou... -
09:50 PM Feature #11473: Immutable String literal in Ruby 3
- > I suspect that the vast majority of Ruby code out there would work out of the box or
> require only minor changes ... -
04:28 PM Feature #11473: Immutable String literal in Ruby 3
- I regret missing this "final" decision, but I believe we should reconsider.
> I am sure introducing this could cau... -
09:37 AM Bug #16158: "st" Character Sequence In Regex Look-Behind Causes Illegal Pattern Error When Combined With POSIX Bracket Expressions And Case Insensitivity Flag
- Some more information: The onigmo documentation says (https://github.com/k-takata/Onigmo/blob/master/doc/RE#L270):
`... -
08:48 AM Bug #16158: "st" Character Sequence In Regex Look-Behind Causes Illegal Pattern Error When Combined With POSIX Bracket Expressions And Case Insensitivity Flag
- I've had a hunch, and have now been able to confirm this hunch:
The problem must be related to the fact that there...
09/16/2019
-
12:20 PM Feature #7639: More freedom for location of comments
- It looks like this feature has been realized by https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/revisio...
09/15/2019
-
09:02 PM Misc #16152: DevelopersMeeting20190919Japan
- * [Feature #16168] Add keyword argument separation to C functions using rb_scan_args
* I would like to commit the ... -
05:58 PM Misc #16152: DevelopersMeeting20190919Japan
- * [Feature #16155] Add an `Array#intersection` method
* Is this an acceptable method name?
* Should this be a s... -
08:59 PM Feature #16168 (Closed): Add keyword argument separation to C functions using rb_scan_args
- Most Ruby methods implemented as C functions that accept a variable number of arguments use rb_scan_args for argument...
-
07:24 AM Bug #16167 (Closed): make-snapshot does not work from fresh checkout
- Applied in changeset commit:git|6cad0644248d5acbaf3a2e8de4ff6d88b3dd2cb4.
----------
Try to fetch commits notes to t... -
07:23 AM Bug #16167: make-snapshot does not work from fresh checkout
- vo.x (Vit Ondruch) wrote:
> So this is in line with the changes referred here, but I somehow fail to see why the ref...
09/14/2019
-
09:49 PM Feature #10344: [PATCH] Implement Fiber#raise
- NEWS is updated.
-
07:46 PM Bug #16167 (Assigned): make-snapshot does not work from fresh checkout
- nobu (Nobuyoshi Nakada) wrote:
> I'm going to deprecate `-exported` option because it can't make stable-checksum tar... -
02:53 PM Bug #16167: make-snapshot does not work from fresh checkout
- I'm going to deprecate `-exported` option because it can't make stable-checksum tarballs.
-
02:51 PM Bug #16167 (Closed): make-snapshot does not work from fresh checkout
- Applied in changeset commit:git|e9c7fc7ca9bc15a9f84bdc356f7b6fac12988ccb.
----------
Continue to export even if no n... -
07:23 AM Bug #16162: Resque::DirtyExit - Child process received unhandled signal (You may have encountered a bug in the Ruby interpreter or extension libraries)
- It happens inside “grpc” extension library.
Have you asked them? -
02:25 AM Bug #16136: String corruption in 2.6.4
- ruby_2_6 r67803 merged revision(s) ade1283ca276f7d589ffd3539fbc7b9817f682d5.
09/13/2019
-
05:54 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- Dan0042 (Daniel DeLorme) wrote:
> In that case I'd like to make one last suggestion.
>
> For a method with `*args... -
05:00 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- In that case I'd like to make one last suggestion.
For a method with `*args`, if the method is called with keyword... -
03:15 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- Dan0042 (Daniel DeLorme) wrote:
> With 2.7, people will be asked to migrate their generic delegations to use `pass_k... -
02:55 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- There's something I'd like to clarify.
With 2.7, people will be asked to migrate their generic delegations to use ... -
05:25 PM Bug #16167 (Closed): make-snapshot does not work from fresh checkout
- So far, I was using this sequence to get Ruby snapshot:
~~~
git clone https://github.com/ruby/ruby ~/ruby
cd ~/r... -
03:45 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- Actually that reminds me - mame mentioned that the ruby core team needs a
motivation/impetus if a change is necessar... -
03:44 PM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- > We need an evidence that the behavior actually confuses
> many people, at least.
It does not confuse me because... -
10:16 AM Feature #16166: Remove exceptional treatment of *foo when it is the sole block parameter
- I agree that Ruby's arguments are insanely complex. In the basic case, `"a"` and `["a"]` are distinguished.
```
... -
08:17 AM Feature #16166 (Closed): Remove exceptional treatment of *foo when it is the sole block parameter
- In the parameter signature of a code block for a method that is not involved in method definition or creation of lamb...
09/12/2019
-
07:57 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- Ok, I misunderstood what `pass_keywords` was doing; I thought it would only apply to `baz(*args)` in this case.
-
03:40 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- Dan0042 (Daniel DeLorme) wrote:
> After some more thinking I believe the `pass_keywords` behavior would be appropria... -
12:53 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- After some more thinking I believe the `pass_keywords` behavior would be appropriate for 100% of methods with an argu...
-
02:05 AM Misc #16157: What is the correct and *portable* way to do generic delegation?
- > Then if you call `foo` with keywords, keywords will be passed to `bar`. This should allow for more backwards compa...
-
11:19 AM Feature #14781 (Closed): Enumerator.generate
- Applied in changeset commit:git|775037613bffe6f90e7af510b7f46a2ac10610be.
----------
Implement Enumerator.produce [F... -
09:43 AM Bug #16161: tailcall_optimization may be disabled after r67315
- How about adding `vm_call_iseq_setup_tailcall_opt_start` as same as `vm_call_iseq_setup_normal_opt_start`?
(Copy-and... -
09:25 AM Feature #16102: `Symbol#call`
- I propose this general solution.
diff --git a/array.c b/array.c
index 3717c3ff34..3809af01cf 100644
... -
06:47 AM Bug #16164: ENV.each with block returns ENV object itself, not Hash
- I remember the old pickaxe having mentioned ENV as a hash-like
object. I guess the documentation could be updated to... -
03:26 AM Bug #16164: ENV.each with block returns ENV object itself, not Hash
- That is a documentation bug.
-
01:04 AM Bug #16165: Endless ranges have inconsistency between #cover? and #include?
- For the sake of archives & potential future search engine hits - this got fixed a few days ago and will be in whateve...
09/11/2019
-
11:41 PM Bug #16165 (Closed): Endless ranges have inconsistency between #cover? and #include?
- Closing as per your request. Thank you for your investigation anyway.
-
11:31 PM Bug #16165: Endless ranges have inconsistency between #cover? and #include?
- Doh, this needs closing; my apologies. I had not realised that I was testing in an execution environment that had pul...
-
09:59 PM Bug #16165 (Closed): Endless ranges have inconsistency between #cover? and #include?
- In an endless Range, I'd expect to be able to use `#include?` just as I do with a Range that has an end value. It wou...
-
11:20 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- Dan0042 (Daniel DeLorme) wrote:
> Of course this is all *extremely* unconventional usage and doesn't really deserve ... -
09:25 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- After discussion with some other committers, I have an alternative approach in https://github.com/ruby/ruby/pull/2449...
-
03:36 PM Misc #16157: What is the correct and *portable* way to do generic delegation?
- > Prior to the keyword argument separation branch merge, it was not even possible for a C method to tell if it was ca...
-
09:30 PM Bug #16154: lib/delegate.rb issues keyword argument warnings
- I added an alternative approach for handling delegate keyword warnings in https://github.com/ruby/ruby/pull/2449. Th...
-
09:24 PM Bug #16164 (Closed): ENV.each with block returns ENV object itself, not Hash
- My code:
x = ENV.each { |name, value| }
puts "Return value class: #{x.class}"
puts "Return value is a Hash? #{x.... -
05:35 PM Bug #16159: rubyspec about time fails in Asia/Kuala_Lumpur timezone
- Also, I ran it multiple times between 11pm - 1.30am
-
05:07 PM Bug #16159: rubyspec about time fails in Asia/Kuala_Lumpur timezone
- GMT+8
```
$ date +%z
+0800
``` -
03:59 PM Bug #16158: "st" Character Sequence In Regex Look-Behind Causes Illegal Pattern Error When Combined With POSIX Bracket Expressions And Case Insensitivity Flag
- Thank you both.
I can confirm the encoding being a factor. It's an issue even if it is not the default.
```
... -
01:28 PM Bug #16158 (Open): "st" Character Sequence In Regex Look-Behind Causes Illegal Pattern Error When Combined With POSIX Bracket Expressions And Case Insensitivity Flag
- This appears to be an issue if the default encoding is UTF-8:
```
$ ruby -ve 'pat = /(?<!a st)\p{Space}/i'
ruby ... -
01:09 PM Bug #16158: "st" Character Sequence In Regex Look-Behind Causes Illegal Pattern Error When Combined With POSIX Bracket Expressions And Case Insensitivity Flag
- I can reproduce the bug in all versions of ruby.
```
$ 2.5 ruby -ve 'pat = /(?<!a st)\p{Space}/i'
ruby 2.5.6p167... -
03:03 PM Misc #16152: DevelopersMeeting20190919Japan
- - [Feature #16131] Remove $SAFE, taint and trust
- What do you think about the proposed schedule?
- I am askin... -
02:48 PM Feature #14737: Split default gems into separate directory structure
- I opened PR [1] implementing this.
[1]: https://github.com/rubygems/rubygems/pull/2909 -
02:10 PM Feature #16146: Array .difference allow custom comparison
- What you're asking for is a O(n²) operation. I'm not sure it's a good idea to make that so easy and transparent as a ...
-
09:03 AM Feature #16163 (Closed): Reduce the output of `RubyVM::InstructionSequence#to_binary`
- ## Abstract
The output of `RubyVM::InstructionSequence#to_binary` is extremely large.
We have reduced the output ... -
06:25 AM Feature #10238: todo: remove dependency on malloc_usable_size
- Bump. I would like to revisit this. Do we need this many call to malloc_usable_size()?
-
12:03 AM Bug #9242: Rdoc detection of aliases
- This is still an issue in the master branch. I've added a pull request for rdoc that will treat `rb_define_method` t...
Also available in: Atom