Project

General

Profile

Activity

From 01/11/2017 to 01/17/2017

01/17/2017

09:33 PM Bug #13134: Rational() inconsistency
I propose leaving the behavior the way it is. A float denominator is filled with possible unexpected behavior. For ex... snood1205 (Eli Sadoff)
08:59 AM Bug #13134 (Assigned): Rational() inconsistency
mrkn (Kenta Murata)
06:44 AM Bug #13134 (Closed): Rational() inconsistency
`Rational()` parses a float, an integer divided by an integer, and a float divided by an integer.
```ruby
Rationa...
nobu (Nobuyoshi Nakada)
12:54 PM Revision 556e3da4 (git): uri/generic.rb: fix exception on non-IP format
* lib/uri/generic.rb (URI::Generic#find_proxy): match IP address
no_proxy against resolved self IP address. [Fix G...
nobu (Nobuyoshi Nakada)
12:47 PM Revision 2a9dd6b8 (git): lib/pstore.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:14 AM Revision 6ef99fec (git): version.h: bump up patchlevel for r57356.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:13 AM Revision a1709f1d (git): win32/win32.c: fix r57351. rename PATH_MAX to MAX_PATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:31 AM Revision 22908245 (git): rinda/ring.rb (make_socket): do not keep socket on failures
This prevents leaked FD warnings on test/rinda/test_rinda.rb
when testing on a machine without multicast support.
gi...
Eric Wong
12:08 AM Bug #13085: io.c io_fwrite creates garbage
At least on Linux, this is probably the best performance we can get
with sockets. Unfortunately, this does not affe...
normalperson (Eric Wong)

01/16/2017

09:47 PM Feature #13133 (Rejected): TracePoint: Add event type for constant access
Hi there,
I've attached a patch to add a new `:constant_access` TracePoint event.
One feature and/or bug, depen...
burke (Burke Libbey)
09:42 PM Revision a34f9c7e (git): basicsocket (rsock_bsock_send): do not truncate return value
send(2) and sendto(2) syscalls return `ssize_t', use the
proper type and macro for converting to a Numeric VALUE.
gi...
Eric Wong
09:12 PM Bug #13132: [DOC] Improve documentation for Binding
Thanks, committed as r57352 normalperson (Eric Wong)
09:08 PM Bug #13132 (Closed): [DOC] Improve documentation for Binding
Applied in changeset r57352.
----------
doc: improve documentation for Binding [ci skip]
* remove explicit return f...
Anonymous
09:08 PM Revision 650a8ce8 (git): * 2017-01-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:08 PM Revision 103a6a4c (git): doc: improve documentation for Binding [ci skip]
* remove explicit return from code examples
* grammar fixes
* other small fixes
Patch by: Marcus Stollsteimer <sto.m...
Eric Wong
07:52 PM Bug #13058: Please backport r57135 and r57136
ruby_2_3 r57351 merged revision(s) 57135,57136. nagachika (Tomoyuki Chikanaga)
07:51 PM Revision 565b6da1 (git): merge revision(s) 57135,57136: [Backport #13058]
Fixed potentially buffer overrun.
* win32/win32.c (winnt_stat): the return value of `get_final_path` is the
...
nagachika (Tomoyuki Chikanaga)
07:46 PM Bug #13052: Array#combination segfaults if the Array is modified during iteration
ruby_2_3 r57350 merged revision(s) 57119. nagachika (Tomoyuki Chikanaga)
07:46 PM Revision aa983c4c (git): merge revision(s) 57119: [Backport #13052]
array.c: check array length every time after yielding
Since the Array may be modified during rb_yield(), the...
nagachika (Tomoyuki Chikanaga)
07:34 PM Bug #13042: gsub segfaults when the pattern is a matching string and the replacement has an unmatched named capture
ruby_2_3 r57349 merged revision(s) 57098. nagachika (Tomoyuki Chikanaga)
07:34 PM Revision f6e44a2a (git): merge revision(s) 57098: [Backport #13042]
re.c: non-regexp name reference
* re.c (rb_reg_regsub): other than regexp has no name references.
[ruby-co...
nagachika (Tomoyuki Chikanaga)
07:31 PM Bug #13034: rb_enc_ascget() does not handle 'needmore' error from rb_enc_procise_mbclen()
ruby_2_3 r57348 merged revision(s) 57078. nagachika (Tomoyuki Chikanaga)
07:31 PM Revision f327b5e2 (git): merge revision(s) 57078: [Backport #13034]
encoding.c: handle needmore error from rb_enc_precise_mbclen()
rb_enc_ascget() erroneously reports success e...
nagachika (Tomoyuki Chikanaga)
07:29 PM Bug #13014: Adding clang volatile fixes from FreeBSD and NetBSD
ruby_2_3 r57347 merged revision(s) 57020,57021. nagachika (Tomoyuki Chikanaga)
07:29 PM Revision 8cc98184 (git): merge revision(s) 57020,57021: [Backport #13014]
Add clang volatile fixes from FreeBSD and NetBSD.
Use volatile instead of optnone to avoid optimization whic...
nagachika (Tomoyuki Chikanaga)
07:21 PM Bug #13004: rb_get_kwargs はバグってないでしょうか?
ruby_2_3 r57346 merged revision(s) 56980,56981. nagachika (Tomoyuki Chikanaga)
07:21 PM Revision bc059aa6 (git): merge revision(s) 56980,56981: [Backport #13004]
extension.rdoc: fix rb_get_kwargs [ci skip]
* doc/extension.rdoc: [DOC] optional keyword arguments are
def...
nagachika (Tomoyuki Chikanaga)
07:19 PM Bug #12983: compatibility_version and current_version on Darwin are reversed
ruby_2_3 r57345 merged revision(s) 56905. nagachika (Tomoyuki Chikanaga)
07:19 PM Revision e9ab3c7c (git): merge revision(s) 56905: [Backport #12983]
Reverse compatibility_version and current_version for Darwin
The `compatibility_version` should have an API ...
nagachika (Tomoyuki Chikanaga)
07:09 PM Bug #12956: require a native library that yields the error 'incompatiable library version' shuts down the interpreter fatally
ruby_2_3 r57344 merged revision(s) 56832. nagachika (Tomoyuki Chikanaga)
07:09 PM Revision db4eec72 (git): merge revision(s) 56832: [Backport #12956]
dln.c: raise LoadError
* dln.c (dln_load): raise LoadError instead of fatal error on
recent OSX, dlclose s...
nagachika (Tomoyuki Chikanaga)
07:08 PM Bug #12974: Marshal.dump dumps core.
ruby_2_3 r57343 merged revision(s) 56894. nagachika (Tomoyuki Chikanaga)
07:08 PM Revision c6250c60 (git): merge revision(s) 56894: [Backport #12974]
marshal.c: fix infinite recursion
* marshal.c (check_userdump_arg): marshal_dump should not return
an inst...
nagachika (Tomoyuki Chikanaga)
06:59 PM Bug #12860: Splatting an argument does not obey left-to-right execution order
ruby_2_3 r57342 merged revision(s) 56469. nagachika (Tomoyuki Chikanaga)
06:59 PM Revision 3032b62d (git): merge revision(s) 56469: [Backport #12860]
* compile.c (setup_args): duplicate splatting array if more
arguments present to obey left-to-right executi...
nagachika (Tomoyuki Chikanaga)
06:50 PM Bug #12988: Calling `inspect` sometimes causes a segv
ruby_2_3 r57341 merged revision(s) 56938. nagachika (Tomoyuki Chikanaga)
06:50 PM Revision 47f64f1e (git): merge revision(s) 56938: [Backport #12988]
Stop reading past the end of `ivptr` array
If you have code like this:
```ruby
class A
de...
nagachika (Tomoyuki Chikanaga)
06:44 PM Bug #13049: Backport r57108 (sprintf.c: fix width underflow)
backported into ruby_2_3 at r57340. nagachika (Tomoyuki Chikanaga)
06:40 PM Bug #13121: Backport r57108 (fix memory corruption by width underflow)
ruby_2_3 r57340 merged revision(s) 57108. nagachika (Tomoyuki Chikanaga)
06:40 PM Revision 2e4b5a32 (git): merge revision(s) 57108: [Backport #13121]
sprintf.c: fix width underflow
* sprintf.c (rb_str_format): fix memory corruption by width
underflow. htt...
nagachika (Tomoyuki Chikanaga)
12:37 PM Revision 8e0ff63f (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:48 AM Bug #12970: == Equality of recursive sets fails
Also documentation at top of file says:
~~~ ruby
# * Set assumes that the identity of each element does not chang...
Esse (Piotr Szmielew)
03:14 AM Bug #13062 (Assigned): 2.4.0-rc1 BigDecimal regression - to_d inconsistent with other numeric classes
We continue this issue at https://github.com/ruby/bigdecimal/issues/51. mrkn (Kenta Murata)
02:56 AM Revision 4c021942 (git): test_rational.rb: messages
* test/ruby/test_rational.rb (test_parse): add messages to
assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
02:43 AM Revision edcec2b4 (git): * 2017-01-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:43 AM Revision 803621f6 (git): file.c: refine message
* file.c (rb_get_path_check_convert): refine the error message
when the path name contains null byte.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
02:20 AM Feature #13128 (Rejected): to all robots :)
duerst (Martin Dürst)

01/15/2017

08:17 PM Bug #13131: ArgumentError: string contains null byte
Benoit Daloze wrote:
> You inverted the order of the arguments, it's the filename first:
>
> IO.binwrite('/tm...
voobscout (voob scout)
05:03 PM Bug #13131 (Rejected): ArgumentError: string contains null byte
You inverted the order of the arguments, it's the filename first:
IO.binwrite('/tmp/test.txt', 0.chr)
Eregon (Benoit Daloze)
12:34 PM Bug #13131 (Rejected): ArgumentError: string contains null byte
Why does this not work?:
IO.binwrite(0.chr, '/tmp/test.txt')
If it's not a bug, then please somebody explain - ...
voobscout (voob scout)
04:13 PM Bug #13132 (Closed): [DOC] Improve documentation for Binding
* remove explicit return from code examples
* grammar fixes
* other small fixes
stomar (Marcus Stollsteimer)
01:45 PM Revision 992b0148 (git): s/SaveStringValue/SafeStringValue/
Fix a typo in extension.rdoc.
Signed-off-by: Akira Matsuda <[email protected]>
closes #1512
git-svn-id: svn+ssh://ci.r...
matsuda (Akira Matsuda)
06:08 AM Revision 53a1b9f2 (git): .gdbinit: refine rp [ci skip]
* .gdbinit (rp, output_string, rp): show the contents after NUL
char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
05:50 AM Revision 1d36a09d (git): rbinstall.rb: mimic rubygems wrapper script
* tool/rbinstall.rb (app_script_text): move shell script part
after comments generated by RubyGems. '#'-lines are c...
nobu (Nobuyoshi Nakada)
02:56 AM Revision 710d9384 (git): lib/profile.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:45 AM Revision 37a8a2a2 (git): rbinstall.rb: do nothing if bin script is same
* tool/rbinstall.rb (check_executable_overwrite): do nothing if
the existing file equals to the wrapper script to b...
nobu (Nobuyoshi Nakada)
12:15 AM Bug #13126: __dir__ in eval returns nil
Artem Shein wrote:
> I've replaced the "`File.dirname(File.realpath(__FILE__))`" in my source code with "`__dir__`" ...
nobu (Nobuyoshi Nakada)

01/14/2017

11:10 PM Bug #13130 (Closed): [DOC] Mention behavior of Array#join for nested arrays
Applied in changeset r57329.
----------
mention behavior of Array#join for nested arrays [ci skip]
The current docu...
Anonymous
08:42 PM Bug #13130 (Closed): [DOC] Mention behavior of Array#join for nested arrays
The current documentation for Array#join does not mention the special treatment of nested arrays.
It says:
> Re...
stomar (Marcus Stollsteimer)
11:09 PM Revision 0255bac7 (git): * 2017-01-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:09 PM Revision eeb36c5c (git): mention behavior of Array#join for nested arrays [ci skip]
The current documentation for Array#join does not mention the
special treatment of nested arrays.
It says:
> Returns...
Eric Wong
08:35 PM Bug #13126: __dir__ in eval returns nil
Nobuyoshi Nakada wrote:
> When the third argument is not given, `__FILE__` in `eval` is `"(eval)"`.
> Do you mean t...
metadeus (Artem Shein)
07:02 AM Bug #13126: __dir__ in eval returns nil
Artem Shein wrote:
> It should be the same as `File.dirname(__FILE__)` or at least `File.dirname(File.realpath(__FIL...
nobu (Nobuyoshi Nakada)
05:21 PM Feature #13129 (Assigned): Refinements cannot refine method_missing and respond_to_missing?
Refinements with method_missing and respond_to_missing? behaves very strangely.
```ruby
class C; end
using Mod...
matsuda (Akira Matsuda)
09:38 AM Revision 3408e9e3 (git): revert r57323
StringIO.new makes the buffer IO.default_external, while
StringIO.new("".dup) makes source encoding which is defaulte...
nobu (Nobuyoshi Nakada)
06:13 AM Revision c850c4ad (git): fix up r57322
* tool/rbinstall.rb: ruby_install_name is used too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57327 b2dd03c8...
nobu (Nobuyoshi Nakada)
02:26 AM Revision 8b8505d2 (git): resolv.rb: byte buffer
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): treat the
data as a byte buffer.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
02:26 AM Revision 2b2450ba (git): Made #decode_rdata client to catch errors
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#get_rr):
re-raise an exception from decode_rdata as DecodeErr...
nobu (Nobuyoshi Nakada)
02:06 AM Revision af5eae43 (git): * 2017-01-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:06 AM Revision c8a4b572 (git): StringIO.new makes a RW buffer
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:28 AM Feature #13128 (Rejected): to all robots :)
This language can be made psycheactive by a simple core concept ,holographic coding based on random generation of str... Dreamworldz (Plamen Stanchev)

01/13/2017

06:04 PM Bug #13127 (Closed): DRb `load': connection closed (DRb::DRbConnError) when client exit's from within a loop iterating over remote objects
Calling exit from a DRb client inside a do block while iterating over remote objects causes a DRb connection closed e... [email protected] (Madhu Kanoor)
03:54 PM Bug #13126: __dir__ in eval returns nil
Shyouhei Urabe wrote:
> Can you show us your expectation? Should what be the value for `__dir__` inside of an `eval...
metadeus (Artem Shein)
12:34 AM Bug #13126 (Feedback): __dir__ in eval returns nil
Can you show us your expectation? Should what be the value for `__dir__` inside of an `eval`? shyouhei (Shyouhei Urabe)
02:15 PM Revision bc388526 (git): fix prolog in gem wrapper scripts
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:08 PM Revision 82f61a13 (git): lib/observer.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:31 AM Bug #13085: io.c io_fwrite creates garbage
[email protected] wrote:
> File 0001-v2-io.c-io_fwrite-copy-to-hidden-buffer-when-writing.patch added
>
> OK...
normalperson (Eric Wong)
05:58 AM Revision 0f78a6a1 (git): rbinstall.rb: LIBRUBY_RELATIVE
* tool/rbinstall.rb: see LIBRUBY_RELATIVE in CONFIG instead of
reading config.h.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
05:49 AM Revision 5dc87d5b (git): insns.def: float comparison
* insns.def (opt_lt, opt_le, opt_gt, opt_ge): optimize flonum and
on-heap float comparison.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
03:24 AM Revision c2c01570 (git): error.c: moved
* error.c (preface_dump, postscript_dump): CrashReporter directory
was used before Mac OS X 10.6.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
02:57 AM Revision 81cb9aa5 (git): error.c: moved
* error.c (preface_dump, postscript_dump): moved from
rb_vm_bugreport to place the last important message at the ve...
nobu (Nobuyoshi Nakada)
01:46 AM Revision a51cf134 (git): * 2017-01-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:46 AM Revision d569c0c5 (git): vm_dump.c: postscript_dump
* vm_dump.c (postscript_dump): mention crash report log twice
because important.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)

01/12/2017

05:07 PM Feature #12957: A more OO way to create lambda Procs
I want this too
```ruby
MyLambda = Class.new Proc
```
I want `MyLambda{|x| x + 1}.lambda?` to == `true`
I...
dsisnero (Dominic Sisneros)
12:57 PM Bug #13126 (Closed): __dir__ in eval returns nil
~~~
$ ruby -e 'eval "p File.dirname(__FILE__); p __dir__"'
"."
nil
~~~
metadeus (Artem Shein)
12:17 PM Revision 6ca3028e (git): lib/net/smtp.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:56 AM Feature #13125 (Closed): MRI has too much Qtrue : Qfalse;
```
% git grep -P 'Q(true|false|nil|undef)\s+:\s+Q(true|false|nil|undef)' | wc -l
211
```
Out of those 211 occu...
shyouhei (Shyouhei Urabe)
07:41 AM Revision 14a730e9 (git): immediate message mode of compile error
* compile.c (append_compile_error): set Qtrue for erred state with
showing the message immediately.
* iseq.c (prep...
nobu (Nobuyoshi Nakada)
05:43 AM Revision 257fd901 (git): compile.c: invalid yield in main
* compile.c (iseq_compile_each): yield cannot be in the main
context as well as a top context.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
02:20 AM Bug #13018: end of file reached (EOFError) from SMTP
Shugo Maeda wrote:
> Can we close this issue by fixing backtrace information?
Closed by r57311, but feel free to...
shugo (Shugo Maeda)
02:19 AM Bug #13018 (Closed): end of file reached (EOFError) from SMTP
Applied in changeset r57311.
----------
lib/net/protocol.rb: preserve backtrace information
BufferedIO#rbuf_fill sh...
shugo (Shugo Maeda)
01:42 AM Bug #13018: end of file reached (EOFError) from SMTP
Shugo Maeda <[email protected]> wrote:
> May I fix it to preserve the backtrace information, or would you?

Sur...
normalperson (Eric Wong)
01:32 AM Bug #13018: end of file reached (EOFError) from SMTP
Toby Murray wrote:
> Someone has commented on the Rails issue here: https://github.com/rails/rails/issues/27298#is...
shugo (Shugo Maeda)
02:19 AM Revision 58935eb8 (git): lib/net/protocol.rb: preserve backtrace information
BufferedIO#rbuf_fill should preserve backtrace information when raising
EOFError. Otherwise, users get confused when...
shugo (Shugo Maeda)

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...
Eric Wong
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...
Eric Wong
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. nobu (Nobuyoshi Nakada)
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...
snood1205 (Eli Sadoff)
10:51 PM Feature #13103: [PATCH] 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...
normalperson (Eric Wong)
02:44 PM Feature #13103: [PATCH] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
SYS_getrandom and __NR_getrandom are defined in different headers. but your patch doesn't change any #include directi... kosaki (Motohiro KOSAKI)
04:41 AM Feature #13103: [PATCH] random.c: use "__NR_" syscall prefix on Linux (instead of "SYS_")
[email protected] wrote:
> ----------------------------------------
> Feature #13103: [PATCH] random.c: use "_...
normalperson (Eric Wong)
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 svn[bot]
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...
Eric Wong
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 `...
normalperson (Eric Wong)
09:32 PM Bug #13018: end of file reached (EOFError) from SMTP
Someone has commented on the Rails issue here: https://github.com/rails/rails/issues/27298#issuecomment-269980037 tha... tobymurray-nanometrics (Toby Murray)
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...
yahonda (Yasuo Honda)
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...
nobu (Nobuyoshi Nakada)
02:25 AM Bug #13120 (Open): p [].class shows ThreadSafe::Array when it expects to show Array
nobu (Nobuyoshi Nakada)
02:18 AM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
nobu (Nobuyoshi Nakada)
01:42 AM Bug #13120 (Open): p [].class shows ThreadSafe::Array when it expects to show Array
nobu (Nobuyoshi Nakada)
01:03 AM Bug #13120 (Closed): p [].class shows ThreadSafe::Array when it expects to show Array
nobu (Nobuyoshi Nakada)
02:54 PM Bug #13114 (Closed): test failures since r57284
r57305 で直ったようなので閉じます。 znz (Kazuhiro NISHIYAMA)
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 znz (Kazuhiro NISHIYAMA)
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...
Eregon (Benoit Daloze)
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! Eregon (Benoit Daloze)
01:41 AM Bug #13119 (Closed): String#scrub ignores the block if the string encoding is not ASCII-compatible
nobu (Nobuyoshi Nakada)
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...
shyouhei (Shyouhei Urabe)
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... sawa (Tsuyoshi Sawada)
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 ...
woodruffw (William Woodruff)
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: "...
woodruffw (William Woodruff)
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
```
?
nobu (Nobuyoshi Nakada)
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...
woodruffw (William Woodruff)
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...
nobu (Nobuyoshi Nakada)
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...
nobu (Nobuyoshi Nakada)
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]...
nobu (Nobuyoshi Nakada)
01:06 AM Bug #13121 (Closed): Backport r57108 (fix memory corruption by width underflow)
nagachika (Tomoyuki Chikanaga)
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...
nobu (Nobuyoshi Nakada)
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. shyouhei (Shyouhei Urabe)
12:50 AM Feature #13118 (Closed): Array#at(*indexes); Array#at([indexes])
No problem. Thank you anyway. shyouhei (Shyouhei Urabe)
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. crb002 (Chad Brewbaker)
 

Also available in: Atom