Project

General

Profile

Activity

From 04/14/2018 to 04/20/2018

04/20/2018

10:53 PM Revision af72dcd9 (git): thread_sync: redo r62934 to use fork_gen
Instead of maintaining linked-lists to store all
rb_queue/rb_szqueue/rb_condvar structs; store only a fork_gen
serial number to simplify management of these items.
This reduces initialization costs and avoids the up-front cost
of resett...
Eric Wong
09:38 PM Feature #14487 (Closed): [PATCH] simplify altstack and enable reuse with thread cache
Applied in changeset trunk|r63213.
----------
simplify altstack and enable reuse with thread cache
Instead of allocating and registering the altstack in different
places, do it together to reduce code and improve readability.
When thre...
normalperson (Eric Wong)
09:38 PM Revision 730d257b (git): * 2018-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:38 PM Revision 475b4aa4 (git): simplify altstack and enable reuse with thread cache
Instead of allocating and registering the altstack in different
places, do it together to reduce code and improve readability.
When thread cache is enabled, storing altstack in rb_thread_t
is wasteful and we may reuse altstack in the sam...
Eric Wong
06:34 PM Feature #6284: Add composition for procs
yuroyoro (TOMOHITO Ozaki) wrote:
> Most languages do not define function composition in built-in operators, but provide them as function or method such as `compose`.
> ...
I do like the idea of using shovel as it's already fairly commo...
baweaver (Brandon Weaver)
03:23 PM Bug #14704 (Closed): Module#ancestors looks wrong when a module is both included and prepended in the same class.
`Module#ancestors` looks wrong when a module is both included and prepended in the same class.
Here is the example script:
```ruby
module M3; end
module M1
include M3
end
module M2
prepend M3
end
class Sub
includ...
knknkn1162 (Kenta Nakajima)
01:42 PM Revision e72a86fc (git): _mjit_compile_send.erb: inline attr_reader call
_mjit_compile_send_guard.erb: carve out the shared logic to invalidate
inlined method call
common.mk: update dependency for this change
test_jit.rb: add test for attr_reader optimization
* Benchmark
```
require 'benchmark_driver'
Be...
k0kubun (Takashi Kokubun)
01:40 PM Bug #14662: Stack consistency error in 2.5.1
Unfortunately I haven't found a way to reproduce this without a large portion of our code running, and because the error happens in different places I haven't been able to track it down. I'll keep trying but I think it is unlikely that I... jacobevelyn (Jacob Evelyn)
01:23 PM Feature #14111: ArgumentErrorが発生した時メソッドのプロトタイプをメッセージに含む
いくつか問題があるようです。
* `define_method` で定義されたメソッドで `ArgumentError` が起きるとSEGV
* `label` はメソッド名とは同じとは限らない
* 特異メソッドを持つオブジェクトをインスタンス変数にセットすると `Marshal.dump` できない
また、 `ArgumentError#to_s` は別ライブラリ(gem)で提供するということでしょうか。
「重箱の隅をつつく」ようですが、エラー発生か...
nobu (Nobuyoshi Nakada)
11:52 AM Feature #14703 (Closed): [PATCH] net/imap: set SO_KEEPALIVE on TCP sockets
Otherwise connections (commonly on IDLE, but it could be any
command) may never receive notifications of link errors.
Pretty trivial, will commit in a few days if no response.
normalperson (Eric Wong)
10:11 AM Misc #14698: DevelopersMeeting20180517Japan
shevegen (Robert A. Heiler) wrote:
> Just one comment:
> ...
This changed is just applied for the agenda page like https://bugs.ruby-lang.org/projects/ruby/wiki/DevelopersMeeting20180419Japan.
The wiki has an issue, other than commi...
naruse (Yui NARUSE)
10:03 AM Bug #14702 (Closed): On Ruby 2.5.1, tracepoint isn't working on the file that is loaded by load_iseq
On Ruby 2.5.1, when loading file with RubyVM::InstructionSequence.load_from_binary, TracePoint callback event is not working on loaded file.
## Steps to reproduce
Ruby version.
```
$ ruby -v
# => ruby 2.5.1p57 (2018-03-29 revisi...
makoto_tajitsu@hotmail.co.jp (Makoto Tajitsu)
08:27 AM Feature #14701 (Rejected): If the object is not frozen, I want to be able to redefine the compound assignment operator.
Use `append` instead of `+=` for arrays. Changing the behavior of `+=` would have too much compatibility problems from side-effect.
Matz.
matz (Yukihiro Matsumoto)
07:10 AM Revision 1658fb3f (git): Update latest bundled gems:
did_you_mean: 1.2.1
rake: 12.3.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
03:32 AM Bug #14634: Queue#push seems to crash after fork
benoit@sqreen.io wrote:
> The customer just sent me another crasher report (segfault).
> It happens in another location in Ruby on
> `Module.const_defined?`. I looked at the ruby code while going
> through the crasher trace, and it ...
normalperson (Eric Wong)
03:22 AM Revision b456eab2 (git): variable.c: fix thread + fork errors in autoload
This is fairly non-intrusive bugfix to prevent children
from trying to reach into thread stacks of the parent.
I will probably reuse this idea and redo r62934, too
(same bug).
* vm_core.h (typedef struct rb_vm_struct): add fork_gen coun...
Eric Wong
02:12 AM Feature #14352: Array#pack("M") Quoted-Printable with binary mode
なるせさん
ご検討いただきありがとうございました。
mailライブラリとしてはこの結果をベースに修正案を出してみようと思います。
kirika (Toshio Maki)
12:52 AM Bug #14700 (Rejected): Endless ranges don't seem to work properly with case statements
Please use parentheses, like `when (0..)`. Unfortunately, it is difficult to allow this because it may cause a conflict with existing programs.
```
x = 1
case x
when 0..
3
p "#{ x } is in 0..3"
end
```
mame (Yusuke Endoh)
12:25 AM Revision 5b9bb500 (git): vm_core.h: adjust indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:23 AM Revision db885d08 (git): range.c: step in bignum
* range.c (range_step): honor step in bignum addition.
[Feature #12912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:10 AM Revision ad5a6aa7 (git): range.c: fix fixnum loop condition
* range.c (range_step): FIXABLE + FIXABLE never overflow, but may
not be FIXABLE. [Feature #12912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/19/2018

11:46 PM Revision 5a5c9a70 (git): fiddle/test_import.rb: fix warnings by rubygems
[Bug #14686]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:36 PM Bug #14686 (Closed): Windows - uninitialized constant Fiddle::Function::STDCALL, test issue
Applied in changeset trunk|r63205.
----------
fiddle/import.rb: suppress warning
* ext/fiddle/lib/fiddle/import.rb: suppress exception report when
$DEBUG is enabled. [ruby-core:86536] [Bug #14686]
nobu (Nobuyoshi Nakada)
11:35 PM Revision eb02a846 (git): fiddle/import.rb: suppress warning
* ext/fiddle/lib/fiddle/import.rb: suppress exception report when
$DEBUG is enabled. [ruby-core:86536] [Bug #14686]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:30 PM Feature #14701 (Open): If the object is not frozen, I want to be able to redefine the compound assignment operator.
If the object is not frozen, I want to be able to redefine the compound assignment operator (e.g. +=, -=, *=, /=, ..etc ).
https://docs.ruby-lang.org/ja/latest/doc/spec=2foperator.html
* Redefinable operator (method)
~~~
|...
naitoh (Jun NAITOH)
10:20 PM Feature #14697: Introducing Range#% as an alias to Range#step
Have we considered a name like `every`?
~~~ ruby
(1..).every(2) # => 2, 4, 6, 8
~~~
I did not know that `step` could do this until I read this. The name does not clearly indicate that it would do that to me, but that may also b...
baweaver (Brandon Weaver)
02:18 PM Feature #14697: Introducing Range#% as an alias to Range#step
I am not convinced that `step` is used enough to justify this. I know I basically never use it. Here's the number of uses for some projects:
rails: 3 uses
bundler: 0 uses
sinatra: 0 uses
WikiEduDashboard: 0 uses (a typical Ra...
marcandre (Marc-Andre Lafortune)
06:54 AM Feature #14697: Introducing Range#% as an alias to Range#step
Looks good to me. Any opinion?
Matz.
matz (Yukihiro Matsumoto)
06:31 AM Feature #14697 (Closed): Introducing Range#% as an alias to Range#step
In #13904, `Enumerator::ArithmeticSequence` has been accepted for the representation of a range with step value.
And in #12912, a new syntax of endless range `(1..)` has been accepted.
Combining these new features, we can write an en...
mrkn (Kenta Murata)
09:48 PM Bug #14700 (Rejected): Endless ranges don't seem to work properly with case statements
I'm running into an unexpected error with this code
~~~ ruby
case 1
when 0..
end
#!> SyntaxError: unexpected keyword_end, expecting keyword_then or ',' or ';' or '\n'
~~~
Thanks!
shan (Shannon Skipper)
09:34 PM Revision 9090241e (git): rexml: Fix a XPath bug that white spaces aren't ignored
lib/rexml/parsers/xpathparser.rb: Ignore white spaces in relative
location path.
test/rexml/xpath/test_base.rb: Add more test patterns and use more
debug friendly assertion style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6320...
Sutou Kouhei
08:51 PM Revision 632e10ca (git): rexml: Fix wrong assertion
test/rexml/xpath/test_base.rb: Use constant value for the expected value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
08:49 PM Revision 8257fcb1 (git): rexml: Use more debug friendly assertion style
test/rexml/xpath/test_base.rb: Expand loop assertion and stop to checking
just the first value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
08:48 PM Revision b5321ba4 (git): rexml: Use more debug friendly assertion style
test/rexml/xpath/test_base.rb: Stop to use separated assertions for
checking array value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
08:45 PM Revision be000dcc (git): rexml: Make more readable
test/rexml/xpath/test_base.rb: Use here document for XML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
06:01 PM Misc #14698: DevelopersMeeting20180517Japan
https://bugs.ruby-lang.org/issues/14473 Add Range#subrange? greggzst (Grzegorz Jakubiak)
04:19 PM Misc #14698: DevelopersMeeting20180517Japan
Just one comment:
> From this time, we use a ticket to make dev-meeting agenda page
\o/
I think this is a good change. However had, I also think that the
wiki is very good for an "organized back-log", together with the
log sum...
shevegen (Robert A. Heiler)
03:42 PM Misc #14698: DevelopersMeeting20180517Japan
https://bugs.ruby-lang.org/issues/14699 Subtle behaviors with endless range mame (Yusuke Endoh)
07:26 AM Misc #14698: DevelopersMeeting20180517Japan
> your favorite ticket numbers you want to ask to discuss with your SHORT comment or summary.
Functional programming:
* [Feature #6284] Add composition for procs
* 6-year-old proposal. Matz: "Positive about adding function composi...
zverok (Victor Shepelev)
06:59 AM Misc #14698 (Closed): DevelopersMeeting20180517Japan
Date: 2018/05/17 (Thu)
Time: 14:00-18:00 (JST)
Place: Cookpad Inc. (Tokyo, Japan)
Sign-up: https://ruby.connpass.com/event/85917/
Log: https://docs.google.com/document/d/e/2PACX-1vR2LdBE87iEcEsVuUUr0G2L6LxSPeGMg_0oeHeh0HYmX36iIa9zkWY...
ko1 (Koichi Sasada)
05:24 PM Bug #14699: Subtle behaviors with endless range
I believe `(0..).max(3)` and `(0..).max {|a, b| a <=> b }` can not return `nil`. They should either hang or (seems more useful) raise an error, same as `min`. I would have `(0..).last(3)` also raise an error.
`(0..).size` must return ...
marcandre (Marc-Andre Lafortune)
03:40 PM Bug #14699 (Closed): Subtle behaviors with endless range
Currently, some Range's methods behaves weirdly with endless range.
## Range#max
Range#max always returns nil. Is this okay, or is another result expected?
```
p (0..).max #=> nil
p (0..).max(3) #=> nil
p (0..).max {|a, b| ...
mame (Yusuke Endoh)
04:57 PM Revision 35f1b8f5 (git): _mjit_compile_send.erb: simplify control flow
to introduce additional optimization for another `cc->me->def->type`
later. I carved out the `cc->me->def->type == VM_METHOD_TYPE_ISEQ`
part because I wanted to check other types as well.
mjit_compile.c: drop get_iseq_if_available and d...
k0kubun (Takashi Kokubun)
04:19 PM Revision 46697c7e (git): internal.h: use the same declaration as definition
range.c: cast the function type to meet the declaration
This change is for fixing build error on AppVeyor:
https://ci.appveyor.com/project/ruby/ruby/build/1.0.8177
string.c
../string.c(4330) : error C4028: formal parameter 2 different ...
k0kubun (Takashi Kokubun)
04:17 PM Feature #14683: IRB with Ripper
I am developing Reirb which is new version of irb, now.
Reirb is a reborn irb, and new implementation for irb,
I would like to replacing irb with reirb(as irb).
Therefore, I want to pending big changes until RubyKaigi 2018 is over.
keiju (Keiju Ishitsuka)
03:54 PM Feature #8258: Dir#escape_glob
Eregon (Benoit Daloze) wrote:
> Looks to me like this can be closed since we have Dir.glob(pattern, base: dir) and Pathname#glob uses it.
Consider that we want to enumerate all files that are under a specified directory and whose nam...
mame (Yusuke Endoh)
11:28 AM Feature #8258: Dir#escape_glob
Looks to me like this can be closed since we have Dir.glob(pattern, base: dir) and Pathname#glob uses it. Eregon (Benoit Daloze)
08:13 AM Feature #8258 (Feedback): Dir#escape_glob
Issue #13056 introduced `base:` option to `Dir.glob` method. Is this issue still needed? shyouhei (Shyouhei Urabe)
03:29 PM Feature #12912 (Closed): An endless range `(1..)`
Thank you matz. I've committed this at r63192..r63197. The implementation uses Approach 2, i.e., now we can create `(1..nil)`, a range whose end is nil.
I made Range's methods reasonably support endless range, at least, as far as I ...
mame (Yusuke Endoh)
06:19 AM Feature #12912: An endless range `(1..)`
The syntax appears a bit weird but far better than `1..Float::Infinity`.
I accept it.
Matz.
matz (Yukihiro Matsumoto)
03:23 PM Revision e5de8868 (git): Adds "endless range" to NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:19 PM Revision d55452cb (git): Prefer CONST_ID to static global IDs
Just refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:18 PM Revision d658a8d5 (git): range.c: Make Range#bsearch support endless ranges
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:18 PM Revision db1bdecb (git): Make Range#min, max, include?, cover?, and === to support endless range
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:18 PM Revision 8a809850 (git): * 2018-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 PM Revision 7f95eed1 (git): Introduce endless range [Feature#12912]
Typical usages:
```
p ary[1..] # drop the first element; identical to ary[1..-1]
(1..).each {|n|...} # iterate forever from 1; identical to 1.step{...}
```
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63192 b2dd03c8-39d4-4...
mame (Yusuke Endoh)
02:40 PM Misc #14692: Question: Ruby stdlib's Option Parser
Currently, it is not able.
A possible workaround is to define an option which raise `OptionParser::InvalidOption`.
nobu (Nobuyoshi Nakada)
12:34 PM Feature #14688 (Assigned): Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
At DevelopersMeeting20180419Japan, adding the alias is accepted. usa (Usaku NAKAMURA)
11:42 AM Feature #4475: default variable name for parameter
This is a very interesting idea but at the same time, it's difficult to keep compatibility.
At least simple addition of `it` does not work well.
Matz.
matz (Yukihiro Matsumoto)
07:51 AM Feature #4475: default variable name for parameter
I would like the feature, but we have many things to think about.
We would not be able to make "it" a reserved keyword because that would destroy all existing RSpec code written in tens of thousands of projects.
If "it" were to be ...
knu (Akinori MUSHA)
08:22 AM Feature #6394 (Rejected): Support SO_ORIGINAL_DST socket option
As #14696, we reject the proposal. matz (Yukihiro Matsumoto)
08:21 AM Feature #14696 (Rejected): add optname SO_ORIGINAL_DST
I didn't know `SO_ORIGINAL_DST` is not defined in libc headers.
In this case, I'd suggest defining the constant in your application.
Matz.
matz (Yukihiro Matsumoto)
07:37 AM Feature #14696: add optname SO_ORIGINAL_DST
SO_ORIGINAL_DST is defined in linux kernel header, not glibc header.
The provided patch defines SO_ORIGINAL_DST as 80 in ext/socket/rubysocket.h.
There are several options:
- define the constant in Ruby as the patch.
This add...
akr (Akira Tanaka)
07:54 AM Feature #14352: Array#pack("M") Quoted-Printable with binary mode
議論したのですが、結論としてドキュメントイシューということになりました。
大本のPerlもそうですが、pack/unpackは前提として、Unix環境で入力をとり、LFのまま出力し、
その出力をsendmail等に流して、それらがLFをCRLFに変換することを想定したものであろうという見解に至りました。
よって、現状の挙動はその用途においては妥当なものなので、変更せず、ドキュメントの追記のみを行いました。
kirika (Toshio Maki) wro...
naruse (Yui NARUSE)
07:28 AM Feature #14352 (Closed): Array#pack("M") Quoted-Printable with binary mode
Applied in changeset trunk|r63191.
----------
pack/unpack M only handles LF line breaks [Feature #14352]
naruse (Yui NARUSE)
07:52 AM Feature #5352 (Rejected): How about using <> to represent Here Document?
Rejected. I don't want to change the basic syntax (without major benefit). Besides that, I want to keep `<>` for future syntax extension.
Matz.
matz (Yukihiro Matsumoto)
07:28 AM Revision 3a5d1e4b (git): pack/unpack M only handles LF line breaks [Feature #14352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:25 AM Feature #14423: Enumerator from single object
Updated proposal after discussion in comments. zverok (Victor Shepelev)
07:06 AM Feature #14643 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
Applied in changeset trunk|r63190.
----------
dir.c: warning for NUL
* dir.c (rb_push_glob): warn NUL-separated glob patterns.
[Feature #14643]
nobu (Nobuyoshi Nakada)
06:55 AM Feature #14643: Remove problematic separator '\0' of Dir.glob and Dir.[]
LGTM. The change will reduce the potential security risk.
Matz.
matz (Yukihiro Matsumoto)
07:05 AM Revision c635662d (git): dir.c: warning for NUL
* dir.c (rb_push_glob): warn NUL-separated glob patterns.
[Feature #14643]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:00 AM Bug #14219 (Rejected): package size of Ruby 2.5 is larger than 2.4
I postpone merging bundler into Ruby core. I will close this by stating it again. hsbt (Hiroshi SHIBATA)
06:57 AM Feature #13199 (Closed): Gemify strscan
I released strscan gem on rubygems.org
https://rubygems.org/gems/strscan
hsbt (Hiroshi SHIBATA)
06:43 AM Feature #14594: Rethink yield_self's name
After a long consideration, I decided to pick `then` as an alias to `yield_self`.
As @zverok stated it describes intention, not behavior.
Because `then` is a reserved word, it has some restriction, but I think it is acceptable.
Ma...
matz (Yukihiro Matsumoto)
05:55 AM Feature #14559 (Closed): ENV.slice
Applied in changeset trunk|r63188.
----------
Add slice method to ENV like Hash#slice
[Feature #14559]
From: Benoit Tigeot <benoit@hopsandfork.com>
nobu (Nobuyoshi Nakada)
05:22 AM Feature #14559: ENV.slice
It seems OK to me.
Matz.
matz (Yukihiro Matsumoto)
05:55 AM Revision ae92a9e4 (git): * 2018-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:55 AM Revision 9760a7f9 (git): Add slice method to ENV like Hash#slice
[Feature #14559]
From: Benoit Tigeot <benoit@hopsandfork.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:54 AM Bug #14662: Stack consistency error in 2.5.1
The dumped instructions seem no problem.
Can't you make small code to reproduce?
nobu (Nobuyoshi Nakada)

04/18/2018

04:54 PM Feature #6670: str.chars.last should be possible
While I myself have not needed str.chars.last, I can understand
why Yutaka HARA suggested it. Makes sense to me personally-
One comment on this:
> I feel that the lack of #last is a good thing. It's there
> ...
In general, in rub...
shevegen (Robert A. Heiler)
06:50 AM Feature #6670 (Assigned): str.chars.last should be possible
I have forgotten this ticket completely, and I have used `String#lines` with a block many times.
Will the methods really stop yielding each line in 3.0? I think that the current behavior (callback only if block is given, and always ret...
mame (Yusuke Endoh)
04:47 PM Feature #12912: An endless range `(1..)`
The idea is interesting (I think we currently can not specify
infinite ranges easily? Then again I myself have not yet had a
need to do so either); I am not sure if the syntax is good,
though.
shevegen (Robert A. Heiler)
03:04 PM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
> I'm wondering what is using the /Users/user name/AppData/Local/temp folder, as on my system, all TEMP/TMP env variables are set to different folders.
Now MJIT seems to use the result of rb_w32_system_tmpdir(), not just $TEMP or $TM...
k0kubun (Takashi Kokubun)
01:16 PM Feature #14426: [PATCH] openssl: reduce memory allocation in OpenSSL::Buffering#do_write
Any updates on this one? I think it would be nice to have this included in the next patch version. This will make memory usage during large file uploads consistent regardless of whether it's going to HTTP or HTTPS endpoint; currently upl... janko (Janko Marohnić)
11:47 AM Misc #14692: Question: Ruby stdlib's Option Parser
Hi,
The documentation of OptionParser says for further I can ask questions here.
Is there way to disable command/option completion ? I don't want a short "-f" option defined automatically if I declare "--file-name" , I have searche...
xz0r (xz0r xz0r)
10:59 AM Bug #14689: bootsnap gets object index out of range: 266287972352 (IndexError) since r63113
I have also validated the fix using "ruby 2.6.0dev (2018-04-18 trunk 63186) [x86_64-linux]"
Thank you.
yahonda (Yasuo Honda)
10:52 AM Feature #14594: Rethink yield_self's name
I actually liked the tip suggestion. rosenfeld (Rodrigo Rosenfeld Rosas)
04:03 AM Feature #14594: Rethink yield_self's name
I just like to stress that having an easy and short name is more important than having a name that correctly describes the behaviour. *`tap`* is also a horrible name that every ruby newbie has to look up first, still it is loved in the c... sowieso (So Wieso)
10:11 AM Feature #14672: Introduce a Date.safe_parse method
As pointed out by @ahorek, is not really good to use, raise, catch exceptions in ruby because yes...they are slow.
A one line rescue is what I used in the past, but it feels hacky and is a catch-all rescue which is never a good approach...
coorasse (Alessandro Rodi)
09:59 AM Feature #8573: Add String#format method(not an alias of String#%)
bozhidar (Bozhidar Batsov) wrote:
> naruse (Yui NARUSE) wrote:
> ...
That's too simple. What we need is how the requested feature _improves_ the situation. What's wrong with the status-quo? and how is that relaxed using `String#format`?
shyouhei (Shyouhei Urabe)
09:46 AM Feature #8573: Add String#format method(not an alias of String#%)
nobu (Nobuyoshi Nakada) wrote:
> Do you mean this?
> ...
I'd prefer something implemented in terms of sprintf.
bozhidar (Bozhidar Batsov)
09:44 AM Feature #8573: Add String#format method(not an alias of String#%)
naruse (Yui NARUSE) wrote:
> Show concrete use case.
How about simply:
~~~ ruby
"Hello, %s %s!".format("Mr.", "Bond")
~~~
bozhidar (Bozhidar Batsov)
07:57 AM Bug #14695: [2.5.1] `===` is 1.77x slower than `match?`
baweaver (Brandon Weaver) wrote:
> It appears that `===` is running a bit slower than `match?`
Accurate observation. Regexp#match? was introduced as a "faster alternative" to ordinary matches; see also https://bugs.ruby-lang.org/iss...
shyouhei (Shyouhei Urabe)
07:30 AM Bug #14695 (Closed): [2.5.1] `===` is 1.77x slower than `match?`
Was evaluating some of the `===` implementations while testing and came across this one:
~~~ ruby
# ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
require 'benchmark/ips'
def run_benchmark(title, **benchmarks)
p...
baweaver (Brandon Weaver)
07:41 AM Feature #14696 (Rejected): add optname SO_ORIGINAL_DST
SO_ORIGINAL_DST is defined at
https://github.com/torvalds/linux/blob/master/include/uapi/linux/netfilter_ipv4.h
get original dst while accepting a socket from iptables target REDIRECT
i made a pull request at github:
https://gi...
takafan (taka fan)
04:16 AM Bug #14693 (Closed): Segfault calling super+[] from redefined #backtrace
nobu (Nobuyoshi Nakada)
03:55 AM Bug #14693: Segfault calling super+[] from redefined #backtrace
`git bisect` shows that it is fixed at r61567.
And it seems to be introduced by [Feature #14141] r61154 (+ r61157).
wanabe (_ wanabe)
03:51 AM Bug #14691 (Closed): ANSI Erase in Line not working properly in Windows
Applied in changeset trunk|r63187.
----------
win32.c: fix CSI sequences to delete
* win32/win32.c (constat_apply): CSI 'J' and 'K' are defaulted to
1, not 0. [ruby-core:86560] [Bug #14691]
* win32/win32.c (constat_apply): "delete ...
nobu (Nobuyoshi Nakada)
03:51 AM Revision 55d3ed4b (git): win32.c: fix CSI sequences to delete
* win32/win32.c (constat_apply): CSI 'J' and 'K' are defaulted to
1, not 0. [ruby-core:86560] [Bug #14691]
* win32/win32.c (constat_apply): "delete before cursor" sequences
include the cursor position.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
02:07 AM Feature #14694 (Closed): TracePoint#parameters
Currently, we cannot get the block parameters' information in TracePoint b_call hooks.
Also, it is (possible but) not easy to get the method parameters in call hooks.
[1] https://speakerdeck.com/valich/automated-type-contracts-genera...
mame (Yusuke Endoh)

04/17/2018

11:18 PM Bug #14693 (Closed): Segfault calling super+[] from redefined #backtrace
~~~ text
opal:elia/errors-and-filenames-review ⤑ ruby -e 'class E < StandardError; def backtrace; super + []; end; end; raise E' ~/C/opal
Traceback (most recent call last):
-e: [BUG] Segmentation fault at 0x00007f950000...
elia (Elia Schito)
07:52 PM Revision 0f6a6654 (git): lib/uri/generic.rb: fix error in docs for URI::Generic#opaque
* lib/uri/generic.rb: [DOC] fix description of URI::Generic#opaque,
and add an example. According to RFC2396, opaque path components do not
use the slash "/" character, as opposed to hierarchical path components.
git-svn-id: svn+ssh...
stomar (Marcus Stollsteimer)
07:49 PM Revision ed510458 (git): lib/uri/ldap.rb: fix errors in docs for URI::LDAP
* lib/uri/ldap.rb: [DOC] fix errors in example code
for URI::LDAP.build and URI::LDAP.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
07:47 PM Revision 6a2b454b (git): lib/uri/file.rb: fix errors in docs for URI::File.build
* lib/uri/file.rb: [DOC] fix description and example for URI::File.build;
for file URIs the path component must be absolute, escaping of
absolute paths is only done for URI::FTP.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@631...
stomar (Marcus Stollsteimer)
07:46 PM Revision 5665092f (git): * 2018-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:46 PM Revision c38cb436 (git): lib/uri/file.rb: improve docs for URI::File
* lib/uri/file.rb: [DOC] fix invalid example code for URI::File.build
to make it syntax highlighted; drop unnecessary `puts';
fix unintended description list; fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63182 b2dd03...
stomar (Marcus Stollsteimer)
05:07 PM Feature #14684: IRB swallows exceptions
Hmm. Our hope would be to have this "easy" change back-ported to 2.3, 2.4, and 2.5 -- waiting until December to have it in final 2.6 seems a long time to wait for this? Please let us know how we can help. RubyBugs (A Nonymous)
02:11 PM Feature #14684: IRB swallows exceptions
I changed the tracker to "Feature", as I thought it would not need to backport.
But branch maintainers may have different opinion.
It seems easy to apply the commits to the old branches.
nobu (Nobuyoshi Nakada)
01:35 PM Feature #14684: IRB swallows exceptions
@nobu:
Would it be possible to back-port this to Ruby 2.3, 2.4, and 2.5?
Or, would you be willing to review patches from me to back-port this?
RubyBugs (A Nonymous)
04:56 PM Bug #14662: Stack consistency error in 2.5.1
Is there anything else I can do to help investigate this? jacobevelyn (Jacob Evelyn)
04:30 PM Misc #14692 (Assigned): Question: Ruby stdlib's Option Parser
Hi,
The documentation of OptionParser says for further I can ask questions here.
Is there way to disable command/option completion ? I don't want a short "-f" option defined automatically if I declare "--file-name" , I have searche...
xz0r (xz0r xz0r)
04:24 PM Bug #14691: ANSI Erase in Line not working properly in Windows
> has an off by one error
It's always these two major problems in the fields of computer and programming:
- Giving something a good name (see matz's recent comment on a matz bot AI rejecting not ideal names for an API)
- Simplicit...
shevegen (Robert A. Heiler)
03:06 PM Bug #14691 (Closed): ANSI Erase in Line not working properly in Windows
When I run the following commands in either the Windows 10 Command Prompt
~~~
ruby -e 'puts "Hello world!\e[D\e[D\e[K\nWhat is up?"'
ruby -e 'puts "Hello world!\e[D\e[D\e[0K\nWhat is up?"'
ruby -e 'puts "Hello world!\e[D\e[D\e[1K\n...
rsranger65 (Alex Gittemeier)
03:38 PM Feature #14344: refine at class level
Thanks Benoit. A couple of suggestions would be:
~~~
anonymous_refine
inline_refine
class_refine
refining
refine_class
~~~
Any of these would be fine I think - `anonymous_refine` gets across that it's creating an anonymous mo...
kddnewton (Kevin Newton)
08:52 AM Revision 8cd5ccdc (git): test/ruby/test_super.rb: Remove unused assertions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:47 AM Revision a30d133a (git): The test for TracePoint with thread had never worked correctly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:47 AM Revision fcdabb50 (git): The test for TracePoint#raised_exception had never worked correctly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:47 AM Revision 2881a6d4 (git): Remove the old disabled assertions for 1.8/1.9
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:26 AM Revision 84934e4f (git): Enable the assertions that had been disabled for historical reason
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:26 AM Revision 03514572 (git): Remove the assertions that have no meaning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:18 AM Revision dae960ed (git): Remove the disabled old tests for Ruby 1.8/1.9 feature change
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:18 AM Revision 91596bb7 (git): Use assert(false) for the path that is expected unreachable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
08:18 AM Revision c80339d0 (git): test/date/test_date_base.rb: removed
It depends upon calendar.so which is not bundled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:03 AM Revision c1d0768f (git): test/csv/test_features.rb: enable accidentally-disabled assertions
CSV.new does not yield the instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:38 AM Revision 7735e2da (git): test/zlib/test_zlib.rb (test_path): enable the accidentally-disabled assertion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:55 AM Feature #14688: Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
The described transition path makes sense (to me). shevegen (Robert A. Heiler)
04:12 AM Revision 7c35618c (git): string.c: suppress warning
* string.c (str_undump): get rid of warning C4129 by VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 AM Bug #14690: Invalid CMDARG state after command_args followed by tLBRACE_ARG
Will this be backported and if yes to which versions? whitequark (whitequark *)
01:27 AM Bug #14690: Invalid CMDARG state after command_args followed by tLBRACE_ARG
Thank you! ibylich (Ilya Bylich)
01:22 AM Bug #14690 (Closed): Invalid CMDARG state after command_args followed by tLBRACE_ARG
Applied in changeset trunk|r63168.
----------
parse.y: fix cmdarg in command_args
* parse.y (call_args): fix invalid CMDARG state after command_args
followed by tLBRACE_ARG. [ruby-core:86551] [Bug #14690]
From: Ilya Bylich <ibylich...
nobu (Nobuyoshi Nakada)
01:22 AM Revision 2b63a94d (git): * 2018-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 AM Revision f168dbd9 (git): parse.y: fix cmdarg in command_args
* parse.y (call_args): fix invalid CMDARG state after command_args
followed by tLBRACE_ARG. [ruby-core:86551] [Bug #14690]
From: Ilya Bylich <ibylich@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63168 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)

04/16/2018

10:45 PM Feature #13683: Add strict Enumerable#single
matz (Yukihiro Matsumoto) wrote:
> Hmm, I don't like the name `single`. Besides that, I think it may be useful for database access, but I don't see the use-case of this method for generic Enumerable.
> ...
I think of single as a method...
IotaSpencer (Ken Spencer)
12:46 PM Bug #14689 (Closed): bootsnap gets object index out of range: 266287972352 (IndexError) since r63113
Applied in changeset trunk|r63167.
----------
compile.c: align range
* compile.c (ibf_dump_object_struct): align range elements.
[ruby-core:86548] [Bug #14689]
nobu (Nobuyoshi Nakada)
06:52 AM Bug #14689 (Closed): bootsnap gets object index out of range: 266287972352 (IndexError) since r63113
# Steps to reproduce
~~~ text
$ rbenv install 2.6.0-dev
$ rbenv global 2.6.0-dev
$ git clone https://github.com/Shopify/bootsnap
$ cd bootsnap
$ bundle
$ rake
$ bundle exec bin/testunit
~~~
# Expected result as of r63112
~~~...
yahonda (Yasuo Honda)
12:46 PM Revision 58a20844 (git): compile.c: align range
* compile.c (ibf_dump_object_struct): align range elements.
[ruby-core:86548] [Bug #14689]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:33 PM Bug #14690 (Closed): Invalid CMDARG state after command_args followed by tLBRACE_ARG
~~~ ruby
assert_valid_syntax('let () { m(a) do; end }')
~~~
The patch that fixes it is attached.
tLBRACE_ARG does "CMDARG_PUSH(0)" in the lexer and then the parser leaves the "command_args" rule. The parser does "CMDARG_POP" to r...
ibylich (Ilya Bylich)
10:20 AM Revision b2839bac (git): [DOC] Fix links of cve [ci skip]
`http://www.cve.mitre.org/` seem to move `http://cve.mitre.org/`.
I can't access `http://www.cve.mitre.org/`.
[Fix GH-1857]
From: willnet <netwillnet@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63166 b2dd03c8-39d4-4d8...
k0kubun (Takashi Kokubun)
10:03 AM Feature #14344: refine at class level
I am a MRI committer. This is just my opinion, but I'm confident it is shared by other committers as well.
I believe changing the semantics of `refine` (to be using+Module.new+refine) based on whether the receiver is a Class or Module...
Eregon (Benoit Daloze)
09:38 AM Feature #14688: Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
I like this. If nobody has an objection, I want to `deprecate_constant` the old one, and would like the same fix for Net::ProtoServerError as well. k0kubun (Takashi Kokubun)
08:54 AM Revision 3b93a8bc (git): parse.y: `else` indent
* parse.y (keyword_else): warn less-indented `else` than `case`.
[ruby-core:86492] [Bug #14674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:12 AM Bug #14687 (Closed): TestM17N#test_str_dump, String.dump, frozen-string
Applied in changeset trunk|r63164.
----------
string.c: fix dumped suffix
* string.c (rb_str_dump): get rid of an error on evaling with
frozen-string-literal enabled. [ruby-core:86539] [Bug #14687]
nobu (Nobuyoshi Nakada)
07:12 AM Revision cea438b0 (git): string.c: fix dumped suffix
* string.c (rb_str_dump): get rid of an error on evaling with
frozen-string-literal enabled. [ruby-core:86539] [Bug #14687]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:37 AM Revision bfbf7a35 (git): * 2018-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:37 AM Revision 5b2b1130 (git): string.c: fix checking order
* string.c (str_undump): check for suffix before if Unicode escape
conflicts with it. the message "but used force_encoding" sounds
strange when it is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63162 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)

04/15/2018

04:12 PM Feature #14656: Improve mkmf error message when ruby.h is missing
nobu already solved this, but I wanted to make one comment to:
> Maybe the error message could hint at this solution?
I think one problem is that the splitting of packages is done
by distributions, not by the ruby core team or...
shevegen (Robert A. Heiler)
04:09 PM Feature #14666: nil.any?{} should return false
Let's let nil remain nil rather than maybe become maybe-nil. shevegen (Robert A. Heiler)
01:37 PM Feature #14688 (Closed): Net::HTTPResponse#value raises "Net::HTTPServerException" in 4xx response
Call `value` method to an instance of `Net::HTTPResponse` it raises `Net::HTTPServerException` in case of HTTP response status code is 4xx.
But HTTP response status code 4xx means "Client error response" not "Server response" so I thi...
unasuke (Yusuke Nakamura)

04/14/2018

04:51 PM Revision 5bae48bd (git): thread_sync.c: [DOC] fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
04:50 PM Revision 5e998633 (git): string.c: [DOC] fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
04:50 PM Revision 5b4a5c66 (git): gc.c: [DOC] fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
04:49 PM Revision 15192b64 (git): process.c: [DOC] fix grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
04:48 PM Revision 9d069981 (git): man/ruby.1: [DOC] fix grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
04:47 PM Revision d890fabe (git): lib/fileutils.rb: [DOC] fix typos and grammar
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
04:46 PM Revision f10a1348 (git): error.c: [DOC] minor fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
04:45 PM Revision 5c5b64c6 (git): random.c: improve docs for Random.bytes
* random.c: [DOC] improve language and RDoc markup in Random.bytes docs;
also adjust call-seq style of Random.bytes and Random#bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
04:43 PM Revision 136643a8 (git): * 2018-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:43 PM Revision 96827ee5 (git): complex.c: improve docs for Complex#{finite?,infinite?}
* complex.c: [DOC] correct term "real value" to "real part", and same
for imaginary part, in documentation for Complex#{finite?,infinite?}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
stomar (Marcus Stollsteimer)
02:05 PM Revision 0cd595cb (git): Extend timeout
On armv7 environment, the timeout is too short
http://rubyci.s3.amazonaws.com/scw-9d6766/ruby-trunk/log/20180319T191706Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:06 PM Feature #14684 (Closed): IRB swallows exceptions
Applied in changeset trunk|r63150.
----------
irb.rb: restore the last error
* lib/irb.rb (eval_input): restore the last error `$!`, as the
previous result. [Feature #14684]
* lib/irb/context.rb (evaluate): add `exception` keyword ...
nobu (Nobuyoshi Nakada)
01:05 PM Revision 9fa0d005 (git): irb.rb: restore the last error
* lib/irb.rb (eval_input): restore the last error `$!`, as the
previous result. [Feature #14684]
* lib/irb/context.rb (evaluate): add `exception` keyword argument
to set the last error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
12:49 PM Revision d6dc676d (git): irb/{context,workspace}.rb: use local_variable_set
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:36 PM Revision 69840745 (git): irb/context.rb: using input-method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom