Project

General

Profile

Activity

From 05/22/2019 to 05/28/2019

05/28/2019

11:56 PM Revision 797d7efd (git): Prevent MJIT compilation from running while moving
pointers.
Instead of 4fe908c1643c3f355edd787bb651aefb53b996c0, just locking the MJIT
worker may be fine for this case. And also we might have the same issue
in all `gc_compact_after_gc` calls.
k0kubun (Takashi Kokubun)
11:22 PM Revision 6b5e7123 (git): Make tool/vcs.rb compliant to BASERUBY
People seem to consider BASERUBY is either 1.8 or 1.9 now. Since this
file may be executed by BASERUBY from file2lastrev.rb, I think we should
not rely on Ruby 2.0 in this file for now.
k0kubun (Takashi Kokubun)
11:19 PM Revision e1f62d7f (git): Check the result of file2lastrev.rb if HAVE_BASERUBY
is yes.
We ignored the failure status of file2lastrev.rb on 73da429c36c, but it
was for an environment without BASERUBY. I think we should skip running
file2lastrev.rb on HAVE_BASERUBY=no, and run it and check the status on
HAVE_BASERUB...
k0kubun (Takashi Kokubun)
11:08 PM Revision f0d1dc5c (git): Skip a reline test hanging on Wercker since 3b7862c8e8
like https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cedad11105780001c4e7001?step=5cedaf6b48fad200076fe77b k0kubun (Takashi Kokubun)
11:04 PM Revision 67f75d5b (git): Add TESTOPTS=-v for Wercker test-all --jit-wait
because it's hard to identify which test causes a hang for now. k0kubun (Takashi Kokubun)
09:57 PM Revision 8d837431 (git): Use IO.copy_stream
aycabta (aycabta .)
09:57 PM Revision a4a682c4 (git): Check RUBY_YES_I_AM_NOT_A_NORMAL_USER env to access RubyVM doc
aycabta (aycabta .)
09:57 PM Revision d341bb28 (git): IRB never show RubyVM's doc
aycabta (aycabta .)
09:54 PM Revision d390af36 (git): Encode completed strings corecctly
aycabta (aycabta .)
09:45 PM Revision 3e54ff67 (git): Test BASERUBY: Ruby 1.9.3 on Travis
We have no clear assertion or check of BASERUBY requirement.
I want to make the current situation more explicit.
I'm NOT saying we should support Ruby 1.9.3 here,
but I'm just checking the situation as per 05bc14d81a1d7f6af826a92371aeff...
k0kubun (Takashi Kokubun)
09:15 PM Revision 91f5a8db (git): Update to ruby/spec@0c5c5c1
Eregon (Benoit Daloze)
08:58 PM Revision c67934b1 (git): Remove extra items because Reline::HISTORY is a sized queue
aycabta (aycabta .)
08:53 PM Revision 3b7862c8 (git): Use existing instances for LineEditor and Config
aycabta (aycabta .)
08:41 PM Revision a66bc2c0 (git): Update to ruby/spec@9a501a8
Eregon (Benoit Daloze)
08:27 PM Revision d070523e (git): Drop unused Travis config: universal-darwin17
This has been unused since b7f5c573ef20dbbf5534ee3a45625c7f9d45f2ec. k0kubun (Takashi Kokubun)
08:10 PM Revision 462a63c3 (git): Drop MJIT debug code from GC.compact
As ko1 added some improvements on GC.compact, I want to check if it
solved the problem too.
k0kubun (Takashi Kokubun)
03:37 PM Bug #15884: Time module fails to identify timezone correctly
I think this shows the logic behind what is occurring here.
On my system
Time.new(2002, 12, 1).zone
=> PST
(Time.new(2002, 12, 1) + 60 * 60 * 24 * 180).zone # Add 180 days
=> PDT
Time.new(2002, 12, 1).utc.zone
=> UTC
(Time...
wishdev (John Higgins)
03:05 PM Bug #15884 (Rejected): Time module fails to identify timezone correctly
I think the following snippet is the best summary of the problem I could write:
```
irb(main):001:0> Time.new(2012, 12, 1).utc?
=> false
irb(main):002:0> Time.new(2012, 12, 1).zone == 'UTC'
=> true
```
Anonymous
03:07 PM Revision abd55695 (git): * 2019-05-29
git[bot]
03:00 PM Revision c730c253 (git): parse.y: warn escaped whitespace
* parse.y (warn_space_char_code): warn whitespace characters
escaped with meta/control prefix.
nobu (Nobuyoshi Nakada)
02:46 PM Revision fb568fe7 (git): Added missing predicate macros
nobu (Nobuyoshi Nakada)
01:45 PM Feature #15799: pipeline operator
phluid61 (Matthew Kerwin) wrote:
> `a|:b` means `a | :b` and `a=:b` means `a = :b`
Yes I implied that a space is necessary for |: or =: to be distinguishable. It's better to have that requirement than have the three-character operat...
konsolebox (K B)
11:41 AM Feature #15799: pipeline operator
```ruby
1.. |> take 10 |> map {|x| x*2} |> (x)
```
I believe that the ONLY sane reason for the new operator is ending the long chain with "...and now, put it into variable". The rest is total mistery, however you look at it, e.g. wh...
zverok (Victor Shepelev)
09:33 AM Feature #15799: pipeline operator
`a|:b` means `a | :b` and `a=:b` means `a = :b` phluid61 (Matthew Kerwin)
07:37 AM Feature #15799: pipeline operator
konsolebox (K B) wrote:
> nobu (Nobuyoshi Nakada) wrote:
> ...
Or `=:` which is the reverse of Pascal's assignment operator. Personally I would want it to have it as an alias to `|:` than replace `|:` because `=:` would look good if i...
konsolebox (K B)
04:54 AM Feature #15799: pipeline operator
nobu (Nobuyoshi Nakada) wrote:
> duerst (Martin Dürst) wrote:
> ...
`|>=` looks heavy. Please consider `|:` instead.
konsolebox (K B)
11:26 AM Feature #10344: [PATCH] Implement Fiber#raise
Shortly after I started to work on a library implementing algebraic effects (https://github.com/dry-rb/dry-effects) I stumbled upon lack of `Fiber#raise`. From the user POV it is important to signal improper use of effects with a meaning... decuplet (Nikita Shilnikov)
09:54 AM Misc #15874: DevelopersMeeting20190613Japan
* [Feature #15777] `Module#autoload?(cname, inherit=true)`
* By default `autoload?` also check in the ancestors chain, such option would be consistent with `Module#const_defined?` and totally backward compatible.
* For more context...
byroot (Jean Boussier)
06:59 AM Bug #15880: Wrong precedence of the if modifier in pattern matching
It's clear that the order of evaluation has to be the way it is currently. But in this case, `if` just sounds wrong, not only because of examples such as `puts 1 if condition`, but also because of general English.
So I think changing ...
duerst (Martin Dürst)
06:57 AM Revision 8a2b497e (git): remove obsolete rb_gc_finalize_deferred().
rb_gc_finalize_deferred() is remained for compatibility with
C-extensions. However, this function is no longer working
from Ruby 2.4 (crash with SEGV immediately).
So remove it completely.
ko1 (Koichi Sasada)
05:38 AM Revision 2562b7d7 (git): Unify RELINE_TEST_ENCODING setting
nobu (Nobuyoshi Nakada)
05:38 AM Revision d5f40840 (git): Set read-only with attrib command
nobu (Nobuyoshi Nakada)
05:36 AM Revision 62b3d4c7 (git): Skip following all digits after `@@`
nobu (Nobuyoshi Nakada)
05:28 AM Feature #15879: Proposal: Time#to_i accepts :unit keyword
> In contrast to this, your proposal with Time#to_i seems to return rounded results even though the method name is to_i. I think this is confusing. Is this your intention?
It is not important whether the result is rounded or truncated...
joker1007 (Tomohiro Hashidate)
05:20 AM Revision 40e175b3 (git): Clean a garbage [ci skip]
nobu (Nobuyoshi Nakada)
03:55 AM Revision 05bc14d8 (git): Fix building with 1.8 BASERUBY
jeremyevans (Jeremy Evans)
02:44 AM Revision f3bddc10 (git): use malloc() instead of calloc().
Here malloc() is enough because all elements of the page_list
will be overwrite.
ko1 (Koichi Sasada)
02:44 AM Revision f9401d5d (git): should skip T_ZOMBIE here.
ko1 (Koichi Sasada)
02:44 AM Revision 2229acaa (git): should use heap_eden->total_pages.
The size of page_list is heap_eden->total_pages, but
init_cursors() assumes the size of page_list is `heap_allocated_pages`.
This patch fix it.
ko1 (Koichi Sasada)
02:38 AM Revision 72333286 (git): Fix typos in Ripper::Lexer#inspect and Ripper::Lexer#pretty_print
nobu (Nobuyoshi Nakada)
02:03 AM Revision ccfb12d7 (git): Fix condition..."and" is lowest priority operator, than "="
aycabta (aycabta .)
01:31 AM Revision 7f211bfe (git): use only eden_heaps on GC.compact.
`heap_pages_sorted` includes eden and tomb pages, so we should not
use tomb pages for GC.compact (or we should move all of tomb pages
into eden pages). Now, I choose only eden pages. If we allow to
move Zombie objects (objects waiting fo...
ko1 (Koichi Sasada)
01:31 AM Revision cfd839c1 (git): Suppress warning (uninitialized variable).
ko1 (Koichi Sasada)
01:24 AM Revision fa7a768f (git): Removed inconsistency file from upstream repository of rubygems.
followed up ae2a904ce9bffedee7d110dc60fd51c0a2879a5b hsbt (Hiroshi SHIBATA)
01:07 AM Revision 165ddfda (git): * remove trailing spaces.
git[bot]
01:07 AM Revision ae2a904c (git): Update the certificate files to make the test pass on Debian 10
The old certificate files (for example, test/rubygems/ca_cert.pem) were
signed by SHA1. This message digest is considered too weak and rejected
by OpenSSL 1.1.1 or later. Because of this, the test suite does not
pass on Debian 10.
htt...
mame (Yusuke Endoh)
01:02 AM Revision cf904d9f (git): Avoid doubly building Travis and AppVeyor
but on "master" branch.
For Pull Request, I changed the approach from
d9b338a53f520b2dbb05555f18b8de8072300f40 and
277e68825a8e4d0e6503a32e41f8b1b6c078b567.
k0kubun (Takashi Kokubun)
12:57 AM Feature #15883 (Closed): Include inspect value of object in FrozenError messages
`FrozenError#receiver` was added recently for getting the related object programmatically. However, there are cases where FrozenError is raised and not handled, and in those cases the resulting error messages lack detail, which makes de... jeremyevans0 (Jeremy Evans)
12:06 AM Feature #14683 (Closed): IRB with Ripper
aycabta (aycabta .)
12:06 AM Feature #14787 (Closed): Show documents when completion
aycabta (aycabta .)
12:00 AM Revision 1cdaa17a (git): parse.y: numbered parameter symbol
* parse.y (parse_atmark): numbered parameter name is not allowed
as a symbol regardless the context.
nobu (Nobuyoshi Nakada)

05/27/2019

11:38 PM Revision 57b4df07 (git): Use Reline.completer_quote_characters to complete
aycabta (aycabta .)
09:01 PM Bug #15877: Incorrect constant lookup result in method on cloned class
I tested this on 2.5, 2.4 and the behavior is the same there. Also this applies to subclasses as well. The first class READ determines the values for all of them.
``` ruby
class Unrelated
TEST='UNRELATED'
def test
T...
sag (Stephen Gregory)
08:10 PM Revision 74c88e7c (git): Fix reversed row and column get_screen_size on Windows
aycabta (aycabta .)
07:39 PM Revision f6b62d8f (git): Use Shift+Enter as Meta+Enter on Windows
aycabta (aycabta .)
07:25 PM Revision 8b135cc8 (git): Use VK_MENU instead of VK_LMENU to check ALT on Windows
aycabta (aycabta .)
06:25 PM Revision d5682eb9 (git): Remove unused variable from IRB::InputCompletor
aycabta (aycabta .)
06:23 PM Revision 5e275dd2 (git): Treat :@1, :@@1, @1, and @@1 correctly to check termination
aycabta (aycabta .)
05:13 PM Bug #15882 (Closed): OpenSSL::X509::Name.parse usage
in ruby 2.5 and 2.6 the OpenSSL::X509::Name.parse_ssl method requires strings to start with forward slashes to use it as a delimiter zr2d2 (Zach Rowe)
04:52 PM Revision 7447c7b6 (git): Join next line if deletes newline at end of line
aycabta (aycabta .)
04:51 PM Revision 69c7ad17 (git): Exit only when blank input
aycabta (aycabta .)
04:37 PM Bug #15880 (Rejected): Wrong precedence of the if modifier in pattern matching
This is necessary so the `if` can depend on the variables of the matching, e.g. `in [Integer => x] if x.odd?`
marcandre (Marc-Andre Lafortune)
01:51 PM Bug #15880 (Rejected): Wrong precedence of the if modifier in pattern matching
When "If" is used as an "If modifier" it runs before the expression that it wraps:
``` ruby
=> puts 1 if (puts 2; true)
2
1
```
However, when it's used in the pattern matching destructuring runs first:
``` ruby
class A
def d...
ibylich (Ilya Bylich)
04:32 PM Revision b2b5ed14 (git): Supress duplicated warning
ktsj (Kazuki Tsujimoto)
04:19 PM Feature #15881 (Assigned): Optimize deconstruct in pattern matching
```ruby
class A
def deconstruct
puts 'deconstruct called'
[1]
end
end
case A.new
in [2]
2
in [1]
1
else
end
```
Currently this outputs:
```
deconstruct called
deconstruct called
=> 1
```
Shouldn...
marcandre (Marc-Andre Lafortune)
03:48 PM Revision 9a68aba7 (git): Support OSC and treat \1 \2 correctly
aycabta (aycabta .)
03:21 PM Revision 70166b3c (git): Revert "Support OSC and treat \1 \2 correctly"
This reverts commit 77bfebebc44c5e46ebd156d074081846c037f882. aycabta (aycabta .)
03:20 PM Revision 11778fd2 (git): * 2019-05-28
git[bot]
03:17 PM Revision 77bfebeb (git): Support OSC and treat \1 \2 correctly
aycabta (aycabta .)
02:08 PM Revision 8a2a5822 (git): Colorize error part
nobu (Nobuyoshi Nakada)
02:08 PM Revision b4365e75 (git): Do not make an incomplete escape a valid char
nobu (Nobuyoshi Nakada)
02:08 PM Revision c40003da (git): Ripper#token
* parse.y (ripper_token): added Ripper#token which returns the
current token string. [EXPERIMENTAL]
nobu (Nobuyoshi Nakada)
10:50 AM Feature #15879: Proposal: Time#to_i accepts :unit keyword
I agree with sawa's comment - this is a bit surprising, at the least to me as well. It would
be better to re-use the same idioms, so that ruby users are not surprised by behaviour, if
it can be avoided.
But I think this is only one ...
shevegen (Robert A. Heiler)
10:25 AM Feature #15879: Proposal: Time#to_i accepts :unit keyword
You can also use `Time#to_r`:
```ruby
{
event_id: id,
name: name,
tracked_at: (tracked_at.to_r * 1_000).to_i,
tracked_at_micro: (tracked_at.to_r * 1_000_000).to_i
}
```
At least it's always the same multiply-and-trun...
phluid61 (Matthew Kerwin)
10:17 AM Feature #15879: Proposal: Time#to_i accepts :unit keyword
With `Float#to_i`, the decimal part is truncated, not rounded:
```ruby
123.7.to_i # => 123
123.7.round # => 124
```
In contrast to this, your proposal with `Time#to_i` seems to return rounded results even though the method name ...
sawa (Tsuyoshi Sawada)
10:10 AM Feature #15879: Proposal: Time#to_i accepts :unit keyword
By analogy from `Time#round`, which takes as an argument an integer representing the precision in decimal places, and from `String#to_i`, which takes an integer, I think that passing an integer representing the number of decimal places w... sawa (Tsuyoshi Sawada)
09:22 AM Feature #15879 (Open): Proposal: Time#to_i accepts :unit keyword
I often need Unix time as microseconds or nanoseconds to serialize for other language environments.
For example, Java uses milliseconds(nanoseconds) basically.
In such a situation, current Ruby code is like below.
``` ruby
{
e...
joker1007 (Tomohiro Hashidate)
09:53 AM Misc #15874: DevelopersMeeting20190613Japan
* [Bug #15733] Inconsistent `__FILE__` and `Kernel#__dir__` tagomoris (Satoshi Tagomori)
01:00 AM Misc #15874: DevelopersMeeting20190613Japan
* [Feature #15725] Add `Array#reverse_sort`, `#revert_sort!`, `#reverse_sort_by`, and `#reverse_sort_by!`
I would like to propose these methods as the preferred way for developers to create reverse sorted array, which is to call `sort...
sikachu (Prem Sichanugrist)
07:19 AM Revision b3602f1d (git): check the object is in tomb_heap.
ko1 (Koichi Sasada)
07:12 AM Revision 35146c43 (git): add a space between type and others
ko1 (Koichi Sasada)
07:09 AM Revision b3a6469e (git): add a line break for each error message
ko1 (Koichi Sasada)
05:53 AM Revision 6c1a0755 (git): fix GC.verify_internal_consistency.
Fix debug output to dump more useful information on GC.compact
debugging.
check_rvalue_consistency_force() now accepts `terminate` flag
to terminate a program with rb_bug() or only print error message.
GC.verify_internal_consistency use...
ko1 (Koichi Sasada)
05:53 AM Revision 61da57c7 (git): is_pointer_to_heap() checks also tomb or not.
is_pointer_to_heap(obj) checks this obj belong to a heap page.
However, this function returns TRUE even if the page is tomb page.
This is re-commit of [712c027524].
heap_page_add_freeobj() should not use is_pointer_to_heap(), but
should...
ko1 (Koichi Sasada)
04:58 AM Revision ea6e284d (git): parse.y: removed "parser_" prefix from tokadd_utf8
nobu (Nobuyoshi Nakada)
04:58 AM Revision af17e111 (git): Added #inspect and #pretty_inspect to Ripper::Lexer::Elem
nobu (Nobuyoshi Nakada)
03:58 AM Revision 43730256 (git): open-uri: Regenerate server certificates for tests
OpenSSL 1.1.1 requires 2048 bits or more. This change will fix:
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian/ruby-master/log/20190527T003004Z.fail.html.gz#test%2Fopen-uri
mame (Yusuke Endoh)
03:27 AM Bug #15875 (Closed): const_defined? behavior inconsistency in 2.6.x series
nagachika (Tomoyuki Chikanaga)
02:47 AM Revision 4c277364 (git): CSI allows empty digit which equals 0
nobu (Nobuyoshi Nakada)
02:19 AM Feature #15878: Make exit faster by not running GC
chrisseaton (Chris Seaton) wrote:
> Is Ruby's GC conservative? So even if a GC is performed at exit are IO buffers guaranteed to be flushed?
Yes and yes. There is a special handling code for process termination, somewhere around htt...
shyouhei (Shyouhei Urabe)
01:55 AM Feature #15878: Make exit faster by not running GC
Is Ruby's GC conservative? So even if a GC is performed at exit are IO buffers guaranteed to be flushed? chrisseaton (Chris Seaton)
01:49 AM Feature #15878: Make exit faster by not running GC
IMHO it is challenging to make a GC-less exit fundamentally safer than exit!
GC does some important tidy-up tasks for you, like ensuring contents in IO buffers flushed.
shyouhei (Shyouhei Urabe)
02:05 AM Revision 0aa9b003 (git): context.rb: hide wrapping lines
* lib/irb/context.rb (IRB::Context#evaluate): separate the code
from wrapping lines to propagate the given exception, not to show
the wrapping lines when SyntaxError.
nobu (Nobuyoshi Nakada)
01:18 AM Revision 9840f52c (git): Use IRB::InputMethod#eof? to quit
aycabta (aycabta .)
01:09 AM Revision 1d301acb (git): Fix rendering bug of ^D
aycabta (aycabta .)
12:53 AM Feature #15725: Proposal: Add Array#reverse_sort, #revert_sort!, #reverse_sort_by, and #reverse_sort_by!
Thank you for your initial feedback. I would like to quote one thing:
> I myself usually use `.sort` and `.sort_by`, and then apply `.reverse` afterwards.
That's definitely the reason why I submit this proposal, because `array.sort...
sikachu (Prem Sichanugrist)

05/26/2019

11:39 PM Revision 9c136f3d (git): Move to next of last line by ^D
aycabta (aycabta .)
11:13 PM Revision 4e2c7783 (git): Check blank history
aycabta (aycabta .)
10:35 PM Revision 2805c55a (git): Move to next of last line by ^C
aycabta (aycabta .)
10:00 PM Revision c49796c9 (git): Reline should move to next line after finished in Readline mode
aycabta (aycabta .)
09:32 PM Revision 29c16b30 (git): Add support for history with Reline backend
Sutou Kouhei
09:04 PM Revision 2c91c5b3 (git): Move to the other line when press <- at head or -> at tail
aycabta (aycabta .)
08:45 PM Revision 716ba4a1 (git): Implement J to join lines in vi command mode
aycabta (aycabta .)
08:01 PM Revision 64dc2183 (git): Remove \1 and \2 that escape CSI before render
aycabta (aycabta .)
07:20 PM Revision c6b7cad5 (git): .azure-pipelines.yml: Add timeout to install dependencies
to avoid cancelling overall build pipeline when stucking there. k0kubun (Takashi Kokubun)
07:13 PM Feature #15878 (Assigned): Make exit faster by not running GC
I noticed that exit takes 0.2 ... I'm trying to write a fast cli, so any improvement here would be great or an option to opt-out of certain cleanup tasks
exit! takes a constant low time
```
ruby -rbenchmark -e 'puts Benchmark.realti...
grosser (Michael Grosser)
06:32 PM Revision 64ee8900 (git): Highlight global variable on IRB
k0kubun (Takashi Kokubun)
06:26 PM Revision 7597f7ec (git): Simplify lexer state matching in #dispatch_seq
for improving readability of the condition. It may be slightly faster, or may not. k0kubun (Takashi Kokubun)
06:10 PM Feature #15751 (Closed): Add FrozenError#receiver
Applied in changeset commit:git|39eadca76b48fc7841da688f6745e40897ec37ff.
----------
Add FrozenError#receiver
Similar to NameError#receiver, this returns the object on which
the modification was attempted. This is useful as it can pin...
jeremyevans (Jeremy Evans)
06:10 PM Revision 5a6c77bb (git): * expand tabs.
git[bot]
06:09 PM Revision 39eadca7 (git): Add FrozenError#receiver
Similar to NameError#receiver, this returns the object on which
the modification was attempted. This is useful as it can pinpoint
exactly what is frozen. In many cases when a FrozenError is
raised, you cannot determine from the context...
jeremyevans (Jeremy Evans)
06:03 PM Revision 89790128 (git): Refactor IRB color dispatch
The reason why we were checking lexer state in addition to token was
that we do not want to colorize local variable, method call, etc., while
they share the :on_ident token with a name of method definition which
should be colored as blue...
k0kubun (Takashi Kokubun)
05:59 PM Revision e73a68eb (git): Support op, cvar, iver, gvar and kw that follow on symbeg in IRB
aycabta (aycabta .)
05:56 PM Revision 12267913 (git): Support :@@cvar and : on colorize
aycabta (aycabta .)
05:23 PM Revision e50aa359 (git): Make the imaginary color on IRB close to pry
and sorted the token names alphabetically. k0kubun (Takashi Kokubun)
05:13 PM Revision 60cc03ff (git): Fix indexes in comments of vi_insert.rb
Previous fix was 2993b361333147f6dfb86a153971c22329ffbaf4. aycabta (aycabta .)
04:59 PM Revision 0f35c79a (git): Fix number literal regexp of IRB completion
aycabta (aycabta .)
04:24 PM Revision e39c950c (git): Use correctly RI output in IRB completion
aycabta (aycabta .)
03:45 PM Revision 2a7821b2 (git): * 2019-05-27
git[bot]
03:40 PM Revision a43c6376 (git): parse.y: broke the terminator condition down
* parse.y (here_document): broke the terminator condition down
into each piece, the positional condition, resetting the
dedented here-document indentation, and matching identifier.
suppress a false warning by icc.
nobu (Nobuyoshi Nakada)
02:46 PM Revision 4f2a7b80 (git): Colorize imaginary and rational literals
nobu (Nobuyoshi Nakada)
01:31 PM Bug #15877: Incorrect constant lookup result in method on cloned class
Running with `RubyVM::InstructionSequence.compile_option = {inline_const_cache: false}` produces the correct result. danielwaterworth (Daniel Waterworth)
09:59 AM Bug #15877 (Closed): Incorrect constant lookup result in method on cloned class
This behavior seems wrong to me:
``` ruby
class Foo
def test
TEST
end
end
Bar1 = Foo.clone
Bar2 = Foo.clone
class Bar1
TEST = 'bar-1'
end
class Bar2
TEST = 'bar-2'
end
# If these two lines are reorder...
danielwaterworth (Daniel Waterworth)
01:29 PM Revision 23270f6f (git): azure-pipelines.yml: Do not notify vs2017 failure
It has not been stable recently. Let's stop notifying them for now. k0kubun (Takashi Kokubun)
09:47 AM Revision 2ce6365f (git): parse.y: adjust error indicator
* parse.y (parser_yylex): adjust the error indicator of unexpected
fraction part.
before:
~~~
1.2.3
^~~
~~~
after:
~~~
1.2.3
^~
~~~
nobu (Nobuyoshi Nakada)
09:24 AM Revision 58308899 (git): test/ruby/test_notimp.rb: Use EnvUtil.timeout for timeout scale factor
nobu (Nobuyoshi Nakada)
08:25 AM Revision 2df2cdcf (git): test/ruby/test_process.rb: Use EnvUtil.timeout for timeout scale factor
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190526T052508Z.fail.html.gz mame (Yusuke Endoh)
08:23 AM Revision 4668a3a9 (git): test/lib/envutil.rb (EnvUtil.timeout): added.
It is a wrapper for Timeout.timeout with the scale factor applied. mame (Yusuke Endoh)
07:24 AM Revision 02b39dae (git): Fix scanner event at invalid syntax
* parse.y (parser_yyerror, parser_compile_error): revert
r67224 (e5d10cda07b23682e5e4e64d1324e4d3247d4785) "Flush erred
token".
nobu (Nobuyoshi Nakada)
06:23 AM Revision f20af954 (git): test/rubygems/test_gem_stream_ui.rb (test_ask): extend the timeout
for Solaris.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190525T211908Z.fail.html.gz
mame (Yusuke Endoh)
05:32 AM Revision aaf6c678 (git): Handle keyword symbol in IRB::Color::SymbolState
k0kubun (Takashi Kokubun)
05:29 AM Revision 52b09fce (git): Deal with more syntax highlight edge cases
Please refer to the tests again. k0kubun (Takashi Kokubun)
05:07 AM Revision 8aba3b7a (git): Fix more unintended syntax highlights
See tests for what kind of things are fixed. k0kubun (Takashi Kokubun)
03:58 AM Feature #15797: Use realpath(3) instead of custom realpath implementation if available
I have added a pull request for this feature (https://github.com/ruby/ruby/pull/2205), and made the necessary changes so it passes Travis and AppVeyor. This changes related to fixing encoding issues and working around issues in glibc re... jeremyevans0 (Jeremy Evans)
03:47 AM Revision 13f58ecc (git): Always color Symbol as Yellow on IRB::Color
Symbol color was made blue as a workaround because it was hard to
distinguish `foo`s in `:foo` and `def foo; end` (both are :on_ident).
But I wanted to make it yellow like pry.
`:Struct` had the same problem in :on_const. Because the :o...
k0kubun (Takashi Kokubun)
03:08 AM Bug #15876: 1.to_s.encoding != Encoding.default_internal
@grosser said
> I ran into strange looking test output when I compared .to_s with an expected text, saying that the encoding was different
I thought that some string-comparison assertions (maybe attributed to an external testing fr...
mame (Yusuke Endoh)
02:30 AM Bug #15876: 1.to_s.encoding != Encoding.default_internal
@mame:
What @grosser is saying is that
```
p s1.encoding == s2.encoding #=> false
```
but he expects the result to be true. But you are right that what counts is the equality of the strings, not the encodings.
duerst (Martin Dürst)
12:34 AM Bug #15876: 1.to_s.encoding != Encoding.default_internal
@grosser, could you elaborate your problem? I cannot reproduce the warning. What warning did you see? And how?
```
s1 = 1.to_s
p s1.encoding #=> #<Encoding:US-ASCII>
s2 = "1"
p s2.encoding #=> #<Encoding:UTF-8>
p s1 == s2 ...
mame (Yusuke Endoh)
12:48 AM Revision a516834b (git): test/ruby/test_rubyoptions.rb (test_script_from_stdin): scale timeout
for Solaris.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable10s/ruby-master/log/20190525T131909Z.fail.html.gz
mame (Yusuke Endoh)

05/25/2019

10:45 PM Bug #11363: Fix tests for String#crypt so they pass on OpenBSD
CI looks clean with https://github.com/ruby/ruby/pull/2200, so I'll be committing it in about a week if there are no objections. jeremyevans0 (Jeremy Evans)
10:25 PM Bug #15876: 1.to_s.encoding != Encoding.default_internal
> which is confusing/annoying especially to users that don't know
> ...
I personally finally switched into UTF-8 (oddly enough, primarily due to emoji and
unicode-symbols that can be used for simple indications both on the commandline ...
shevegen (Robert A. Heiler)
05:40 PM Bug #15876 (Closed): 1.to_s.encoding != Encoding.default_internal
I ran into strange looking test output when I compared .to_s with an expected text, saying that the encoding was different, which is confusing/annoying especially to users that don't know how encodings work in ruby.
1.to_s.encoding shou...
grosser (Michael Grosser)
09:15 PM Revision 208ed56e (git): Colorize empty embexpr more on IRB::Color
k0kubun (Takashi Kokubun)
05:32 PM Bug #15872: CSV.parse omits close call when block is given – intended or bug?
FWIW, I believe this is a bug.
> When a block is given and the argument is an IO-like object, it may not reach its end after exiting the each method
You mean if the block interrupts the processing with `break`, `return` or `raise`...
marcandre (Marc-Andre Lafortune)
04:32 PM Revision ec759011 (git): Fix completion menu state calculation
aycabta (aycabta .)
03:48 PM Revision 2993b361 (git): Fix indexes in comments
nobu (Nobuyoshi Nakada)
03:19 PM Revision 98be2037 (git): Support some unhandled syntax highlight
Heredoc, %i, :Foo, { 'a': ... }, ...
:'a' is still half-broken.
k0kubun (Takashi Kokubun)
03:00 PM Revision a4d44b08 (git): * 2019-05-26
git[bot]
03:00 PM Revision d9c41f2d (git): Use Reline.completer_word_break_characters to complete
aycabta (aycabta .)
02:49 PM Revision ada64aa9 (git): Clear IRB::Color escape sequence before newline
because otherwise prompt and other things could be polluted. k0kubun (Takashi Kokubun)
02:26 PM Revision 7c507345 (git): Build trunk branch too to trigger AppVeyor on PR
k0kubun (Takashi Kokubun)
02:24 PM Revision be851692 (git): Build trunk branch too to trigger Travis on PR
k0kubun (Takashi Kokubun)
02:10 PM Revision e2db9f4c (git): Add and use Reline::Unicode.escape_for_print
k0kubun (Takashi Kokubun)
01:31 PM Revision e691b4da (git): Respect --nocolorize on REPL source highlight
k0kubun (Takashi Kokubun)
12:48 PM Feature #15868: Implement `File.absolute_path?`
I added a couple more specs to check that in https://github.com/ruby/ruby/pull/2198/commits/d59a5c93dd4b20aa0898a24fab78a68a2cc84925, but I'm not sure where I can check whether they pass on Windows or not. deivid (David Rodríguez)
08:20 AM Revision 65ce14e7 (git): Added --with-rdoc option
New option to direct formats of RDoc to install. nobu (Nobuyoshi Nakada)
08:16 AM Revision 4fae3c3f (git): Show doc list to install
Show document format list to install, not only enabled or disable. nobu (Nobuyoshi Nakada)
08:16 AM Revision 8fd3b9fc (git): Force update all RDoc at install
RDoc needs to parse all files at once for the cross-reference. nobu (Nobuyoshi Nakada)
07:38 AM Revision 061c781a (git): Drop method obsoleted by b83119be9e9a8611063142541993e4823a025622
We might need to do the same thing in IRB::Color now, but I'm not doing
that as I assume ANSI escape sequence does not come from a user input
though Reline.
k0kubun (Takashi Kokubun)
06:54 AM Revision b83119be (git): Incremental syntax highlight for IRB source lines
Closes: https://github.com/ruby/ruby/pull/2202 k0kubun (Takashi Kokubun)
03:40 AM Bug #15875: const_defined? behavior inconsistency in 2.6.x series
Bisected to commit:bf8cc37b467e1d372e1b01b4d25e9ef6f8cc927f.
Backporting commit:d10451f3fd51f577e704db770de48d05044eb45c to 2.6 fixes this bug.
jeremyevans0 (Jeremy Evans)
02:28 AM Revision 3c6e1a8c (git): Avoid to show warning message with unused variable.
hsbt (Hiroshi SHIBATA)
01:42 AM Revision 7686e33e (git): JSON like label ends by differs from the start
pp Ripper.lex('{ "a": 3 }')
=>
[[[1, 0], :on_lbrace, "{", EXPR_BEG|EXPR_LABEL],
[[1, 1], :on_sp, " ", EXPR_BEG|EXPR_LABEL],
[[1, 2], :on_tstring_beg, "\"", EXPR_BEG|EXPR_LABEL],
[[1, 3], :on_tstring_content, "a", EXPR_BEG|EXPR_LABEL]...
aycabta (aycabta .)
01:28 AM Feature #15799: pipeline operator
I think a pipeline operator can be helpful in a functional language, based on my experience with `$` in Haskell. However, I don't think it is a good idea to implement a replacement for the `.` operator just to avoid parentheses. If it... jeremyevans0 (Jeremy Evans)
01:13 AM Bug #13846 (Closed): Openbsd possible memory leak when using Thread
I did some testing of this recently. With ruby 2.6, the memory use is constant. With ruby 2.5, there is slight memory growth. However, considering the extensive thread changes between ruby 2.5 and ruby 2.6, it is unlikely the particul... jeremyevans0 (Jeremy Evans)
01:06 AM Bug #9606: Ocassional SIGSEGV inTestException#test_machine_stackoverflow on OpenBSD
I haven't seen `TestException#test_machine_stackoverflow` SIGSEGV in a long time on OpenBSD. I'm guessing the numerous improvements in the last 5 years make this is no longer an issue. Is anyone else seeing `TestException#test_machine_... jeremyevans0 (Jeremy Evans)
12:59 AM Bug #14807 (Closed): 2.6.0-preview2 segfaults on OpenBSD due to missing pthread_condattr_init call
Fixed by commit:832b601e49fd402ec7f30b36a95473131e93ae94. As taca explained, PTHREAD_COND_INITIALIZER should not be used for pthread_condattr_t. jeremyevans0 (Jeremy Evans)
12:51 AM Bug #15798 (Closed): Fix threads not waking up on SIGINT when using UBF_TIMER_PTHREAD
Applied in changeset commit:git|1ef39d8d099f145222b9352423af16a2bab6e05b.
----------
Fix process not waking up on signals on OpenBSD
When using UBF_TIMER_PTHREAD (the UBF handler on OpenBSD), the
timer_pthread_fn function will not sign...
jeremyevans (Jeremy Evans)
12:51 AM Revision 809ac9f2 (git): * expand tabs.
git[bot]
12:50 AM Revision 1ef39d8d (git): Fix process not waking up on signals on OpenBSD
When using UBF_TIMER_PTHREAD (the UBF handler on OpenBSD), the
timer_pthread_fn function will not signal the main thread with
SIGVTALRM in cases where timer_pthread is armed before
consume_communication_pipe is called. This is because
c...
jeremyevans (Jeremy Evans)
12:13 AM Misc #15874: DevelopersMeeting20190613Japan
* [Feature #14111] ArgumentErrorが発生した時メソッドのプロトタイプをメッセージに含む
Include the method prototype in the message when `ArgumentError` occurred
* [Feature #14145] Proposal: Better `Method#inspect`
* [Feature #15799] pipeline operator
nobu (Nobuyoshi Nakada)

05/24/2019

11:24 PM Revision 19430b77 (git): Fix wrong variable name
aycabta (aycabta .)
11:08 PM Revision 82246830 (git): Add round-robin variable
aycabta (aycabta .)
11:02 PM Bug #15875: const_defined? behavior inconsistency in 2.6.x series
### Side Note #1
`const_get()` could get this constant for all released versions, but has been intentionally changed in 2.7. Correct?
```
% ruby -e "module A; end; B = 1; p Object.const_get('A::B')"
[1.9.3...2.6.3]
1
[2.7.0...
matsuda (Akira Matsuda)
10:59 PM Bug #15875 (Closed): const_defined? behavior inconsistency in 2.6.x series
`Module#const_defined?` returns true for unreachable nested fully qualified module name.
Here are the results of `const_defined?` for each ruby version on my machine.
```
% ruby -e "module A; end; B = 1; p Object.const_defined?('A::...
matsuda (Akira Matsuda)
09:45 PM Bug #15872: CSV.parse omits close call when block is given – intended or bug?
`CSV.parse` expects a `String` as the input. So `close` isn't necessary.
If you have a problem case, could you report this with the problem case to https://github.com/ruby/csv/issues ?
kou (Kouhei Sutou)
10:01 AM Bug #15872 (Rejected): CSV.parse omits close call when block is given – intended or bug?
When a block is given and the argument is an IO-like object, it may not reach its end after exiting the `each` method.
nobu (Nobuyoshi Nakada)
09:08 AM Bug #15872 (Rejected): CSV.parse omits close call when block is given – intended or bug?
The current implementation of `CSV.parse` doesn't call `close` when a block is given:
```ruby
def self.parse(*args, &block)
csv = new(*args)
return csv.each(&block) if block_given?
begin
csv.read
ensure
csv.cl...
sos4nt (Stefan Schüßler)
08:39 PM Misc #15874: DevelopersMeeting20190613Japan
- [Bug #15792] GC can leave strings used as hash keys in a corrupted state / bad fstring + shared string interaction can lead to use-after-free
- I have a PR https://github.com/ruby/ruby/pull/2183 for a case of this with `String#b` th...
alanwu (Alan Wu)
03:58 PM Misc #15874 (Closed): DevelopersMeeting20190613Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of ticket comments)
*DO NOT* discuss then on this ticke...
mame (Yusuke Endoh)
06:30 PM Revision 559dca50 (git): Show documents when completion
aycabta (aycabta .)
05:16 PM Revision 260235ce (git): Use Reline as Reidline multiline editor in IRB
aycabta (aycabta .)
05:13 PM Revision ff43b226 (git): Enter key always means evaluate in Reline#readmultiline
aycabta (aycabta .)
04:13 PM Revision 637ee7ee (git): Fix C-v C-j
aycabta (aycabta .)
03:50 PM Misc #15782 (Closed): DevelopersMeeting20190522Japan
mame (Yusuke Endoh)
03:46 PM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
If you're talking about commit:5da52d1210625fb00acd573b3f32281b4bde1730 and commit:a205e24747497391390ef7c004293a8a7934dd96, that's not related to this ticket. Please comment on #14632 or in a new ticket instead. k0kubun (Takashi Kokubun)
02:51 PM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
Maybe the changes to RUBY_DESCRIPTION (ruby -v) and RUBY_REVISION could be noted somewhere... MSP-Greg (Greg L)
01:28 PM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
Sorry for your inconvenience, it was originally written in the ticket but I somehow deleted that in the later edit. I just resurrected the "Expected outcome" section in the original description. k0kubun (Takashi Kokubun)
09:09 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
Please not only give us a schedule, but tell us exactly (in terms of git commands) what this means for people which are not *totally* familiar with git. Please do NOT assume that everybody "just knows". duerst (Martin Dürst)
03:44 PM Revision 27bab6a5 (git): Revert "Change Reline's version with "Reline 0.0.0""
This reverts commit 481ccf73d88797914f700e6e27711bf1ce997eb0. aycabta (aycabta .)
03:40 PM Revision 481ccf73 (git): Change Reline's version with "Reline 0.0.0"
aycabta (aycabta .)
03:39 PM Revision 4b012c23 (git): Check block in #readmultiline
aycabta (aycabta .)
03:25 PM Revision b2150548 (git): * 2019-05-25
git[bot]
02:38 PM Revision eb4e7747 (git): Support Meta key in Reline
aycabta (aycabta .)
01:05 PM Bug #15873 (Closed): FrozenError when using OpenURI.open
Probably you are using `frozen-string-literal` pragma.
Since 2.6, OpenURI clears the buffer from `Net::HTTPResponse#read_body` to reduce memory usage.
See [Feature #14320].
nobu (Nobuyoshi Nakada)
12:58 PM Bug #15873: FrozenError when using OpenURI.open
nobu (Nobuyoshi Nakada) wrote:
> Does it occur even if the body is `"Random information".dup`?
Just tried and no, when using `.dup` it worked as expected!
AlexGascon (Alex Gascon)
12:10 PM Bug #15873: FrozenError when using OpenURI.open
Does it occur even if the body is `"Random information".dup`? nobu (Nobuyoshi Nakada)
09:15 AM Bug #15873 (Closed): FrozenError when using OpenURI.open
I just updated from Ruby 2.5.1 to 2.6.3 and I encountered a strange problem on a part that was working fine previously. It's on a Rails application, and on one of the tests I'm stubbing (using [webmock](https://github.com/bblimke/webmock... AlexGascon (Alex Gascon)
12:48 PM Revision 2d34087a (git): Add notes for the Process#clock_getres spec
Eregon (Benoit Daloze)
12:29 PM Revision 4541d2ef (git): Only exclude the failing clocks for Process.clock_getres specs on AIX
* https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20190522T103301Z.fail.html.gz Eregon (Benoit Daloze)
10:39 AM Feature #15831: Add `Array#extract`, `Hash#extract`, and `ENV.extract`
> I also concern about the name conflict with the ActiveSupport method.
I guess this comment addressed https://bugs.ruby-lang.org/issues/15863 that adds `Hash#slice!`, right?
Active Support doesn't have any `extract` methods, only `e...
bogdanvlviv (Bogdan Denkovych)
10:03 AM Revision 706c816a (git): Escape dots in regexp
znz (Kazuhiro NISHIYAMA)
10:00 AM Revision a4da223c (git): * expand tabs.
git[bot]
09:59 AM Revision 6ae9d5c8 (git): Revert "check it in eden or tomb."
This reverts commit 712c027524e3a03500b3098d950fc2f0608ce897. znz (Kazuhiro NISHIYAMA)
09:22 AM Revision c06f9e1d (git): switch UNICODE_BETA to NO (one more try, first try didn't work)
Unicode version 12.1.0 was officially released on May 7th, 2019.
There were no changes at all from the "real" beta
published shortly after the new era name "Reiwa" was announced.
So we can switch UNICODE_BETA back to NO.
...
duerst (Martin Dürst)
08:52 AM Revision b0a4d81f (git): check RVALUE on verifier.
GC.verify_internal_consistency() checks health of each RVALUE with
check_rvalue_consistency(). However, this function is enabled
only on debug environment (RGENGC_CHECK_MODE>1). So introduce
new function check_rvalue_consistency_force() ...
ko1 (Koichi Sasada)
08:35 AM Revision 712c0275 (git): check it in eden or tomb.
is_pointer_to_heap() checks if it is in valid pointer to the
RVALUE in any heap_page_body. However, it returns true if it
points tomb pages. This patch check it points to eden pages.
ko1 (Koichi Sasada)
08:08 AM Revision 10927b59 (git): add separation char on rb_obj_info(imemo obj)
ko1 (Koichi Sasada)
07:12 AM Revision 28935504 (git): Mixed encoding error can continue to parse
nobu (Nobuyoshi Nakada)
07:10 AM Revision 45ad375a (git): [DOC] Use Rational literals than to_r in examples
nobu (Nobuyoshi Nakada)
06:16 AM Revision 1a4080cb (git): Hoisted out ndigits_denominator
* time.c (ndigits_denominator): calculate the denominator for
digits.
nobu (Nobuyoshi Nakada)
06:15 AM Misc #15859 (Closed): Is Unicode in beta?
Ruby came out of Unicode 12.1 BETA with commit e713c2bde8. So this issue can be closed.
The reason it is more difficult to get out of beta than to enter beta is because the behavior in beta is to always check for new versions of files...
duerst (Martin Dürst)
05:47 AM Misc #15750 (Closed): Switch Unicode Version 12.1.0 back from beta to final
Completed with commit e713c2bde8 duerst (Martin Dürst)
05:32 AM Revision 54d5b599 (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
05:32 AM Revision 25415780 (git): Add leaked-globals to .travis.yml
znz (Kazuhiro NISHIYAMA)
05:25 AM Revision 491d2b80 (git): Removed symlinks by in-place build [Bug #15870]
nobu (Nobuyoshi Nakada)
05:24 AM Revision 14778125 (git): Removed and ignore symlinks by in-place build [Bug #15870]
nobu (Nobuyoshi Nakada)
05:15 AM Bug #15855: bundle exec rake db:migrateでsegmentation fault が発生する
上に貼ったチケットを見る感じでは、mysql2 0.5.2 で修正されたのではないかと思っています。 mame (Yusuke Endoh)
05:03 AM Bug #15855: bundle exec rake db:migrateでsegmentation fault が発生する
https://github.com/brianmario/mysql2/tree/master/ext/mysql2
これを見てUpdate encoding tables from MySQL 8.0.16のコミットが見つかったので、最新状態に更新したのですが、依然同じエラーが吐かれます。
mysql 8.0.16
mysql2 0.4.10です。
rennaka (Ren Nakamura)
05:12 AM Revision e713c2bd (git): switch UNICODE_BETA to NO
Unicode version 12.1.0 was officially released on May 7th, 2019.
There were no changes at all from the "real" beta published shortly
after the new era name "Reiwa" was announced. So we can switch
UNICODE_BETA back to NO.
common.mk: swit...
duerst (Martin Dürst)
05:11 AM Revision 35caedc8 (git): --autostash is since Git 2.6 [Bug #15871]
nobu (Nobuyoshi Nakada)
05:02 AM Bug #11512: DelegateClass.#public_{instance_}methods are returning difference values.
This appears to still be a bug. The patch needed a little manual help to apply, and the tests needed to be updated, but after those changes, all tests passed. Attached is an updated patch. I'll try to commit it next week unless I hear... jeremyevans0 (Jeremy Evans)
03:28 AM Bug #11363: Fix tests for String#crypt so they pass on OpenBSD
I've added a GitHub pull request to fix the `String#crypt` tests on OpenBSD (https://github.com/ruby/ruby/pull/2200). It's less invasive than the previous patch, and should result in the same behavior on !OpenBSD. I plan on merging it ... jeremyevans0 (Jeremy Evans)
03:23 AM Bug #15870 (Closed): Add bin/cygruby270.dll and so on to .gitignore
Applied in changeset commit:git|dfc21a0467d39af00666aec5098530529924cf48.
----------
Ignore generated files by in-place build [Bug #15870]
nobu (Nobuyoshi Nakada)
12:45 AM Bug #15870 (Closed): Add bin/cygruby270.dll and so on to .gitignore
When I try to use git, I often get messages like the following:
```
Untracked files:
(use "git add <file>..." to include in what will be committed)
bin/cygruby270.dll
bin/goruby.exe
bin/ruby.exe
...
duerst (Martin Dürst)
03:23 AM Bug #15871 (Closed): Make sure that "make up" does the right thing for git
Applied in changeset commit:git|7f2f56b2f51269f42f822ecf346375b040267595.
----------
Define GITPULLOPTION to rebase [Bug #15871]
nobu (Nobuyoshi Nakada)
12:50 AM Bug #15871 (Closed): Make sure that "make up" does the right thing for git
With svn, I have been using "make up" to get my local version up to date.
This works with git, except that it seems to just use `git pull` rather than `git pull --rebase`.
There is an environment variable `GITPULLOPTIONS`, which is...
duerst (Martin Dürst)
03:23 AM Revision dfc21a04 (git): Ignore generated files by in-place build [Bug #15870]
nobu (Nobuyoshi Nakada)
03:22 AM Revision 7f2f56b2 (git): Define GITPULLOPTION to rebase [Bug #15871]
nobu (Nobuyoshi Nakada)
03:17 AM Revision 50e993d4 (git): Skip the Process.clock_getres spec on AIX
https://rubyci.org/logs/rubyci.s3.amazonaws.com/aix71_ppc/ruby-trunk/log/20190522T103301Z.fail.html.gz mame (Yusuke Endoh)
02:20 AM Revision 498113d5 (git): test/ruby/test_gc.rb (test_gc_stress_at_startup): extend time timeout
It fails on some CI environments.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian8/ruby-trunk/log/20190524T003006Z.fail.html.gz
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20190523T002505Z.fail.html.gz
mame (Yusuke Endoh)
12:52 AM Feature #15842: Allow DelegateClass() to module_eval given block
As delegate.rb is unmaintained, unless someone objects in the next week, I plan on committing this feature. jeremyevans0 (Jeremy Evans)

05/23/2019

10:51 PM Feature #15868: Implement `File.absolute_path?`
Out of interest, how does it treat relative paths like `C:foo\bar`?
(Funny observation: according to Microsoft, `\foo\bar` is an absolute path in Windows, according to their definition of "absolute path")
phluid61 (Matthew Kerwin)
02:07 PM Feature #15868: Implement `File.absolute_path?`
Thanks @nobu, I updated the patch! Copy-pasta... :| deivid (David Rodríguez)
01:32 PM Feature #15868: Implement `File.absolute_path?`
I have no particular pro/con opinion on the suggestion itself, but I should state that since Pathname was mentioned - I
myself use File.* related methods exclusively. I used to use pathname in the past but I sort of gave up on it eventu...
shevegen (Robert A. Heiler)
01:11 PM Feature #15868: Implement `File.absolute_path?`
> ```diff
> ...
The method name is wrong, and `File.absolute_path?("/foo/bar")` should be false on Windows as it doesn't have the drive letter.
nobu (Nobuyoshi Nakada)
12:25 PM Feature #15868: Implement `File.absolute_path?`
Ouch!
I actually read the `Pathname` docs, which state:
* "However non-Unix pathnames are supported experimentally", in the main section.
* "It returns true if the pathname begins with a slash", in the `#pathname` docs.
And ...
deivid (David Rodríguez)
12:04 PM Feature #15868: Implement `File.absolute_path?`
`Pathname("C:/foo/bar").absolute?` should return `true` on Windows.
I think it does already:
https://github.com/ruby/ruby/blob/fe3ff5afb07e171fd950623c69abfbabbb2762a3/test/pathname/test_pathname.rb#L278-L282
On non-Windows platform...
Eregon (Benoit Daloze)
09:53 AM Feature #15868 (Closed): Implement `File.absolute_path?`
Currently there's no way to check whether a path is absolute or not in a way that works accross OSs. The pathname library has the #absolute? method, but that only checks whether the path starts with a slash, which is not appropriate for ... deivid (David Rodríguez)
10:45 PM Feature #15869: Add abs to Matrix
Interesting. Not sure if this has to do with Markov Chain per se, but for storing state
through automata (in bioinformatics), hidden markov models are also used. Perhaps
extending Matrix may be beneficial in general (for ruby as a lar...
shevegen (Robert A. Heiler)
08:15 PM Feature #15869: Add abs to Matrix
bonafernando (Fernando Wolf Bona) wrote:
> While I was studying Markov Chain I had to find the maximum absolute value of the Matrix to divide the matrix in numbers from 0 to 1 to be able to make further analysis. Like this:
> ...
PR: h...
bonafernando (Fernando Wolf Bona)
07:57 PM Feature #15869 (Closed): Add abs to Matrix
While I was studying Markov Chain I had to find the maximum absolute value of the Matrix to divide the matrix in numbers from 0 to 1 to be able to make further analysis. Like this:
```
q = Matrix[ ... ]
max = q.to_a.flatten.map { |e...
bonafernando (Fernando Wolf Bona)
04:03 PM Revision 1ee1e8fc (git): Test GC.compact with MJIT again
k0kubun (Takashi Kokubun)
03:46 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
IIRC, at the last meeting (20190522), the conclusion was that this method should select non-nil values only, like as `Array#compact`.
Am I correct?
nobu (Nobuyoshi Nakada)
05:51 AM Feature #15323 (Closed): [PATCH] Proposal: Add Enumerable#filter_map
Applied in changeset commit:git|0acbdd1ed0d2302743525a5188cc5a0d6251680c.
----------
Adding Enumerable#filter_map
[Feature #15323]
Closes: https://github.com/ruby/ruby/pull/2017
alfonsojimenez (Alfonso Jiménez)
03:42 PM Revision dde8ceaf (git): * 2019-05-24
git[bot]
03:41 PM Revision 187ef00a (git): wercker.yml: Commit MJIT debug logs to another repository
because too-large Wercker output is truncated.
ruby/mjit-debug is a private repository for now, because the person
fixing it is likely to be me or another committer.
k0kubun (Takashi Kokubun)
02:53 PM Revision 4fe908c1 (git): gc.c: Try pausing MJIT worker during GC.verify_compaction_references
for debugging
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2048247
k0kubun (Takashi Kokubun)
02:35 PM Revision c04ef141 (git): enum.c (enum_tally): better example in rdoc
mame (Yusuke Endoh)
02:24 PM Revision e72769ef (git): Enumerable#filter_map in NEWS
nobu (Nobuyoshi Nakada)
02:05 PM Misc #15843 (Assigned): Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
k0kubun (Takashi Kokubun)
01:47 PM Revision ccb16529 (git): New Time methods in NEWS
nobu (Nobuyoshi Nakada)
01:41 PM Feature #15772 (Closed): Proposal: Add Time#ceil
Closed by [f5415a95ce1d393a3fd1d7f657ba85d85171356a](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/revisions/f5415a95ce1d393a3fd1d7f657ba85d85171356a)
I missed the tag to close the ticket.
nobu (Nobuyoshi Nakada)
02:59 AM Feature #15772: Proposal: Add Time#ceil
Thank you! osyo (manga osyo)
01:39 PM Revision 0b4d51b0 (git): * expand tabs.
git[bot]
01:30 PM Revision f5415a95 (git): Add `Time#ceil`.
Closes: https://github.com/ruby/ruby/pull/2133 osyo (manga osyo)
10:15 AM Feature #15665 (Closed): Cannot compile socket extension on Mojave
Applied in changeset commit:git|fe3ff5afb07e171fd950623c69abfbabbb2762a3.
----------
Suppress paranoid warnings for external/3rd-party libraries
[Feature #15665]
nobu (Nobuyoshi Nakada)
06:08 AM Feature #15665: Cannot compile socket extension on Mojave
From where `-Werror` and `-Wunused-parameter` came?
```
"clang -I../../.ext/include/x86_64-darwin18 -I../.././include -I../.././ext/socket -I../.. -I../../. -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED...
nobu (Nobuyoshi Nakada)
05:11 AM Feature #15665: Cannot compile socket extension on Mojave
nobu (Nobuyoshi Nakada) wrote:
> That check is necessary only for very old, 6 years ago, header.
> ...
Please find attached. I was trying to install 2.6.3 version.
franklinyu (Franklin Yu)
08:36 AM Revision fe3ff5af (git): Suppress paranoid warnings for external/3rd-party libraries
[Feature #15665] nobu (Nobuyoshi Nakada)
08:31 AM Revision dc95b57a (git): add verifier before compact
ko1 (Koichi Sasada)
08:24 AM Revision 878a06ef (git): add comments [ci skip]
Also requested by Ko1. shyouhei (Shyouhei Urabe)
08:24 AM Revision 763989c6 (git): prefix ASAN related inline functions asan_
requested by Ko1. shyouhei (Shyouhei Urabe)
08:24 AM Revision 8fce8333 (git): disable _FORTIFY_SOURCE
Sanitizers and fortifications do not interface, and there is currently
no plan for them to work together.
See also https://github.com/google/sanitizers/issues/247
shyouhei (Shyouhei Urabe)
07:58 AM Revision 6be0ab73 (git): gc_pin() doesn't check is_markable_object().
Caller of gc_pin() should check it is a mark-able object.
So gc_pin() doesn't need to check it. With this fix,
we can refactoring around it.
ko1 (Koichi Sasada)
07:07 AM Revision 65637dae (git): Test GC.compact on MJIT again
k0kubun (Takashi Kokubun)
06:33 AM Revision c5cbabf8 (git): Use colorized IRB on Windows without checking `TERM`
U.Nakamura
05:39 AM Revision 0acbdd1e (git): Adding Enumerable#filter_map
[Feature #15323]
Closes: https://github.com/ruby/ruby/pull/2017
alfonsojimenez (Alfonso Jiménez)
05:18 AM Revision 1ccc2eeb (git): Pretend to update all Unicode files
nobu (Nobuyoshi Nakada)
05:17 AM Feature #14915 (Rejected): Deprecate String#crypt
OpenBSD deprecated `crypt(3)` in November 2014 (https://github.com/openbsd/src/commit/608633c1c51b59b1f0d77d3d5b646ff8d27407aa). However, I doubt that `crypt(3)` will be removed in the near future, if ever. OpenBSD didn't remove `gets(3... jeremyevans0 (Jeremy Evans)
04:54 AM Bug #15839 (Closed): mixed encoding heredoc should be a syntax error regardless the order
Applied in changeset commit:git|c05eaa93258ddc01e685b6cc3a0da82998a2af48.
----------
Fix mixed encoding in heredoc
Heredocs are parsed line-by-line, so we need to keep track of the
temporary encoding of the string. Previously, a hered...
jeremyevans (Jeremy Evans)
04:52 AM Revision c05eaa93 (git): Fix mixed encoding in heredoc
Heredocs are parsed line-by-line, so we need to keep track of the
temporary encoding of the string. Previously, a heredoc would
only detect mixed encoding errors if they were on the same line,
this changes things so they will be caught ...
jeremyevans (Jeremy Evans)
04:33 AM Bug #15853 (Closed): Fix readline test regression when using Readline 4.3
Applied in changeset commit:git|f91b1ab33d397fdcdf452d563d7f59469a078d88.
----------
Skip assertion in readline test if Readline version is 4.3
Previously, the entire method was not run for Readline 4.3, probably
because it was known t...
jeremyevans (Jeremy Evans)
04:32 AM Revision f91b1ab3 (git): Skip assertion in readline test if Readline version is 4.3
Previously, the entire method was not run for Readline 4.3, probably
because it was known to fail. Commit
c754e979d3eeca51f1b13778f19f347df3da656e removed the check for
Readline 4.3. Other than this one assertion, which also doesn't
wor...
jeremyevans (Jeremy Evans)
04:21 AM Revision 4814f173 (git): skip zombies.
rb_gc() no longer invokes finalizers, so there are T_ZOMBE objects. ko1 (Koichi Sasada)
02:42 AM Revision 02973d3b (git): pin `maybe` pointers.
Objects pointed by "maybe" pointers because of conservative marking
should be pinned down.
ko1 (Koichi Sasada)
02:27 AM Bug #15809 (Closed): GC.verify_compaction_references - intermittent SEGV's on multiple platforms
Applied in changeset commit:git|136ae55892ae120bb94e4ff2d025c745fdaa1091.
----------
Do not kick finalizers on rb_gc().
rb_gc() kicks gc_finalize_deferred(), which invokes finalizers.
This means that any Ruby program can be run this po...
ko1 (Koichi Sasada)
02:26 AM Revision 136ae558 (git): Do not kick finalizers on rb_gc().
rb_gc() kicks gc_finalize_deferred(), which invokes finalizers.
This means that any Ruby program can be run this point and
it may be thread switching points and so on.
However, it is difficult to think it invokes any Ruby programs.
For ...
ko1 (Koichi Sasada)
02:26 AM Revision 0eff21af (git): update Array's length correctly.
ARRAY_ASET() does not change the length of array, so
use rb_ary_push() instead of ARRAY_ASET(). It prevents
updating reference on GC.compact.
ko1 (Koichi Sasada)

05/22/2019

11:33 PM Revision bb29ed6e (git): C-v C-j means an newline insertion
aycabta (aycabta .)
11:25 PM Revision da3fabc9 (git): Change behavior to confirm multiline termination
Always checks termination if you press Enter at last line. aycabta (aycabta .)
09:52 PM Bug #15867 (Closed): Enumerable#minmax inconsistent behavior with Time ranges
With `Date` the behavior is consistent for inclusive and exclusive ranges:
```
>> (Date.new(2019, 7, 1)..Date.new(2019, 7, 3)).min
=> #<Date: 2019-07-01 ((2458666j,0s,0n),+0s,2299161j)>
> ...
=> #<Date: 2019-07-03 ((2458668j,0s,0n)...
arzezak (Ariel Rzezak)
08:19 PM Feature #15863: Add `Hash#slice!` and `ENV.slice!`
> Let me see the real-world use-case, please.
Since proposed `Hash#slice!` method is the same as `Hash#extract!` from the Active Support, there is one use-case where we have some `options` then we extract some known by keys options an...
bogdanvlviv (Bogdan Denkovych)
07:44 AM Feature #15863 (Rejected): Add `Hash#slice!` and `ENV.slice!`
I don't think we have seen the use-case that this method is absolutely necessary.
Let me see the real-world use-case, please.
Matz.
matz (Yukihiro Matsumoto)
06:14 PM Revision c210c68d (git): Revert "Revert CI deduplication on Wercker / Azure for debugging"
This reverts commit 1ebe9a2f82fef5190454e68d430004282f5da172.
because it did not help.
k0kubun (Takashi Kokubun)
05:01 PM Revision 1ebe9a2f (git): Revert CI deduplication on Wercker / Azure for debugging
CI seems to have a weired behavior now. Debugging.
Revert "azure-pipelines.yml: Fix typo"
This reverts commit f69d28fbca1eec8b9722cea1f989ee9554e8dad5.
Revert "azure-pipelines.yml: Use simpler trigger syntax"
This reverts commit 7097...
k0kubun (Takashi Kokubun)
04:46 PM Revision 00f7e424 (git): spec/ruby/core/hash/constructor_spec.rb: add "ruby_version_is" guard
follow up for d3f1c615c5 mame (Yusuke Endoh)
04:39 PM Revision a093c98d (git): Fallback RUBY_FULL_REVISION if not defined
nobu (Nobuyoshi Nakada)
04:18 PM Revision f69d28fb (git): azure-pipelines.yml: Fix typo
k0kubun (Takashi Kokubun)
04:17 PM Revision 709756d8 (git): azure-pipelines.yml: Use simpler trigger syntax
k0kubun (Takashi Kokubun)
04:13 PM Revision bec877b4 (git): azure-pipelines.yml: Do not run CI on trunk
k0kubun (Takashi Kokubun)
04:07 PM Revision b80adde3 (git): wercker.yml: Notify master branch instead of trunk
k0kubun (Takashi Kokubun)
03:49 PM Bug #15745 (Closed): There is no symmetry in the beginless range and the endless range using `Range#inspect`
Applied in changeset commit:git|9d39eb6b40966deeeaa23c28f0be640c56545644.
----------
range.c (inspect_range): omit beginless "nil"
except the special case `(nil..nil)`.
```
(1..).inspect #=> "1.."
(..5).inspect #=> "..5"
(ni...
mame (Yusuke Endoh)
04:50 AM Bug #15745: There is no symmetry in the beginless range and the endless range using `Range#inspect`
I'd pick the following representation:
```
(1..).inspect #=> "1.."
(..5).inspect #=> "..5"
(nil..nil).inspect #=> "nil..nil"
```
Matz.
matz (Yukihiro Matsumoto)
03:48 PM Revision 9d39eb6b (git): range.c (inspect_range): omit beginless "nil"
except the special case `(nil..nil)`.
```
(1..).inspect #=> "1.."
(..5).inspect #=> "..5"
(nil..nil).inspect #=> "nil..nil"
```
[Bug #15745]
mame (Yusuke Endoh)
03:40 PM Revision d9b338a5 (git): appveyor.yml: Do not doubly run CI on trunk
k0kubun (Takashi Kokubun)
03:33 PM Revision 277e6882 (git): .travis.yml: Test master branch instead of trunk
k0kubun (Takashi Kokubun)
03:20 PM Bug #7300 (Closed): Hash#[] の挙動が 1.9.3 と異なっている
Applied in changeset commit:git|d3f1c615c5b81319e422e9c92e1cb8ba82209fba.
----------
hash.c (rb_hash_s_create): Reject `Hash[[nil]]`
The behavior of `Hash[[nil]] #=> {}` was a bug until 1.9.3, but had been
remained with a warning becau...
mame (Yusuke Endoh)
03:19 PM Revision d3f1c615 (git): hash.c (rb_hash_s_create): Reject `Hash[[nil]]`
The behavior of `Hash[[nil]] #=> {}` was a bug until 1.9.3, but had been
remained with a warning because some programs depended upon it.
Now, six years passed. We can remove the compatibility behavior.
[Bug #7300]
mame (Yusuke Endoh)
03:15 PM Revision 4d622969 (git): * 2019-05-23
git[bot]
02:53 PM Revision a205e247 (git): Make RUBY_REVISION full length
nobu (Nobuyoshi Nakada)
02:52 PM Revision d819d97c (git): Default to the current branch
* tool/make-snapshot: default to the current branch if no branch
but srcdir is given.
nobu (Nobuyoshi Nakada)
02:51 PM Revision 8fb77aca (git): Fix revision name
* tool/make-snapshot (package): dump to stringize GIT revisions
properly.
nobu (Nobuyoshi Nakada)
02:34 PM Bug #15853: Fix readline test regression when using Readline 4.3
@jeremyevans0
Thanks a lot! I think that your v3 patch is correct...so please commit it yourself. Welcome.
aycabta (aycabta .)
02:20 PM Bug #15853: Fix readline test regression when using Readline 4.3
@jeremyevans0 Congrats! Please wait for @hsbt's guidance. (He will ask you to send your ssh key.) mame (Yusuke Endoh)
05:09 AM Bug #15853: Fix readline test regression when using Readline 4.3
@jeremyevans0 Welcome to the committers.
Matz.
matz (Yukihiro Matsumoto)
01:28 PM Revision 24684a81 (git): Fix revision name
* tool/make-snapshot (package): use the last revision of the whole
tree as the revision name, not a single file.
* tool/file2lastrev.rb: ditto. dump without unnecessary subrange
and literal quotes, to stringize SVN revisions properly.
nobu (Nobuyoshi Nakada)
01:28 PM Revision 658f17b8 (git): Fixed the method to delegate
* tool/vcs.rb (VCS::GITSVN.revision_name): should delegate to the
same method of SVN, not an undefined method.
nobu (Nobuyoshi Nakada)
10:34 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
> If you change something, pls tell your schedule and we can check the CI system.
Sure. I updated the description.
Once I make a symbolic-ref tomorrow, I'll post an email to ruby-core to share the schedule and ask for updating CI sys...
k0kubun (Takashi Kokubun)
06:39 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
I'm negative against the Main part (moving the branch) immediately, which seems a too big change.
Why not making "master" as a symbolic-ref at first?
nobu (Nobuyoshi Nakada)
06:35 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
If you change something, pls tell your schedule and we can check the CI system. ko1 (Koichi Sasada)
06:30 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
I don't disagree this proposal.
But, I want to know what do you mean in the term "Out of scope (for a short term)".
What is "short" ?
usa (Usaku NAKAMURA)
10:15 AM Feature #14844: Future of RubyVM::AST?
akr (Akira Tanaka) wrote:
> We are not sure the stability of RubyVM::AbstractSyntaxTree.
> ...
Right, so I think we need to document it's not stable yet as clearly as possible.
> We want to know such unstability has big impact for
...
Eregon (Benoit Daloze)
07:41 AM Feature #14844: Future of RubyVM::AST?
We are not sure the stability of RubyVM::AbstractSyntaxTree.
For example, Ruby 2.7 will add new node for pattern match.
We want to know such unstability has big impact for
practical applications or not.
I feel it is difficult to ...
akr (Akira Tanaka)
10:10 AM Feature #15865: `<expr> in <pattern>` expression
@matz Do you mean `in` rather than `if` for the keyword? Eregon (Benoit Daloze)
08:54 AM Feature #15865: `<expr> in <pattern>` expression
I am pretty positive about adding single line pattern matching in Ruby. I am still wondering whether `if` is a right keyword for it. Let me think about it for a while.
Matz.
matz (Yukihiro Matsumoto)
08:04 AM Feature #15865: `<expr> in <pattern>` expression
ko1 (Koichi Sasada) wrote:
> We can't introduce guard pattern (`pat if expr`) because it will conflict with `expr if cond`.
You have to write as `val in expr and cond`.
nobu (Nobuyoshi Nakada)
07:38 AM Feature #15865: `<expr> in <pattern>` expression
Trivial comment.
We can't introduce guard pattern (`pat if expr`) because it will conflict with `expr if cond`.
ko1 (Koichi Sasada)
09:52 AM Feature #15831: Add `Array#extract`, `Hash#extract`, and `ENV.extract`
matz (Yukihiro Matsumoto) wrote:
> I don't think we have seen the use-case that this method is absolutely necessary. I also concern about the name conflict with the ActiveSupport method.
> ...
There are use-cases of `Array#extract` in ...
bogdanvlviv (Bogdan Denkovych)
07:45 AM Feature #15831 (Rejected): Add `Array#extract`, `Hash#extract`, and `ENV.extract`
I don't think we have seen the use-case that this method is absolutely necessary. I also concern about the name conflict with the ActiveSupport method.
Let me see the real-world use-case, please.
Matz.
matz (Yukihiro Matsumoto)
09:29 AM Bug #15625: Module#name performance has exponential-time worst case by aliased constants
This was fixed in https://bugs.ruby-lang.org/issues/15765 byroot (Jean Boussier)
09:29 AM Bug #11119: Anonymous classes and modules have terrible #name and #inspect performance
This was fixed in https://bugs.ruby-lang.org/issues/15765 byroot (Jean Boussier)
08:57 AM Feature #15824: respond_to pattern for pattern match
Interesting idea. We need to investigate the idea further.
Matz.
matz (Yukihiro Matsumoto)
08:56 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
I am against having `finite?` or `infinite?` methods. I don't think there's use-case for those methods.
Meanwhile, I see the small possibility for the usage of `beginless?` and `endless?` methods. But I don't like the names.
Matz.
matz (Yukihiro Matsumoto)
02:54 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
Do you mean that `Range#infinite?` is no longer needed if the behavior of `("a"..).size` is changed? If not, I think it is a different topic from this ticket. mame (Yusuke Endoh)
01:22 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
How about doing this?
```ruby
("a".."z").size # => nil
(.."z").size # => Infinity
("a"..).size # => Infinity
```
osyo (manga osyo)
01:14 AM Feature #15864: Proposal: Add methods to determine if it is an infinite range
Thanks comments!
> I think infinite? is a different concept, which already exists as Numeric#infinite?, and should definitely handle the Float::INFINITY case if introduced
I also considered the following implementation.
```ruby
...
osyo (manga osyo)
08:35 AM Bug #15821: ruby_process_options() may cause "WB miss (O->Y)"
Note of this issue:
We assume that `ary` in `RARRAY_ASET(ary, ...)` is not FROZEN and SHARED. This code violate this assumption.
Nobu's fix solved this issue by using `rb_ary_push()` which works with a SHARED array (and added a trick...
ko1 (Koichi Sasada)
07:54 AM Revision 2fb69b32 (git): * expand tabs.
git[bot]
07:52 AM Revision 32dd1a79 (git): gc.c: revert b00f280d4b "Eagerly name modules and classes"
* gc.c (rb_raw_obj_info): new string objects cannot allocate to
create new class path name during GC.
nobu (Nobuyoshi Nakada)
07:33 AM Revision 4d93340d (git): ast.c: update inspect results in the documents
nobu (Nobuyoshi Nakada)
07:11 AM Feature #15765 (Closed): [PATCH] Module#name without global constant search
Closed by [b00f280d4b](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/revisions/b00f280d4b9569e7153365d7e1c522b3d6b3c6cf) nobu (Nobuyoshi Nakada)
06:47 AM Revision 48f3dc3c (git): Set namespace tree
* variable.c (set_namespace_path): set path to the whole namespace
tree. [Feature #15765]
nobu (Nobuyoshi Nakada)
06:47 AM Revision 1b20d6a6 (git): Extract build_const_pathname
* variable.c (build_const_pathname): build constant path from
name as a string. [Feature #15765]
alanwu (Alan Wu)
06:46 AM Revision b00f280d (git): Eagerly name modules and classes
* variable.c: make the hidden ivars `classpath` and `tmp_classpath` the source
of truth for module and constant names. Assign to them when modules are bind
to constants.
* variable.c: remove references to module name cache, as what ...
alanwu (Alan Wu)
06:06 AM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
I accepted the proposal at the last developer meeting but forgot to post here.
I do reject having both block and block argument at the same time. [[ruby-core:92505]](https://bugs.ruby-lang.org/issues/15323#change-77866)
Regarding `filt...
matz (Yukihiro Matsumoto)
06:02 AM Misc #15802: Reduce the minimum string buffer size from 127 to 63 bytes
Could you give me speed benchmark results, for example with discourse (any rails benchmark is okay)?
If it is difficult, I'll check it.
> Same sequence of redmine requests - 6 for this branch and trunk respectively using this as a si...
ko1 (Koichi Sasada)
05:57 AM Bug #15866: [BUG] Segmentation fault at 0x0000000000000020

NOTE: does not happen if i remove following line from code:
request.body = "{"data":{"post ID 1":{"se_name":"google.co.uk","se_language":"English","loc_name_canonical":"London,England,United Kingdom","key":"rank checker"}}}"
joel23421 (joel Bernard)
05:54 AM Bug #15866 (Closed): [BUG] Segmentation fault at 0x0000000000000020
/bin/bash -c "/home/test/.rvm/bin/rvm ruby-2.5.0 do /home/test/.rvm/rubies/ruby-2.5.0/bin/ruby /opt/rails/test/bin/rails server -b 0.0.0.0 -p 3001 -e production"
=> Booting WEBrick
=> Rails 5.0.2 application starting in production on h...
joel23421 (joel Bernard)
05:47 AM Feature #14915: Deprecate String#crypt
Just removing deprecated feature doesn't provide additional value.
In this case UNIX crypt(3) is sometimes used as a basic building block.
Removing a wrapper of such block may cause a compatibility issue.
As usa says why OpenBSD s...
naruse (Yui NARUSE)
05:08 AM Feature #14915: Deprecate String#crypt
I feel warning is too strong.
crypt function is required to implement password checking for /etc/passwd.
akr (Akira Tanaka)
05:05 AM Feature #14915: Deprecate String#crypt
As a matter of practice, OpenBSD still has `crypt`.
It means that it's too difficult to remove this function at this timing, IMO.
We'll remove it in the future, I guess, but not now.
usa (Usaku NAKAMURA)
05:30 AM Feature #15772: Proposal: Add Time#ceil
Accepted.
Matz.
matz (Yukihiro Matsumoto)
02:41 AM Misc #15782: DevelopersMeeting20190522Japan
Today's venue has been changed to Speee Inc. at Roppongi.
Do not go pixiv.
mrkn (Kenta Murata)
 

Also available in: Atom