Activity
From 01/05/2017 to 01/11/2017
01/11/2017
- 11:53 PM Revision d9421e13 (git): test/rinda/test_rinda: skip multicast tests for unsupported systems
- This allows "test-all" to pass on systems without multicast
support. I leave CONFIG_IP_MULTICAST unset in my Linux k... - 11:46 PM Revision 5c244d73 (git): test/fiddle/helper: remove special case for x86_64-linux
- RUBY_PLATFORM is "x86_64-linux" on a 32-bit (x86) Ruby built and
running on a 64-bit Linux kernel. I also have a /li... -
11:07 PM Bug #13116 (Rejected): modulo, divmod range problem: float_val % 1 may return 1.0
- `1.0 - 0.0.prev_float` results in 1.0 because of the finite precision.
-
04:51 PM Bug #13116: modulo, divmod range problem: float_val % 1 may return 1.0
- For what it's worth, this result fits in with with `modulo` is documented to be. The documentation states
> `x.modu... -
10:51 PM Feature #13103: [] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
- [email protected] wrote:
> SYS_getrandom and __NR_getrandom are defined in different headers. but
> your p... -
02:44 PM Feature #13103: [] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
- SYS_getrandom and __NR_getrandom are defined in different headers. but your doesn't change any #include directi...
-
04:41 AM Feature #13103: [] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
- [email protected] wrote:
> ----------------------------------------
> Feature #13103: [] random.c: use "_... - 10:38 PM Revision 1807c052 (git): * 2017-01-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:38 PM Revision 208018fb (git): random.c (fill_random_bytes_syscall): use "__NR_" prefix on Linux
- glibc still does not define the SYS_getrandom alias for
__NR_getrandom in the Linux kernel. However, installing
up-t... -
10:03 PM Bug #13018: end of file reached (EOFError) from SMTP
- [email protected] wrote:
> Assignee changed from Shugo Maeda to Eric Wong
>
> Toby Murray wrote:
> > Yields `... -
09:32 PM Bug #13018: end of file reached (EOFError) from SMTP
- Someone has commented on the Rails issue here: https://.com/rails/rails/issues/27298#issuecomment-269980037 tha...
-
03:13 PM Bug #13120: p [].class shows ThreadSafe::Array when it expects to show Array
- Verified that it has been addressed by using revision 57306.
~~~
$ ruby -v
ruby 2.5.0dev (2017-01-11 trunk 5730... -
04:13 AM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
- Applied in changeset r57305.
----------
variable.c: fix the condition to cache
* variable.c (rb_const_set): fix the... -
02:25 AM Bug #13120 (Open): p [].class shows ThreadSafe::Array when it expects to show Array
-
02:18 AM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
-
01:42 AM Bug #13120 (Open): p [].class shows ThreadSafe::Array when it expects to show Array
-
01:03 AM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
-
02:54 PM Bug #13114 (Closed): test failures since r57284
- r57305 で直ったようなので閉じます。
-
02:48 PM Revision 3e34d8a4 (git): lib/net/protocol.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:48 PM Feature #13124 (Open): Should #puts convert to external encoding?
- For instance:
puts "?\x00\x42\x30".force_encoding(Encoding::UTF_16LE)
?B0
puts "?\x00\x42\x30".for... -
01:32 PM Bug #13119: String#scrub ignores the block if the string encoding is not ASCII-compatible
- Thanks nobu for the amazingly quick fix!
-
01:41 AM Bug #13119 (Closed): String#scrub ignores the block if the string encoding is not ASCII-compatible
-
09:35 AM Feature #13123: NilClass#dig
- Tl;dr: use &.
Longer story:
Generally speaking, there are two major ways of how a null-ish object behaves; wheth... -
07:07 AM Feature #13123 (Closed): NilClass#dig
- We now have `Hash#dig`. We often have a variable that is either a hash or nil but we are not sure which. In such case...
-
05:06 AM Feature #13122: Special syntax for Hash#default_proc
- Realized I forgot commas in the examples:
~~~ruby
my_hash = {
key: "value",
*: proc { |h, k| h[k] = "other ... -
04:52 AM Feature #13122: Special syntax for Hash#default_proc
- Nobuyoshi Nakada wrote:
> What about
>
> ```ruby
> MY_HASH = Hash.new {|h, k| "other value"}.update(
> key: "... -
02:12 AM Feature #13122: Special syntax for Hash#default_proc
- What about
```ruby
MY_HASH = Hash.new {|h, k| "other value"}.update(
key: "value",
).freeze
```
? -
01:46 AM Feature #13122 (Rejected): Special syntax for Hash#default_proc
- The current Hash#default_proc flow usually looks something like this:
~~~ ruby
my_hash = { key: "value" }
my_has... -
04:12 AM Revision 1df80905 (git): variable.c: fix the condition to cache
- * variable.c (rb_const_set): fix the condition to cache the class
path and cache permanent or temporary path corres... -
02:31 AM Revision 90294641 (git): string.c: replacement and block
- * string.c (rb_enc_str_scrub): only one of replacement and block
is allowed. [ruby-core:79038] [Bug #13119]
git-s... -
02:18 AM Revision a3aa4da7 (git): string.c: yield invalid part
- * string.c (rb_enc_str_scrub): yield the invalid part only with
ASCII-incompatible. [ruby-core:79039] [Bug #13120]... -
01:06 AM Bug #13121 (Closed): Backport r57108 (fix memory corruption by width underflow)
-
01:03 AM Revision c763f0fb (git): string.c: block for scrub with ASCII-incompatible
- * string.c (rb_enc_str_scrub): honor the given block with
ASCII-incompatible encoding. [ruby-core:79039] [Bug #131... -
12:54 AM Bug #12924: Fiddle::TestFunction#test_nogvl_poll fails on macOS 10.12-10.12.1 Sierra
- Yes. This issue is marked "Third Party's Issue", which means we have nothing to do. This state is kind of close.
-
12:50 AM Feature #13118 (Closed): Array#at(*indexes); Array#at([indexes])
- No problem. Thank you anyway.
-
12:40 AM Feature #13118: Array#at(*indexes); Array#at([indexes])
- Well, I am an idiot. Read through the array spec twice and missed it both times. Please close.
01/10/2017
-
10:31 PM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
- It has been filed as Rails issue https://.com/rails/rails/issues/27631 and found there was a similar bug report...
-
04:50 PM Bug #13119 (Closed): String#scrub ignores the block if the string encoding is not ASCII-compatible
- String#scrub completely ignores the block if the string encoding is not ASCII-compatible.
This does not seem intende... -
03:42 PM Feature #13118: Array#at(*indexes); Array#at([indexes])
- `Array#values_at` already exists for this purpose:
~~~ ruby
a.values_at(0,1) #=> ["a", "b"]
a.values_at(0,0) #=>... -
01:52 PM Feature #13118 (Closed): Array#at(*indexes); Array#at([indexes])
- It is useful to have Array return a repeated permutation. Rather than add another method, we could overload Array#at ...
-
03:28 PM Bug #12613 (Closed): iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
- Applied in changeset r57300.
----------
compile.c: check compile
* compile.c (iseq_compile_each): check if sub node... - 03:28 PM Revision e4a2dd5f (git): * 2017-01-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:28 PM Revision 52b02ad2 (git): compile.c: check compile
- * compile.c (iseq_compile_each): check if sub nodes succeeded.
[ruby-core:76531] [Bug #12613]
git-svn-id: svn+ssh:... -
02:10 PM Bug #12924: Fiddle::TestFunction#test_nogvl_poll fails on macOS 10.12-10.12.1 Sierra
- Close? Seems to be fixed. OSX Sierra introduced breaking changes for loading dynamic libraries. Haskell 8 was broken...
-
01:41 PM Revision a3fb17f3 (git): rational.c: short circuit optimization
- * rational.c (nurat_reduce): short circuit when arguments are ONE,
nothing is needed.
git-svn-id: svn+ssh://ci.rub... -
01:37 PM Revision 14b3dc1e (git): rational.c: f_idiv
- * rational.c (f_idiv): call rb_int_idiv directly if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5729... -
01:29 PM Feature #12854: Proc#curry should return an instance of the class, not Proc
- Another pattern is Proc#multilens(tin, lenses, tout); where "tin" is a transformation from the input argument list to...
-
02:06 AM Feature #12854: Proc#curry should return an instance of the class, not Proc
- Defining complex functions with curry would be nontrivial:
~~~ ruby
double = ->(a)(a+a)
g = ->(a,b,c){ f.call(1,... -
12:32 PM Revision 1dd076c5 (git): lib/net/pop.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:18 PM Revision 3c199bb7 (git): numeric.c: short circuit optimization
- * numeric.c (fix_mul): short circuit when multiplication of Bignum
and 0 or 1 not to make a Bignum unnecessarily.
... - 10:57 AM Revision 93ff30bf (git): * 2017-01-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:57 AM Revision c54c60da (git): thread.c: fix todo
- * thread.c (rb_threadptr_pending_interrupt_check_mask): traverse
the super class chain instead of making ancestors ... -
07:56 AM Misc #13117 (Closed): Remove Japanese comment from lib/irb/slex.rb
- OK, closing. Please reopen in case something remains.
-
03:16 AM Misc #13117: Remove Japanese comment from lib/irb/slex.rb
- Can this ticket be closed now that Nobu change the comment to english?
01/09/2017
-
10:50 PM Feature #13110: Byte-based operations for String
- Benoit Daloze wrote:
> Shugo Maeda wrote:
> > Martin Dürst wrote:
> > > What about using UTF-32? It will use some ... -
03:03 PM Feature #13110: Byte-based operations for String
- Shugo Maeda wrote:
> Martin Dürst wrote:
> > What about using UTF-32? It will use some additional memory, but give ... -
12:41 PM Feature #13110: Byte-based operations for String
- Martin Dürst wrote:
> Shugo Maeda wrote:
> > Let me clarify my intention.
> >
> > I'd like to handle not only si... -
09:35 AM Feature #13110: Byte-based operations for String
- Shugo Maeda wrote:
> Let me clarify my intention.
>
> I'd like to handle not only singlebyte characters but multi... -
09:47 PM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- This appears to be fixed in latest trunk now. Is there any info on when a 2.4.1 will be released - seems like a pret...
-
03:01 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- When interrupted by a finalizer during setting up tailcall frame, a block argument on the stack was overwritten by th...
-
02:55 AM Bug #13107 (Closed): def_delegators causes random errors in MRI 2.4.0
- Applied in changeset r57293.
----------
vm_insnhelper.c: block argument at tailcall
* vm_insnhelper.c (vm_call_iseq... -
12:32 AM Bug #13107 (Feedback): def_delegators causes random errors in MRI 2.4.0
- Enabling trace instruction disables tail call optimization, too.
It seems like a bug of the optimization and GC.
Ho... -
10:21 AM Feature #13095: [] io.c (rb_f_syscall): remove deprecation notice
- [email protected] wrote:
> Kernel.syscall was a wrapper around syscall() or \_\_syscall() in libc, but it didn'... -
04:25 AM Feature #13095: [] io.c (rb_f_syscall): remove deprecation notice
- `Kernel.syscall` was a wrapper around `syscall()` or `__syscall()` in libc, but it didn't use the correct types for a...
-
09:06 AM Bug #13102: Confusing method name: Set#delete?
- Ryan Davis wrote:
> http://ruby-doc.org/stdlib-2.4.0/libdoc/set/rdoc/Set.html#method-i-delete-3F
>
> Compare to r... -
08:07 AM Bug #9569: SecureRandom should try /dev/urandom first
- Bart de Water wrote:
> Akira Tanaka wrote:
> > Please update the man page first, if it is really out-dated.
>
> ... -
07:51 AM Feature #13017: Switch SipHash from SipHash24 to SipHash13
- Yura Sokolov wrote:
> Crypto-analyse of SipHash (and best result for SipHash13)
> https://eprint.iacr.org/2014/722.... -
03:52 AM Bug #12705: yielding args to a lambda uses block/proc rather than lambda/method semantics
- What's the status?
Is the current behavior on a lambda proc is intentional, and has the spec been changed since 2.... -
03:32 AM Bug #12705 (Assigned): yielding args to a lambda uses block/proc rather than lambda/method semantics
-
02:55 AM Revision ff3496b0 (git): vm_insnhelper.c: block argument at tailcall
- * vm_insnhelper.c (vm_call_iseq_setup_tailcall): check interrupts
after set up the new frame, not the passed block ... - 02:45 AM Revision d4983225 (git): * 2017-01-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:45 AM Revision 474a7301 (git): slex.rb: japanese comment [ci skip]
- * lib/irb/slex.rb (postproc): translated a japanese comment in
ISO-2022-JP. [ruby-core:79017] [Misc #13117]
git-s... -
02:09 AM Misc #13117 (Closed): Remove Japanese comment from lib/irb/slex.rb
- The file lib/irb/slex.rb contains Japanese comment in ISO-2022-JP. This removes it.
01/08/2017
-
03:42 PM Bug #13116 (Rejected): modulo, divmod range problem: float_val % 1 may return 1.0
- mod, divmod range problem: float_val % 1 may return 1.0
x % y sometimes returns y (not in 0 <= result < y)
```r... -
11:50 AM Bug #13115 (Closed): `YAML.dump` outputs deperecated message even with delegated object
- `YAML.dump` outputs deprecated message if it calls with delegated object
but doesn't with inherited object:
~~~ r... -
05:51 AM Bug #13100 (Assigned): OpenSSL::PKey::EC#public_keyでGroup情報がコピーされない。
-
05:49 AM Bug #13114 (Closed): test failures since r57284
- r57284 の変更でいくつかのテストが失敗します。
最小の再現条件を絞り込もうとしたのですが、webrick/httpauth/basicauth だと再現するのに、個別の webrick/httpstatus と webri... -
04:17 AM Revision 6a680a5c (git): lib/getoptlong.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:04 AM Revision 868700a7 (git): test_io_console.rb: fix of old CentOS5
- * test/io/console/test_io_console.rb (test_winsize): on old CentOS5
window size seems unable to be set across a pty... -
03:51 AM Revision 4794ce55 (git): driver.rb: measure_target option [ci skip]
- * benchmark/driver.rb (BenchmarkDriver.load): restore
measure_target option from the loaded results.
git-svn-id: s... -
03:50 AM Revision 437a8cc4 (git): driver.rb: out output file when loading [ci skip]
- * benchmark/driver.rb: default output file is not used when
loading rawdata.
git-svn-id: svn+ssh://ci.ruby-lang.or... -
03:46 AM Revision caca9a47 (git): driver.rb: extract loop times [ci skip]
- * benchmark/driver.rb (BenchmarkDriver.load): extract loop times
from the loaded results to adjust the results.
gi... -
03:45 AM Revision 1bf10e33 (git): driver.rb: adjust name width [ci skip]
- * benchmark/driver.rb (show_results): count adjusted result marks
as the name width.
git-svn-id: svn+ssh://ci.ruby... -
02:34 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- Here's another that also fixes the problem, while keeping the optimisation from r55376.
I'll admit that I ha... -
02:11 AM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- The `mongo` gem is also affected by this bug (https://jira.mongodb.org/browse/RUBY-1191). Running the tests in the `s...
-
02:13 AM Bug #13113: Performance issue, const_set Module.new is too slow in Ruby 2.4
- benchmark results:
Execution time (sec)
name | 2.3.3| r57281| r57284
-------------------... -
01:46 AM Bug #13113 (Closed): Performance issue, const_set Module.new is too slow in Ruby 2.4
- Applied in changeset r57283.
----------
benchmarks for [Bug #13113] [ci skip] -
12:14 AM Bug #13113: Performance issue, const_set Module.new is too slow in Ruby 2.4
- Since r53376, anonymous module is resolved immediately by assignment to a constant, including the outer module.
-
01:59 AM Revision faf472a2 (git): variable.c: resolve permanent name only
- * variable.c (rb_const_set): resolve and cache class name
immediately only if the outer class/module has the name,
... -
01:46 AM Revision 8e980027 (git): benchmarks for [Bug #13113] [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/07/2017
-
11:02 PM Revision b4a55c1c (git): console.c: unpaired size
- * ext/io/console/console.c (console_set_winsize): reject unpaired
pixel size.
git-svn-id: svn+ssh://ci.ruby-lang.o... -
10:52 PM Bug #13112 (Closed): io/console io.winsize=[rows,cols] throws TypeError: no implicit conversion of false into Integer
- Applied in changeset r57280.
----------
console.c: OOB access
* ext/io/console/console.c (console_set_winsize): fix... -
06:19 AM Bug #13112 (Closed): io/console io.winsize=[rows,cols] throws TypeError: no implicit conversion of false into Integer
- The doc says
~~~
winsize = [rows, columns]
Tries to set console size. The effect depends on the platform and the... - 10:52 PM Revision 945934cc (git): * 2017-01-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:52 PM Revision 5b856ee1 (git): console.c: OOB access
- * ext/io/console/console.c (console_set_winsize): fix
out-of-bounds access. [ruby-core:79004] [Bug #13112]
git-sv... -
02:51 PM Bug #13113 (Closed): Performance issue, const_set Module.new is too slow in Ruby 2.4
- In Ruby 2.4, the following code is too slow.
~~~ ruby
5000000.times { Module.new.const_set(:X, Module.new) }
~... -
11:54 AM Revision d59dfcdb (git): adjust indent [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:31 AM Bug #12855 (Closed): Inconsistent keys identity in compare_by_identity Hash when using literals
- Applied in changeset r57278.
----------
fix optimization for hash aset/aref with fstring
by Eric Wong [ruby-c... -
11:31 AM Revision ac9f8145 (git): fix optimization for hash aset/aref with fstring
- by Eric Wong [ruby-core:78797].
I don't like the idea of making insns.def any bigger to support
a corner case, ... -
08:31 AM Revision 4dbbcc48 (git): bignum.c: unnecessary check
- * bignum.c (rb_cstr_parse_inum): remove unnecessary check.
successive sign is rejected by conv_digit.
git-svn-id: ... -
06:40 AM Feature #13110: Byte-based operations for String
- Nobuyoshi Nakada wrote:
> How about to let `s.index(/ああ/n, 4)` return 18?
What does `/ああ/n` represent in this con... -
03:01 AM Feature #13110: Byte-based operations for String
- How about to let `s.index(/ああ/n, 4)` return 18?
-
04:39 AM Bug #13111: Degraded performance for delegated methods through Forwardable module
- ***Update***:
I talked to @Yuki Nishijima and he pointed out that it is an issue with an `UnboundMethod` instance ... -
04:30 AM Bug #13111 (Closed): Degraded performance for delegated methods through Forwardable module
- After upgrading to Ruby 2.4.0 on my local machine while developing some changes on this gem: https://.com/gonze...
- 02:14 AM Revision 60172f01 (git): * 2017-01-07
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:14 AM Revision 9144d57b (git): lib/fileutils.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/06/2017
-
11:54 PM Feature #13110: Byte-based operations for String
- Eric Wong wrote:
> For reading and parsing operations, I'm not sure they're needed
> because IO#read/read_nonbloc... -
09:31 PM Feature #13110: Byte-based operations for String
- Kirk Haines <[email protected]> wrote:
> My software makes use of buffers of network data where the character
> e... -
04:24 PM Feature #13110: Byte-based operations for String
- Let me share my use case.
I'm implementing a text editor, in which the point of a buffer is represented by a byte-... -
04:02 PM Feature #13110 (Closed): Byte-based operations for String
- How about to add byte-based operations for String?
```ruby
s = "あああいいいあああ"
p s.byteindex(/ああ/, 4) #=> 18
x, y =... -
01:47 PM Bug #9569: SecureRandom should try /dev/urandom first
- Akira Tanaka wrote:
> Please update the man page first, if it is really out-dated.
This has happened with the Lin... -
12:43 PM Bug #13099: Binding#irb does not work outside of irb
- Shyouhei Urabe wrote:
> Silently requiring something reminds me of multi-threaded autoload situation. Is it OK?
... -
04:04 AM Bug #13099: Binding#irb does not work outside of irb
- Silently requiring something reminds me of multi-threaded autoload situation. Is it OK?
-
06:08 AM Bug #13102: Confusing method name: Set#delete?
- http://ruby-doc.org/stdlib-2.4.0/libdoc/set/rdoc/Set.html#method-i-delete-3F
Compare to regular delete, which alwa... -
04:27 AM Feature #13109: `using` in refinements is required to be physically placed before the refined method call
- I consider it's an intended behavior, but there's a room for improvement.
So I made this issue as a feature request.... -
01:15 AM Feature #13109 (Rejected): `using` in refinements is required to be physically placed before the refined method call
- When using refinements in one file, the `using` call needs to be physically placed before the refined method call.
... -
03:11 AM Revision 7802f01d (git): prelude.rb: Binding#irb [ci skip]
- * prelude.rb (Binding#irb): [EXPERIMENTAL] automatically require
irb and run. [ruby-core:78960] [Bug #13099]
git-... -
03:02 AM Revision 93824a5f (git): test_io.rb: squiggly heredoc
- * test/ruby/test_io.rb (test_threaded_flush): use squiggly here
document to strip leading spaces.
git-svn-id: svn+... - 02:05 AM Revision 32a75a9c (git): * 2017-01-06
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:05 AM Revision 761dd9a7 (git): lib/delegate.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/05/2017
-
11:31 PM Feature #13108 (Open): [Doc Request] Explicitly document Range#sum
- While `Range#sum` exists because it implements `Enumerable#sum`, it is not noted how it works. While it does provide ...
-
11:16 PM Bug #13099: Binding#irb does not work outside of irb
- Nobuyoshi Nakada wrote:
> You have to `require "irb"` by yourself.
> No plan to autoload "irb" by `binding.irb` now... -
11:09 PM Bug #13085: io.c io_fwrite creates garbage
- OK, different strategy; not as fast, but still better than what
we currently have.
[ v2] io.c (io_fwrite): c... -
12:58 PM Bug #13085: io.c io_fwrite creates garbage
- Another thread may make a substring of the buffer string during writing.
Then the temporarily frozen string becomes ... -
03:31 AM Bug #13085: io.c io_fwrite creates garbage
- [email protected] wrote:
> No.
> Your releases the GVL while unfreezing the string to be written.
> If the ... -
01:16 AM Bug #13085: io.c io_fwrite creates garbage
- No.
Your releases the GVL while unfreezing the string to be written.
If the write operation is blocked, other... -
01:02 AM Bug #13085: io.c io_fwrite creates garbage
- [email protected] wrote:
> Issue #13085 has been updated by Eric Wong.
>
> File 0001-io.c-io_fwrite-temporar... -
08:59 PM Bug #13107: def_delegators causes random errors in MRI 2.4.0
- Forgot to add the location reported for the error
/home/travis/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.r... -
07:34 PM Bug #13107 (Closed): def_delegators causes random errors in MRI 2.4.0
- In the Capybara project we use the rack_test gem which uses `def_delegators` to forward `flast_reponse` to `@rack_moc...
-
08:45 AM Bug #13106: Timeout does not wait for more than 120 seconds
- sorry. missed the last line of my output
~~~ text
8080 is open
2017-01-05 13:58:49 +0530
sec : 250 -> adde... -
08:44 AM Bug #13106 (Rejected): Timeout does not wait for more than 120 seconds
- Hi All,
I have encountered an issue where Timeout does not wait for more than 120 seconds when asked to wait for a... -
07:51 AM Bug #13105 (Closed): `String#to_f` and `String#to_r` don't stop at successive underscores
- `Integer()`, `Float()` and `Rational()` errs at successive underscores, and `String#to_i` stops the conversion there....
-
07:45 AM Bug #13104 (Closed): mathn.rb affects Rational literals
- Without mathn:
```
$ ruby -e 'p 1.0r'
(1/1)
```
With mathn:
```
$ ruby -rmathn -e 'p 1.0r'
1
```
Is... -
07:27 AM Revision f0f8234a (git): numeric.c: short circuit
- * numeric.c (int_pow): short circuit when y is 0, always return 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk... -
07:27 AM Revision 7ccae4d1 (git): bignum.c: fix rb_cstr_parse_inum endp
- * bignum.c (rb_cstr_parse_inum): stores the address of the first
invalid character when str is too big or contains ... -
01:55 AM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
- Of course, only for this case.
We can not assume the use case of a registry value generally, as you know. -
01:27 AM Bug #13081: resolv.rb may be the cause of the rubygems bug on Windows
- All registry read operations should warn and return an empty string, instead of `TypeError`?
- 01:00 AM Revision 9ae31cc4 (git): * 2017-01-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:00 AM Revision 1aeedce3 (git): lib/debug.rb: Specify frozen_string_literal: true.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Also available in: Atom