Project

General

Profile

Activity

From 06/18/2018 to 06/24/2018

06/24/2018

10:08 PM Revision 8c8247c6 (git): * 2018-06-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:08 PM Revision 8b590c46 (git): UNIXSocket#recv_io: trigger GC when out of FDs
Make this behavior is consistent with our other FD-allocating
methods.
EMFILE and ENFILE are not documented nor can ...
Eric Wong
09:51 PM Bug #14846: Backport fixes for Kernel#warn(uplevel:)
I think those changes related to uplevel: should also be backported, unless they are already part of 2.5 of course:
...
Eregon (Benoit Daloze)
12:42 PM Bug #14867: Process.wait can wait for MJIT compiler process
> ```diff
> +++ b/process.c
> @@ -1348,6 +1348,9 @@ after_exec_non_async_signal_safe(void)
> {
> rb_th...
normalperson (Eric Wong)
12:22 PM Bug #14867: Process.wait can wait for MJIT compiler process
> > File 0001-hijack-SIGCHLD-handler-for-internal-use.patch added
>
> Scratch that, slightly buggy. Will fix in a...
normalperson (Eric Wong)
04:04 AM Bug #14867: Process.wait can wait for MJIT compiler process
> File 0001-hijack-SIGCHLD-handler-for-internal-use.patch added

Scratch that, slightly buggy. Will fix in a bit.
normalperson (Eric Wong)
12:36 PM Bug #14868 (Closed): [PATCH] process.c (ruby_fork_ruby): fix race in signal handling
Applied in changeset trunk|r63741.
----------
process.c (ruby_fork_ruby): fix race in signal handling
We must block...
normalperson (Eric Wong)
12:34 PM Bug #14868 (Closed): [PATCH] process.c (ruby_fork_ruby): fix race in signal handling
process.c (ruby_fork_ruby): fix race in signal handling
We must block signals before stopping timer-thread, otherw...
normalperson (Eric Wong)
12:36 PM Revision 4bbdb9ea (git): process.c (ruby_fork_ruby): fix race in signal handling
We must block signals before stopping timer-thread, otherwise
signal handing may be delayed until (and if) another si...
Eric Wong
11:07 AM Revision 042395a7 (git): test_process.rb: skip tests for Bug 14867
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
10:30 AM Revision 57671621 (git): process.c (after_fork_ruby): make it a proper function
Improves readability to me, and there's no point in using
macros for this with decent compilers.
git-svn-id: svn+ssh...
Eric Wong
09:31 AM Revision be850d7b (git): test/net/http/test_httpresponse.rb: add testcases for net/httpresponse
This change adds testcases for Response#inspect and #code_type, and
improves line coverage of lib/net/http/response.r...
mame (Yusuke Endoh)
09:31 AM Revision 103b5063 (git): lib/prime.rb: remove unused methods
This change removes TrialDivision#cache, TrialDivision#primes, and
TrialDivision#primes_so_far.
TrialDivision class ...
mame (Yusuke Endoh)
09:31 AM Revision dc4ab636 (git): * 2018-06-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:31 AM Revision fdf2322d (git): test/test_prime.rb: add testcases of prime library
This change improves line coverage of prime.rb from 86% to 99%.
A patch from @shio-phys. https://github.com/ruby/pri...
mame (Yusuke Endoh)
05:18 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Hi,
Sorry to reply late.
Thank you for your quick help and fix.
I have tried the same code more than 1,000,000...
hirura (Hiroyuki URANISHI)
01:04 AM Bug #14858: Introduce 2nd GC heap named Transient heap
[email protected] wrote:
> * Support String (most important)

I expect this will be difficult, too.

Too many place...
normalperson (Eric Wong)

06/23/2018

07:12 PM Bug #14831 (Closed): [BUG] Segmentation fault at 0x0000000000000020 ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin17]
vo.x (Vit Ondruch)
07:07 PM Feature #14813: [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
Just FTR, Ruby in Fedora/RHEL has built in support for SystemTap.
Not sure what r63581 really does, but you might ...
vo.x (Vit Ondruch)
06:39 PM Feature #14718: Use jemalloc by default?
Fedora and RHEL Ruby maintainer here. Just a few remarks.
mperham (Mike Perham) wrote:
> ~~~
> Bundle jemalloc a...
vo.x (Vit Ondruch)
05:55 PM Misc #14769: DevelopersMeeting20180621Japan
Thanks again shyouhei! shevegen (Robert A. Heiler)
04:02 PM Bug #14867: Process.wait can wait for MJIT compiler process
Tested on FreeBSD 11.1 and Linux
https://80x24.org/spew/[email protected]/raw
normalperson (Eric Wong)
02:29 PM Bug #14867 (Open): Process.wait can wait for MJIT compiler process
k0kubun (Takashi Kokubun)
01:42 PM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
Applied in changeset commit:ruby-git|359dd59db2512d801bb983f98bede4fc598f139a.
----------
spec: skip Process wait sp...
k0kubun (Takashi Kokubun)
10:26 AM Bug #14867: Process.wait can wait for MJIT compiler process
I think Process.wait can simply ignore pids of MJIT-workers and just keep waiting, that seems the easiest solution to... Eregon (Benoit Daloze)
09:23 AM Bug #14867: Process.wait can wait for MJIT compiler process
> We can implement Process.wait with a global SIGCHLD handler and mask out PIDs used by MJIT
If it's portable enou...
k0kubun (Takashi Kokubun)
09:12 AM Bug #14867: Process.wait can wait for MJIT compiler process
[email protected] wrote:
> Deprecate Process.wait.

Please don't.

We can implement Process.wait with a global SIGCH...
normalperson (Eric Wong)
09:03 AM Bug #14867: Process.wait can wait for MJIT compiler process
> One idea that MJIT invokes compiler via a invoker process
I prefer the idea in general, rather than deprecating ...
k0kubun (Takashi Kokubun)
08:43 AM Bug #14867 (Open): Process.wait can wait for MJIT compiler process
k0kubun (Takashi Kokubun)
08:29 AM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
Applied in changeset trunk|r63731.
----------
spec: skip Process wait specs on MJIT
until [Bug #14867] is fixed. I ...
k0kubun (Takashi Kokubun)
08:14 AM Bug #14867: Process.wait can wait for MJIT compiler process
I think it is bit difficult to solve.
It seems Solaris have good feature: POSIX_SPAWN_WAITPID_NP for posix_spawn.
...
akr (Akira Tanaka)
07:39 AM Bug #14867 (Closed): Process.wait can wait for MJIT compiler process
If Ruby tries to wait for any child process, MJIT's gcc/clang process could be caught by the method call. It's not co... k0kubun (Takashi Kokubun)
02:11 PM Revision e1be4488 (git): mjit.c: disable calling JIT-ed code
when TracePoint is enabled. We're cancelling JIT-ed code execution AFTER
each instruction, but there is no guard befo...
k0kubun (Takashi Kokubun)
01:58 PM Revision a62a776d (git): gc.c (ruby_mimmalloc): add initialize code for USE_GC_MALLOC_OBJ_INFO_DETAILS
We often had SEGV in ruby_xfree when USE_GC_MALLOC_OBJ_INFO_DETAILS is 1
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
Masaya Tarui
01:41 PM Revision 06f54f03 (git): mjit.c: unify the variable name with method name
`RubyVM::MJIT.enabled?`.
It's set to be TRUE even before initialization is finished.
So it was actually not "mjit in...
k0kubun (Takashi Kokubun)
09:03 AM Feature #5778: Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
[email protected] wrote:
> @normalperson, could you handle this ticket?
> https://bugs.ruby-lang.org/issues/5778#...
normalperson (Eric Wong)
08:29 AM Revision 359dd59d (git): spec: skip Process wait specs on MJIT
until [Bug #14867] is fixed. I want to start running CI with MJIT
enabled before fixing the problem.
git-svn-id: svn...
k0kubun (Takashi Kokubun)
08:22 AM Bug #5737: WEBrick doesn't support keep alive connections for 204 and 304 responses
[email protected] wrote:
> Looks to me we don't have to keep this ticket open, but just in case, I reassign this t...
normalperson (Eric Wong)
08:05 AM Bug #14866: [PATCH] add missing test for WEBrick::HTTPAuth::Htgroup
Thanks. I will pick your patch from ruby/webrick repository. hsbt (Hiroshi SHIBATA)
07:35 AM Bug #14866: [PATCH] add missing test for WEBrick::HTTPAuth::Htgroup
Merged this in GitHub: https://github.com/ruby/webrick/pull/10 make_now_just (Hiroya Fujinami)
07:31 AM Bug #14866 (Closed): [PATCH] add missing test for WEBrick::HTTPAuth::Htgroup
I found a test for WEBrick::HTTPAuth::Htgroup is missing. This patch adds the test. Thank you. make_now_just (Hiroya Fujinami)
07:31 AM Bug #14862: Time.parse does not handle the time zone
@Hanmac
Yeah, we can use strptime, but we still have problem, because the results is still the same, in details:
...
mifrill (Aleksey Strizhak)
07:21 AM Misc #14854 (Closed): mjit (2.6.0-preview2) enabled on cygwin
Applied in changeset trunk|r63730.
----------
mjit.c: initial cygwin support
thread_pthread.c: Drop pthread_attr_se...
k0kubun (Takashi Kokubun)
07:21 AM Revision ea0cede5 (git): mjit.c: initial cygwin support
thread_pthread.c: Drop pthread_attr_setscope usage. It seems that,
at least on Linux and macOS, PTHREAD_SCOPE_PROCESS...
k0kubun (Takashi Kokubun)
04:57 AM Revision d62b7e13 (git): [DOC] Add call signature for {Array,Hash}#any?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
04:56 AM Revision c7ab4f6d (git): test/ruby/test_settracefunc.rb: fix NoMethodError
* test/ruby/test_settracefunc.rb (test_trace_point_raising_exception_in_bmethod_call):
this test run in separate pr...
ktsj (Kazuki Tsujimoto)
04:54 AM Bug #14865 (Closed): Raising exception in c_return event hook causes infinite loop
Applied in changeset trunk|r63727.
----------
vm.c: fix infinite loop
* vm.c: use EXEC_EVENT_HOOK_AND_POP_FRAME. Wh...
ktsj (Kazuki Tsujimoto)
04:51 AM Bug #14865 (Closed): Raising exception in c_return event hook causes infinite loop
c_returnのイベントフックの中で例外を起こすと無限ループになるケースがあります。
例外発生時にフレームがポップされずスタックに残り続けてしまうのが原因です。
~~~
$ cat t.rb
TracePoint.new...
ktsj (Kazuki Tsujimoto)
04:52 AM Revision 289dcb30 (git): vm.c: fix infinite loop
* vm.c: use EXEC_EVENT_HOOK_AND_POP_FRAME. While exception handling, if an exception
is raised in hooks, need to po...
ktsj (Kazuki Tsujimoto)
04:45 AM Revision 3b51b2fa (git): vm.c: fix typo in function name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
03:47 AM Revision 31d7e56b (git): * 2018-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 AM Revision b4455439 (git): thread_pthread.c (native_sleep): do not clear unblock.arg
It is unnecessary to clear unblock.arg once unblock.func is
cleared, and unblock_function_clear in thread.c doesn't
t...
Eric Wong
01:23 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
nobu (Nobuyoshi Nakada) wrote:
> I don't think that it is consistent enough.
Correction:
I *think* that it is co...
nobu (Nobuyoshi Nakada)
01:22 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
The result encoding is determined by the encodings of the array's contents, and the locale is not related to it.
US-...
nobu (Nobuyoshi Nakada)

06/22/2018

10:12 PM Feature #14859: [PATCH] implement Timeout in VM
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > [email protected] wrote:
> > > Something els...
normalperson (Eric Wong)
10:20 AM Feature #14859: [PATCH] implement Timeout in VM
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > Something else, I would consider Timeout to be fun...
Eregon (Benoit Daloze)
01:04 AM Feature #14859: [PATCH] implement Timeout in VM
> stop providing it.

I meant: stop using rb_provide("timeout.rb")
normalperson (Eric Wong)
12:42 AM Feature #14859: [PATCH] implement Timeout in VM
[email protected] wrote:
> Should lib/timeout.rb be removed then?

Also, I might keep compatibility code in time...
normalperson (Eric Wong)
11:57 AM Revision 10485be8 (git): remove debug print
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:10 AM Revision fab030c2 (git): check net.core.wmem_default and max instead of tcp
https://travis-ci.org/ruby/ruby/jobs/395416137
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63722 b2dd03c8-39d4...
naruse (Yui NARUSE)
10:53 AM Revision 38d0219a (git): show net.ipv4.tcp_wmem to debug failure on travis
https://travis-ci.org/ruby/ruby/builds/395318841
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63721 b2dd03c8-39...
naruse (Yui NARUSE)
08:47 AM Bug #14864 (Closed): some old linux has no O_CLOEXEC
Applied in changeset trunk|r63720.
----------
dir.c: define O_CLOEXEC for older systems
SuSE 10 has openat(), but n...
normalperson (Eric Wong)
06:03 AM Bug #14864 (Closed): some old linux has no O_CLOEXEC
I get some error when building ruby on suse 10,
~~~
compiling dir.c
dir.c: In function ‘nogvl_opendir_at’:
dir.c...
wangpeiwen (沛文 王)
08:47 AM Revision 45765e94 (git): dir.c: define O_CLOEXEC for older systems
SuSE 10 has openat(), but not O_CLOEXEC
Reported-by: wangpeiwen
[ruby-core:87591] [Bug #14864]
git-svn-id: svn+ssh...
Eric Wong
08:33 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
Koichi Sasada <[email protected]> wrote:
> Sorry for late response.

No problem.

> On 2018/06/13 18:59, Eric Wong ...
normalperson (Eric Wong)
07:22 AM Feature #14767: [PATCH] gc.c: use monotonic counters for objspace_malloc_increase
Sorry for late response.

On 2018/06/13 18:59, Eric Wong wrote:
> Unfortunately, adding lazy sweep steps (gc_swee...
ko1 (Koichi Sasada)
08:28 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
Thanks for the clarification. What I try to solve with this proposal is the empty array #join returning a string whic... xsimov (Xavier Simó)
06:18 AM Bug #14863 (Feedback): Array#join with empty array returns empty string always in US-ASCII encoding
nobu (Nobuyoshi Nakada)
06:17 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
xsimov (Xavier Simó) wrote:
> My proposal to return the string in the locale encoding of the running ruby is so that...
nobu (Nobuyoshi Nakada)
08:12 AM Bug #14858: Introduce 2nd GC heap named Transient heap
[email protected] wrote:
> Thank you. It should be fixed.
> (I'll use `posix_memalign` for `blocks_alloc_header_to_blo...
normalperson (Eric Wong)
06:49 AM Bug #14858: Introduce 2nd GC heap named Transient heap
> Thanks, I can confirm a good result with this. However, 32k
> is too small to be worth using mmap on.
> And maybe...
ko1 (Koichi Sasada)
06:17 AM Revision 3839734b (git): thread.c (sleep_timespec): avoid needless update w/o spuriuos check
No point in wasting cycles updating the timespec when not
checking on spurious wakeups.
git-svn-id: svn+ssh://ci.rub...
Eric Wong
04:13 AM Revision 64a189d2 (git): remove DISABLE_RUBYGEMS from config files
* configure.ac: removed DISABLE_RUBYGEMS macro from config.h, not
to rebuild everything when the flag changed.
* c...
nobu (Nobuyoshi Nakada)
03:07 AM Revision 0ad9c005 (git): test/ruby/test_range.rb: add a test for endless range's min with comparison
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
02:58 AM Bug #14699 (Closed): Subtle behaviors with endless range
Applied in changeset trunk|r63715.
----------
range.c: Range#size now returns Float::INFINITY if it is endless
Fixe...
mame (Yusuke Endoh)
02:58 AM Bug #14845 (Closed): Endless Range with nil
Applied in changeset trunk|r63714.
----------
range.c: Range#to_a now raises RangeError if it is endless
Fixes [Bug...
mame (Yusuke Endoh)
02:58 AM Revision cae45174 (git): range.c: Range#last and #max raises a RangeError if it is endless
Also, Range#min raises an error if it is endless and a comparison method
is specified.
git-svn-id: svn+ssh://ci.ruby...
mame (Yusuke Endoh)
02:58 AM Revision 34261930 (git): range.c: Range#size now returns Float::INFINITY if it is endless
Fixes [Bug #14699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:58 AM Revision c19ecf05 (git): range.c: Range#to_a now raises RangeError if it is endless
Fixes [Bug #14845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:43 AM Bug #14841 (Closed): Very rarely IO#readpartial does not raise EOFError
Applied in changeset commit:ruby-git|501069b8a4013f2e3fdde35c50e9527ef0061963.
----------
thread_sync.c (rb_mutex_lo...
Anonymous
02:42 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
This affects all versions, but is most easily triggered in 2.5+
normalperson (Eric Wong)
02:41 AM Bug #14841 (Open): Very rarely IO#readpartial does not raise EOFError
normalperson (Eric Wong)
02:32 AM Bug #14841 (Closed): Very rarely IO#readpartial does not raise EOFError
Applied in changeset trunk|r63711.
----------
thread_sync.c (rb_mutex_lock): fix deadlock
* thread_sync.c (rb_mutex...
normalperson (Eric Wong)
02:43 AM Revision 3afb7733 (git): vm_core.h (rb_vm_t): make sleeper non-volatile
vm->sleeper is never modified in signal handlers or without GVL,
so there's no need for volatile hocus-pocus.
git-sv...
Eric Wong
02:35 AM Feature #14781: Enumerator.generate
I'm not very fond of `generate` because it's not the only way to generate an Enumerator. There could be more to come. knu (Akinori MUSHA)
02:32 AM Revision 97fcb450 (git): * 2018-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:32 AM Revision 501069b8 (git): thread_sync.c (rb_mutex_lock): fix deadlock
* thread_sync.c (rb_mutex_lock): fix deadlock
[ruby-core:87467] [Bug #14841]
git-svn-id: svn+ssh://ci.ruby-lang.or...
Eric Wong
12:01 AM Misc #14769: DevelopersMeeting20180621Japan
shevegen (Robert A. Heiler) wrote:
> Has someone managed to note down a short summary, like in previous meetings?
...
shyouhei (Shyouhei Urabe)

06/21/2018

11:44 PM Feature #14491 (Closed): MJIT needs internal debugging methods
In r63710, I added your MJIT.pause idea. I think that's useful to identify some performance issues. Let me close this... k0kubun (Takashi Kokubun)
11:12 PM Bug #14858: Introduce 2nd GC heap named Transient heap
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14858

Thanks, I can confirm a good result with this. H...
normalperson (Eric Wong)
09:52 AM Bug #14858: Introduce 2nd GC heap named Transient heap
Sounds nice, I was wondering when MRI would use a custom allocator for Ruby-level data since the jemalloc discussion ... Eregon (Benoit Daloze)
03:12 AM Bug #14858: Introduce 2nd GC heap named Transient heap
> I wanted to try it, but patch seems misgenerated:
Sorry it was my mistake.
ko1 (Koichi Sasada)
01:52 AM Bug #14858: Introduce 2nd GC heap named Transient heap
[email protected] wrote:
> transient_heap.patch (43 KB)

I wanted to try it, but patch seems misgenerated:

> c:/ko...
normalperson (Eric Wong)
08:12 PM Feature #14859: [PATCH] implement Timeout in VM
[email protected] wrote:
> Something else, I would consider Timeout to be fundamentally
> flawed as long as it re...
normalperson (Eric Wong)
08:12 PM Feature #14859: [PATCH] implement Timeout in VM
[email protected] wrote:
> Should lib/timeout.rb be removed then?

Yes, and the rdoc will be moved if accepted.
...
normalperson (Eric Wong)
11:41 AM Feature #14859: [PATCH] implement Timeout in VM
Something else, I would consider Timeout to be fundamentally flawed as long as it relies on Thread#raise,
because it...
Eregon (Benoit Daloze)
11:30 AM Feature #14859: [PATCH] implement Timeout in VM
Should lib/timeout.rb be removed then?
Why is it moved to core, could it stay an extension?
Note that there are p...
Eregon (Benoit Daloze)
02:04 AM Feature #14859: [PATCH] implement Timeout in VM
> > https://bugs.ruby-lang.org/issues/14859
>
> I sometimes get failures in test_condvar_wait_deadlock_2 of
> te...
normalperson (Eric Wong)
01:42 AM Feature #14859: [PATCH] implement Timeout in VM
> https://bugs.ruby-lang.org/issues/14859

I sometimes get failures in test_condvar_wait_deadlock_2 of
test/threa...
normalperson (Eric Wong)
12:21 AM Feature #14859 (Assigned): [PATCH] implement Timeout in VM
implement Timeout in VM
Based on the ugliness of handling partial writes with
IO#write_nonblock and inability to ...
normalperson (Eric Wong)
04:00 PM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
Taking into account
jeremyevans0 (Jeremy Evans) wrote:
> UTF-8 is the default for literal strings, not the default ...
xsimov (Xavier Simó)
02:26 PM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
xsimov (Xavier Simó) wrote:
> Calling
> ~~~
> irb(main):001:0> [].join.encoding
> => #<Encoding:US-ASCII>
> ~~~ ...
jeremyevans0 (Jeremy Evans)
10:31 AM Bug #14863: Array#join with empty array returns empty string always in US-ASCII encoding
Interesting.
I kind of agree with you - that surprised me. Perhaps there is an
explanation for it, but perhaps it...
shevegen (Robert A. Heiler)
09:18 AM Bug #14863 (Rejected): Array#join with empty array returns empty string always in US-ASCII encoding
Calling
~~~
irb(main):001:0> [].join.encoding
=> #<Encoding:US-ASCII>
~~~
returns an empty string and that empt...
xsimov (Xavier Simó)
02:24 PM Misc #14769: DevelopersMeeting20180621Japan
Has someone managed to note down a short summary, like in previous meetings? shevegen (Robert A. Heiler)
03:51 AM Misc #14769: DevelopersMeeting20180621Japan
* [Bug #14699] Subtle behaviors with endless range (mame) mame (Yusuke Endoh)
03:33 AM Misc #14769: DevelopersMeeting20180621Japan
[Feature #14859] - Timeout in VM
Still needs some work, mainly wondering if the idea of moving this
part of stdlib...
normalperson (Eric Wong)
03:16 AM Misc #14769: DevelopersMeeting20180621Japan
- [Bug #14824] Endless Range Support in irb
- [Feature #14808] Last token of endless range should have EXPR_END
aycabta (aycabta .)
02:09 PM Feature #14830: RubyVM::MJIT.pause / RubyVM::MJIT.resume
> If the test in question checks this kind of issues, "fixing" it by using MJIT.pause does not solve the issue itself... k0kubun (Takashi Kokubun)
02:05 PM Feature #14830 (Closed): RubyVM::MJIT.pause / RubyVM::MJIT.resume
Applied in changeset trunk|r63710.
----------
mjit.c: RubyVM::MJIT.pause / RubyVM::MJIT.resume
[Feature #14830]
k0kubun (Takashi Kokubun)
09:21 AM Feature #14830 (Assigned): RubyVM::MJIT.pause / RubyVM::MJIT.resume
We discussed this ticket at the developers' meeting. There is no objection (because RubyVM is just for internal feat... mame (Yusuke Endoh)
02:04 PM Feature #14781: Enumerator.generate
Ah, I meant `iterate` is not a good name for ruby. Sorry for the confusion. mame (Yusuke Endoh)
01:49 PM Feature #14781: Enumerator.generate
I don't like `recur`. Probably it came from `recurrence` but programmers usually think of `recursive` because they se... matz (Yukihiro Matsumoto)
11:14 AM Feature #14781: Enumerator.generate
I like Enumerator.generate, since it's really to generate a lazy sequence, to generate an Enumerator, from a block.
...
Eregon (Benoit Daloze)
10:21 AM Feature #14781: Enumerator.generate
zverok (Victor Shepelev) wrote:
> Though, I should add that `Enumerator.generate` (seen this way, not just `.generat...
mame (Yusuke Endoh)
10:07 AM Feature #14781: Enumerator.generate
Though, I should add that `Enumerator.generate` (seen this way, not just `.generate` alone) seems to clearly state "g... zverok (Victor Shepelev)
10:06 AM Feature #14781: Enumerator.generate
I like `#sequence`, too. zverok (Victor Shepelev)
08:59 AM Feature #14781: Enumerator.generate
I propose the following:
* Enumerator.sequence
* Enumerator.recur
sawa (Tsuyoshi Sawada)
08:26 AM Feature #14781 (Feedback): Enumerator.generate
I am not fully satisfied with the name `generate` since the word does not always imply sequence generation. If someon... matz (Yukihiro Matsumoto)
08:17 AM Feature #14781: Enumerator.generate
In today's developer meeting, we kind of loved the functionality, but haven't reached a conclusion about the name.
...
knu (Akinori MUSHA)
08:02 AM Feature #14781: Enumerator.generate
What about adding support for ending an iteration from a given block itself by raising StopIteration, rather than hav... knu (Akinori MUSHA)
02:04 PM Revision 0af19735 (git): mjit.c: RubyVM::MJIT.pause / RubyVM::MJIT.resume
[Feature #14830]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:53 PM Bug #14862: Time.parse does not handle the time zone

Quote:
~~~
%Z - Abbreviated time zone name or similar information. (OS dependent)
%Z doesn't identify th...
Hanmac (Hans Mackowiak)
08:38 AM Bug #14862: Time.parse does not handle the time zone
I think its wrong:
```
(byebug) Time.parse("Ends from 28 Jun 2018 12:00 BST").utc.to_s
"2018-06-28 09:00:00 UTC"...
mifrill (Aleksey Strizhak)
08:26 AM Bug #14862 (Closed): Time.parse does not handle the time zone
First I would like to thank you for your work, thank you
The point is:
```
Time.parse("Ends from 28 Jun 2018 12:...
mifrill (Aleksey Strizhak)
12:43 PM Bug #14795: Should 'net/http' require 'net/http/status' ?
naruse (Yui NARUSE) wrote:
> net/http itself doesn't need net/http/status.
Agreed. I'm OK to close this issue.
sakuro (Sakuro OZAWA)
09:02 AM Feature #14799: Startless range
Let me point out that with this patch applied, `(nil..nil).cover?(1)` would become returning true rather than raising... knu (Akinori MUSHA)
08:36 AM Feature #14709 (Closed): Proper pattern matching
We are not going to add the pattern matcher proposed in the OP (that uses `%p`), because it is a mere prototype. Yuki... matz (Yukihiro Matsumoto)
08:10 AM Bug #13670: [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301)
Issue still exists with 2.5.1
The error message has changed however, it now crashes.
~~~
[ 3322.842162] Alignm...
splitice (Mathew Heard)
06:13 AM Bug #14699: Subtle behaviors with endless range
I agree with @marcandre here. Let's raise exceptions.
Matz.
matz (Yukihiro Matsumoto)
05:58 AM Misc #14861 (Closed): DevelopersMeeting20180718Japan
Date: 2018/07/18 (Thu)
Time: 14:00-18:00 (JST)
Place: MoneyForward HQ (beware: new location) (Tokyo, Japan)
Sign-u...
naruse (Yui NARUSE)
05:35 AM Feature #13625 (Rejected): BigDecimal short form / shorthand
BigDecimal is not a core class, so we cannot add such a syntax sugar. mrkn (Kenta Murata)
02:28 AM Bug #14860 (Closed): Time.strptime does not work with Julian dates using %j
Time.strptime does not appear to be handling Julian dates, it is defaulting the date to be whatever is provided as "n... ajrkerr (Adam Kerr)

06/20/2018

11:38 PM Revision 48efa447 (git): thread_pthread.c: fix non-sleepy timer-thread with fork
This fixes bootstraptest/test_fork.rb for systems with
sleepy timer thread disabled.
git-svn-id: svn+ssh://ci.ruby-l...
Eric Wong
11:38 PM Revision 6c83a3ab (git): test/ruby/test_io.rb: fix timing sensitive test
For systems with sleepy timer thread disabled, the signal
handler does not fire soon enough and we need to ensure the...
Eric Wong
06:58 PM Bug #14858: Introduce 2nd GC heap named Transient heap
ko1 (Koichi Sasada) wrote:
> Some code can rely on that raw pointer acquired from a frozen object can not be invalid...
jeremyevans0 (Jeremy Evans)
06:13 PM Bug #14858 (Closed): Introduce 2nd GC heap named Transient heap
# Abstract
We propose to introduce "2nd" GC managed heap named "Transient heap" into MRI, instead of malloc manage...
ko1 (Koichi Sasada)
06:10 PM Revision 34dbd74f (git): * 2018-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:10 PM Revision 331f46a2 (git): add assertion to vm_search_method()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:12 PM Feature #5995 (Rejected): calling io_advise_internal() in read_all()
Glass_saga (Masaki Matsushita)
02:32 PM Feature #5980 (Rejected): Trying to Load File When Too Many Files Open Should Raise Something Other Than Plain LoadError
No volunteer. mame (Yusuke Endoh)
02:14 PM Feature #5798 (Rejected): Range#include? needs some optimization
Joey: Please use Range#cover?, as alexeymuranov. In Ruby 2.6, Range#=== will be also equivalent to Range#cover?. [F... mame (Yusuke Endoh)
02:09 PM Feature #5788 (Rejected): Thread#at_exit
Glass_saga (Masaki Matsushita)
02:08 PM Feature #5788 (Closed): Thread#at_exit
Glass_saga (Masaki Matsushita)
01:53 PM Feature #5778: Allow WEBrick::HTTPResponse to send IO-duck-typed bodies
@normalperson, could you handle this ticket? mame (Yusuke Endoh)
01:52 PM Bug #5772 (Rejected): Segmentation Fault on Mac (crash)
1.9.3 has been already dead. Please reopen if it still reproduces in recent versions. mame (Yusuke Endoh)
01:04 PM Bug #5737: WEBrick doesn't support keep alive connections for 204 and 304 responses
Looks to me we don't have to keep this ticket open, but just in case, I reassign this to the current maintainer of WE... mame (Yusuke Endoh)
12:52 PM Bug #5703 (Rejected): Ruby 1.9.3p0 segmentation fault (during autoload?)
1.9.3 has been already dead. mame (Yusuke Endoh)
12:51 PM Revision 2b5a801c (git): ConditionVariable and Queue is not standard library.
They are located under the Thread class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63705 b2dd03c8-39d4-4d8f-...
hsbt (Hiroshi SHIBATA)
12:40 PM Revision 248e076e (git): test_ast.rb: Remove a needless line
`RubyVM::AST.parse_file` was fixed to raise `SyntaxError`
by r63602. So this line is needless.
git-svn-id: svn+ssh:/...
yui-knk (Kaneko Yuichiro)
12:11 PM Revision 158f2235 (git): test_ast.rb: Fix an argument of `grep`, child is a `RubyVM::AST::Node`
Yusuke Endoh pointed out coverage of ast module is very low. Thanks!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
yui-knk (Kaneko Yuichiro)
11:14 AM Revision f194979b (git): skip when group name is not found
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:00 AM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
New issue would be helpful since it seems to be a different problem. And if possible, please minimize the reproductiv... k0kubun (Takashi Kokubun)
04:15 AM Bug #14464: MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
k0kubun,
First of all, thanks for all your work on MJIT. Lately, I've been testing a few extension gems, and I ju...
MSP-Greg (Greg L)
10:42 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > https://bugs.ruby-lang.org/issues/14841
...
normalperson (Eric Wong)
10:04 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14841

I think the problem is mutex->th may be alt...
normalperson (Eric Wong)
06:33 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
hirura <[email protected]> wrote:
> Nextly, I will try the same code with limited CPU cores, and will try
> patchin...
normalperson (Eric Wong)
09:04 AM Feature #14857: collect malloc info
Thank you for looking into this. I have been thinking about
malloc usage, and am wondering why we use malloc heavi...
normalperson (Eric Wong)
07:53 AM Feature #14857 (Closed): collect malloc info
Applied in changeset trunk|r63701.
----------
Introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`. [Feature #14857]
* includ...
ko1 (Koichi Sasada)
07:46 AM Feature #14857 (Closed): collect malloc info
# Abstract
Collect malloc (related) information to measure malloc behavior.
Introduce `USE_GC_MALLOC_OBJ_INFO_DET...
ko1 (Koichi Sasada)
07:53 AM Revision 07a5e55f (git): Introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`. [Feature #14857]
* include/ruby/defines.h: introduce `USE_GC_MALLOC_OBJ_INFO_DETAILS`
to show malloc statistics by replace ruby_xmal...
ko1 (Koichi Sasada)
07:16 AM Revision 9c272f39 (git): Thread is always provided at current ruby version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:33 AM Misc #14854 (Assigned): mjit (2.6.0-preview2) enabled on cygwin
hsbt (Hiroshi SHIBATA)

06/19/2018

11:21 PM Bug #14856 (Closed): [PATCH] lib/drb/extservm.rb (service): do not return `false'
Applied in changeset trunk|r63698.
----------
lib/drb/extservm.rb (service): do not return `false'
invoke_service_c...
normalperson (Eric Wong)
11:11 PM Bug #14856 (Closed): [PATCH] lib/drb/extservm.rb (service): do not return `false'
lib/drb/extservm.rb (service): do not return `false'
invoke_service_command may set entries in @servers to `false'...
normalperson (Eric Wong)
11:20 PM Revision d03afde3 (git): * 2018-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:20 PM Revision 0c53b400 (git): lib/drb/extservm.rb (service): do not return `false'
invoke_service_command may set entries in @servers to `false',
making it incompatible with the intended use of the
sa...
Eric Wong
10:26 PM Feature #14187: `make test` and `make check` to run all test suites
Messy issue, especially taking into account whether the user downloads a pre-built install, or builds their own. Wit... MSP-Greg (Greg L)
07:08 AM Feature #14187: `make test` and `make check` to run all test suites
naruse (Yui NARUSE) wrote:
> Casual users really needs to run test-all and rubyspec?
The short answer is "I think...
mame (Yusuke Endoh)
01:33 PM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Thank you for letting me know how to touch gdb.
The below is the output, it seems that sleeper and living_thread_nu...
hirura (Hiroyuki URANISHI)
12:42 PM Bug #14841: Very rarely IO#readpartial does not raise EOFError
hirura <[email protected]> wrote:
> I tried and reproduced this on
> - Ubuntu Linux on Intel(R) Core(TM) i7-6700HQ ...
normalperson (Eric Wong)
11:52 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Hi Eric,

Thank you for replying.

I tried and reproduced this on
- Ubuntu Linux on Intel(R) Core(TM) i7-6700HQ...
hirura (Hiroyuki URANISHI)
10:52 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Sorry, I left this out: If you can reproduce it again, can you
print vm->sleeper and vm->living_thread_num values ...
normalperson (Eric Wong)
10:52 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
[email protected] wrote:
> File gdb_trace_reproduced.txt added
> ruby -v changed from ruby 2.5.1p57 (2018-03-29 rev...
normalperson (Eric Wong)
09:19 AM Bug #14841: Very rarely IO#readpartial does not raise EOFError
Hi,
I tried getting gdb backtrace of a reproduced, means stopped in this case, process.
Attached files are the ou...
hirura (Hiroyuki URANISHI)
01:09 PM Feature #14855 (Closed): Binding#irb の中では、呼び出し元の __FILE__ と __dir__ をとりたい
現在、Binding#irb の中で呼び出した __FILE__ と __dir__ が irb で設定されたもののままとなっています。
これだと、ソースコード中に埋め込んで試す際に不便なので、実際のソースコードのファイルが読み取れ...
takkanm (三村 益隆)
12:14 PM Misc #14854 (Closed): mjit (2.6.0-preview2) enabled on cygwin
cygwin で 2.6.0-preview2 の mjit をとりあえずで動かせるようにしてみました。
(コンパイルできるだけのレベル)
patch & log
https://gist.github.com/fd00/8...
fd0 (Daisuke Fujimura)
12:10 PM Bug #14846 (Closed): Backport fixes for Kernel#warn(uplevel:)
Thank you for your notice.
I will backport r63650.
nagachika (Tomoyuki Chikanaga)
10:56 AM Feature #14197: `Enumerable#{select,reject}` accept a pattern argument
> The point is that the phrase "hard to remember" in the OP is bit weak when we already have methods with the propose... byroot (Jean Boussier)
08:45 AM Revision 9d556662 (git): describe about NameError by #private_constant
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:32 AM Bug #14853 (Closed): [BACKPORT] NameError#receiver at private constant returns a hidden object
Fixed by r63696.
```ruby
module M
X = 1
private_constant :X
end
begin
Module.new{include M}::X
rescue...
nobu (Nobuyoshi Nakada)
08:15 AM Revision 1b474b86 (git): variable.c: fix receiver on private constant
* variable.c (rb_const_search): fix NameError :receiver attribute
on private constant, should raise with the includ...
nobu (Nobuyoshi Nakada)
07:12 AM Revision b3f56c6b (git): gc.c (gc_verify_heap_pages): fix no-op on heap_eden->pages
Shouldn't affect production use, but good to fix regardless :>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@636...
Eric Wong
02:59 AM Bug #14852 (Closed): please backport thread sync fixes to 2.5
Please backport the following fixes for thread_sync.c changes in 2.5:
r62934, r63124, r63215, r63281, r63282, r63...
normalperson (Eric Wong)
02:53 AM Bug #14416 (Closed): Net::POPMail methods modify frozen literal when using default arg
normalperson (Eric Wong)
02:53 AM Bug #14416 (Open): Net::POPMail methods modify frozen literal when using default arg
normalperson (Eric Wong)
02:42 AM Bug #14416: Net::POPMail methods modify frozen literal when using default arg
Anonymous wrote:
> Applied in changeset trunk|r62099.
>
> ----------
> net/pop: make modified strings mutable
>...
tgxworld (Guo Xiang Tan)
02:46 AM Feature #14851 (Open): [PATCH] thread_pthread.c: remove non-sleepy timer thread implementation
thread_pthread.c: remove non-sleepy timer thread implementation
Apparently, the non-sleepy timer thread code bit-r...
normalperson (Eric Wong)
02:46 AM Revision 61391616 (git): NULL class Data_Wrap_Struct is not allowed.
* spec/ruby/optional/capi/typed_data_spec.rb: same as r63692.
* spec/ruby/optional/capi/ext/typed_data_spec.c: ditto...
ko1 (Koichi Sasada)

06/18/2018

11:19 PM Revision 8b3902b2 (git): * 2018-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:19 PM Revision 24aa9ecc (git): Removed unobservable behavior
The klass for Data_Wrap_Struct can be NULL, but it MUST NOT appear
in the Ruby level. It is only for the C level imp...
nobu (Nobuyoshi Nakada)
11:13 PM Feature #13396: Net::HTTP has no write timeout
Eric Wong <[email protected]> wrote:
> Anyways, the code for handling partial write_nonblock case is verbose.
...
normalperson (Eric Wong)
02:11 PM Revision 05a8a185 (git): Forgotten to update RUBY_PATCHLEVEL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@63691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:50 PM Revision b679f233 (git): * 2018-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@63690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:50 PM Revision 235700b1 (git): Fixed tempfile leaks
* lib/rubygems.rb (Gem::VERSION): 2.6.14.2
* lib/rubygems/ext/ext_conf_builder.rb: merge from 2.7.7.
git-svn-id: s...
U.Nakamura
11:37 AM Feature #14850: Add official API for setting timezone on Time
I agree in regards to it being odd that in an OOP-centric language
we have to fiddle with environment variables.
...
shevegen (Robert A. Heiler)
10:36 AM Feature #14850 (Closed): Add official API for setting timezone on Time
Only way of setting zone on a Time object appears to be via marshalling and messing with ENV.
```
>> ENV['TZ'] =...
sam.saffron (Sam Saffron)
08:30 AM Revision 7f4fbc1f (git): remvoe assertion because rubyspec hit this assert
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:41 AM Revision 2e5aa3fb (git): hidden objects should not be pushed.
* vm_insnhelper.h (PUSH): hidden objects (klass == 0) should not be pushed
to a VM value stack. Add assertion for i...
ko1 (Koichi Sasada)
01:49 AM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
`String#casecmp?` has already landed. It seems no blocker are there for implementing this one, except the name. shyouhei (Shyouhei Urabe)
01:04 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Also, I will extract timeout support into separate feature.

The basic idea is that (regardless of how efficient(*...
normalperson (Eric Wong)
12:21 AM Bug #14849 (Feedback): rbenv install 2.4.0 on AWS EC2 on AMI linux box
2.4.0 is too old. Try 2.5.1, or at least, 2.4.4. shyouhei (Shyouhei Urabe)
 

Also available in: Atom