Project

General

Profile

Activity

From 02/13/2018 to 02/19/2018

02/19/2018

10:17 PM Feature #12589: VM performance improvement proposal
I just measured your branch using Discourse bench at: https://.com/discourse/discourse/blob/master/script/bench... sam.saffron (Sam Saffron)
09:32 PM Feature #12589: VM performance improvement proposal
Last 4 months I've been working on generation of RTL from stack
insns. The reason for this is that stack insns ar...
vmakarov (Vladimir Makarov)
09:12 PM Feature #14492: iseq loading + caching should be in core
In general bootsnap has had significantly more dev time. The actual technique it uses does not require and c extensio... sam.saffron (Sam Saffron)
12:07 PM Feature #14492: iseq loading + caching should be in core
> So not such a big difference.
I also ran it just because I was curious.
> time ruby -e exit
real 0m0.109s
...
shevegen (Robert A. Heiler)
09:40 AM Feature #14492: iseq loading + caching should be in core
FWIW, here are number on a laptop from 2014 with a i7-4702HQ @ 2.20GHz:
$ ruby -v
ruby 2.5.0p0 (2017-12-2...
Eregon (Benoit Daloze)
04:14 AM Feature #14492 (Assigned): iseq loading + caching should be in core
```
... And not in a RubyGem like yomikomu(*)
RubyGems itself is responsible for over 100ms of startup time on my...
normalperson (Eric Wong)
08:51 PM Feature #14489: MJIT needs a reusable cache
> By the way, one thing I want to share is that currently JIT-ed function is not reusable for another process. That's... sam.saffron (Sam Saffron)
02:13 PM Feature #14489 (Feedback): MJIT needs a reusable cache
By the way, one thing I want to share is that currently JIT-ed function is not reusable for another process. That's b... k0kubun (Takashi Kokubun)
02:42 AM Feature #14489: MJIT needs a reusable cache
[email protected] wrote:
> sam.saffron (Sam Saffron) wrote:
> > It can use an ISEQ SHA1 hash as the ke...
normalperson (Eric Wong)
02:14 AM Feature #14489: MJIT needs a reusable cache
sam.saffron (Sam Saffron) wrote:
> It can use an ISEQ SHA1 hash as the key to the cache.
If this feature is added...
jeremyevans0 (Jeremy Evans)
01:10 AM Feature #14489 (Rejected): MJIT needs a reusable cache
Currently on Discourse boot I notice a few minutes of jitting every time you boot it:
This is a redacted output: h...
sam.saffron (Sam Saffron)
08:44 PM Feature #14491: MJIT needs internal debugging methods
### MJIT.pause use cases
1. Measure impact of --jit when all jitting is disabled
2. Disable MJIT in large appli...
sam.saffron (Sam Saffron)
02:22 PM Feature #14491: MJIT needs internal debugging methods
> MJIT.enable, MJIT.disable, MJIT.pause, MJIT.trace
Could you describe some detailed use cases (some possible prob...
k0kubun (Takashi Kokubun)
07:50 AM Feature #14491: MJIT needs internal debugging methods
Not sure about the method-names above, but I agree with the reasoning;
we have methods on "GC." too so I think it wo...
shevegen (Robert A. Heiler)
01:40 AM Feature #14491 (Closed): MJIT needs internal debugging methods
### Issue
Doing careful analysis of MJIT performance is very hard cause there is no way of instrumenting this in r...
sam.saffron (Sam Saffron)
07:44 PM Misc #14493: begin-rescue-end and def-rescue-end stacktraces inconsistent
Thank you. Sorry for the duplicate. david.drakard (David Drakard)
06:18 AM Misc #14493 (Rejected): begin-rescue-end and def-rescue-end stacktraces inconsistent
It is fixed in 2.3.6. nobu (Nobuyoshi Nakada)
04:59 AM Misc #14493 (Rejected): begin-rescue-end and def-rescue-end stacktraces inconsistent
I have filed this as type Misc because I don't know whether the current behaviour is intended or a true bug. Please r... david.drakard (David Drakard)
06:12 PM Bug #14494: [] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
[email protected] wrote:
> Indeed, it was a mistake.
> Do you think `HAVE_` macros should be defined for all `RUB...
normalperson (Eric Wong)
01:54 PM Bug #14494: [] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
Indeed, it was a mistake.
Do you think `HAVE_` macros should be defined for all `RUBY_REPLACE_TYPE`?
nobu (Nobuyoshi Nakada)
09:12 AM Bug #14494: [] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
Eric Wong wrote:
> On a side note, I also realized we have no use for realtime
> condvars, only monotonic ones.......
normalperson (Eric Wong)
08:33 AM Bug #14494: [] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
[email protected] wrote:
> Without this, HAVE_CLOCKID_T goes undefined and I can't
> USE_MONOTONIC_COND in thr...
normalperson (Eric Wong)
06:10 AM Bug #14494 (Closed): [] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
Without this, HAVE_CLOCKID_T goes undefined and...
normalperson (Eric Wong)
04:51 PM Bug #14496 (Closed): MJIT, Windows, MinGW and tmp dir
For the time being, I've shut off testing MJIT on ruby-loco, as (at least when I did so) tests seemed to be timing ou... MSP-Greg (Greg L)
01:01 PM Bug #14495: Enumerator::Lazy#uniq invalid state
Solution https://.com/ruby/ruby/pull/1820 chopraanmol1 (Anmol Chopra)
12:57 PM Bug #14495 (Closed): Enumerator::Lazy#uniq invalid state

Currently
~~~ ruby
2.5.0-preview1 :001 > arr = (0..100).lazy.uniq{|i| i % 10}
=> #<Enumerator::Lazy: #<Enumer...
chopraanmol1 (Anmol Chopra)
10:46 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
Hi again
After I raised this bug and saw the comment from matz I stopped watching assuming that sprintf would be "...
unclekiki (Kieran McCusker)
10:02 AM Feature #14332 (Assigned): Module.used_refinements to list refinement modules
Eregon (Benoit Daloze) wrote:
> Module.used_modules was added in #7418.
> But I think `Module.used_refinements` is ...
shugo (Shugo Maeda)
09:52 AM Bug #14466: Errno::ECONNRESET or Errno::EPIPE raised instead of HTTPResponse returned when POSTing with large body
I have just confirmed with wireshark that a 404 is returned before the connection aborts. sk (SK Liew)
09:46 AM Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s
I believe this should be backported to 2.4 and 2.5. Eregon (Benoit Daloze)
09:28 AM Revision 92dd6d84 (git): thread_pthread.c: spelling ("cancellation")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
09:28 AM Revision 4651ef77 (git): thread_pthread.c: fix thread cache for non-monotonic clock
I noticed this because of https://bugs.ruby-lang.org/issues/14494
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
Eric Wong
06:58 AM Bug #14388: 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
ruby_2_5 r62483 merged revision(s) 62040. naruse (Yui NARUSE)
06:51 AM Revision c1d4e3fe (git): merge revision(s) 62040: [Backport #14388]
string.c: clear substring code range
* string.c (str_substr): substring of broken code range string may
...
naruse (Yui NARUSE)
06:36 AM Bug #14333: Backport r61645
ruby_2_5 r62482 merged revision(s) 61645. naruse (Yui NARUSE)
06:36 AM Revision f75b6d21 (git): merge revision(s) 61645: [Backport #14333]
Added bundler for `test-bundled-gems` dependency.
rake, did_you_mean, test-unit depends on bundler.
git-s...
naruse (Yui NARUSE)
06:35 AM Bug #14312: backport r61591
ruby_2_5 r62472 merged revision(s) 61591. naruse (Yui NARUSE)
06:33 AM Revision c1dc8a13 (git): merge revision(s) 61711:
compile.c (iseq_compile_each0): remove irrelevant tracecoverage
This change removes tracecoverage instructio...
naruse (Yui NARUSE)
06:28 AM Revision 628be3b7 (git): mjit.c: fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:56 AM Bug #10864 (Assigned): REXML adds white space to text property when indent > -1
hsbt (Hiroshi SHIBATA)
02:38 AM Bug #14490: MJIT slows down Rails applications
> This was reported earlier but I would like to add some test methodology here: (tested using Discourse)
Ah, som...
k0kubun (Takashi Kokubun)
02:14 AM Bug #14490: MJIT slows down Rails applications
Yes, I recognize this problem and will investigate the cause for sure. I don't know a clear cause for this yet.
> ...
k0kubun (Takashi Kokubun)
01:36 AM Bug #14490 (Closed): MJIT slows down Rails applications
This was reported earlier but I would like to add some test methodology here: (tested using Discourse)
### What I ...
sam.saffron (Sam Saffron)
01:45 AM Bug #14486 (Closed): MINIRUBY not quoted in template/configure-ext.mk.tmpl
Applied in changeset trunk|r62479.
----------
Escape MINIRUBY in --make-flags to extmk.rb
If MINIRUBY had arguments...
nobu (Nobuyoshi Nakada)
01:45 AM Revision 14693ba5 (git): Escape MINIRUBY in --make-flags to extmk.rb
If MINIRUBY had arguments, which is the case of cross compiling
they wouldn't be parsed correctly and compiling would...
nobu (Nobuyoshi Nakada)
12:30 AM Revision 3cadd10a (git): thread_pthread.c (native_thread_create): remove needless attrp
Followup-to: r61719 (commit e8f40bd8f83e1b22ef9c22f0e5d7a1fc0b07f94c)
("thread_pthread: remove HAVE_PTHREAD_ATTR_IN...
Eric Wong
12:23 AM Revision cfeb344b (git): thread_pthread.c (rb_thread_create_mjit_thread): destroy attr
This is required on some platforms to avoid s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62477 b2dd03c8-...
Eric Wong

02/18/2018

11:58 PM Revision bff57efc (git): thread_pthread.c (thread cache): destroy cond after unlock
No need to hold a lock while destroying a condition variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6247...
Eric Wong
11:58 PM Revision 7a8460ed (git): thread_pthread.c (rb_thread_create_mjit): set detach before create
This should be slightly cheaper on NPTL as it does not rely on
atomics to set pd->joinid. We already use pthread_at...
Eric Wong
11:02 PM Bug #14488 (Closed): Unicode characters prevent [[:punct:]] character class from matching certain characters in subsequent matches
In 2.3.5, `[[:punct:]]` doesn't match `+`. In 2.5.0, it does. In 2.4.3, it matches, but not after you match against a... patbl (Patrick Brinich-Langlois)
09:28 PM Feature #14487 (Closed): [] simplify altstack and enable reuse with thread cache
simplify altstack and enable reuse with thread cache
Instead of allocating and registering the altstack in differe...
normalperson (Eric Wong)
09:03 PM Revision 1ad2db38 (git): * 2018-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:03 PM Revision eac50243 (git): thread.c: remove redundant USE_SIGALTSTACK #define
thread.c already includes vm_core.h where USE_SIGALTSTACK is
defined, #include it explicitly (eval_intern.h already i...
Eric Wong
05:26 PM Bug #14486 (Closed): MINIRUBY not quoted in template/configure-ext.mk.tmpl
MINIRUBY is not quoted in template/configure-ext.mk.tmpl, which made cross compiling, when MINIRUBY is something like... carl.hoerberg (Carl Hörberg)
05:25 PM Bug #14485 (Closed): For File#path.tainted? and File#to_path.tainted? should match original.tainted?
Problem: if you create a File object using an untainted path, File#path and File#to_path return identical strings exc... tscheingeld (Terry Scheingeld)
02:25 PM Revision 2fdf83ba (git): merge revision(s) 61591: [Backport #14312]
iseq.c (rb_iseq_new_with_opt): handle the case where node is imemo_func
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
naruse (Yui NARUSE)
11:54 AM Bug #14273: Stack Consistency Error from return in loop
reverted ruby_2_5 r62426. it caused test failure naruse (Yui NARUSE)
11:53 AM Revision f9ead597 (git): * 2018-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:53 AM Revision d191339b (git): Revert r62426
it cause test failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62470 b2dd03c8-39d4-4d8f-98ff-8...
naruse (Yui NARUSE)
09:33 AM Revision 247ec65a (git): mjit.c: pch file argument
* mjit.c (compile_c_to_so): pass pch file only when using
"-include-pch" option.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
09:23 AM Revision ae62ab33 (git): adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:11 AM Revision 189b4a4e (git): README.ja.md: Mac OS X -> macOS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:54 AM Revision 4a57b88b (git): thread_pthread.c: shorten and fix thread cache implementation
Update to use ccan/list for constant-time delete on expiry and
avoid malloc. We must also initialize th->thread_id u...
Eric Wong
06:21 AM Revision f3cc10b6 (git): mjit.c: place DLDFLAGS at last
* mjit.c (compile_c_to_so): place DLDFLAGS at last, as compilers
other than cl.exee don't care the order of flag ar...
nobu (Nobuyoshi Nakada)
05:12 AM Revision 32213cc8 (git): aclocal.m4: remove ruby_check_va_copy.m4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:10 AM Revision 0f0c32f2 (git): mjit.c: no va_copy
* mjit.c (form_args): do not use va_copy, which cannot detect
appropriate way to simulate when cross compiling.
gi...
nobu (Nobuyoshi Nakada)
03:44 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
I agree with Martin. Perhaps alternatives such as `all_same?` or
even better, `all_equal?` could be explored/used.
N...
shevegen (Robert A. Heiler)
03:00 AM Revision ecd2c08a (git): thread.c (thread_join_m): handle negative timeouts correctly
Users may subtract and round into negative values when using
Thread#join, so clamp the timeout to zero to avoid infin...
Eric Wong
03:00 AM Revision fbad2c55 (git): thread.c (double2timespec): adjust to use NULL for infinity
Using:
strace ruby -e 'Thread.new { sleep }.join(Float::INFINITY)'
Will show a difference in futex() syscall args ...
Eric Wong
02:51 AM Revision cd0673e6 (git): Fixed the order of arguments for cl.exe
* mjit.c (compile_c_to_so): `CC_DLDFLAGS_ARGS` must be after `-link` for cl.exe.
git-svn-id: svn+ssh://ci.ruby-lang...
U.Nakamura
02:12 AM Revision 8f47542d (git): thread_pthread.c (native_cond_timeout): simplify
Rely on getclockofday for CLOCK_MONOTONIC, avoid needless
variables, and rely on overflow protection from timespec_ad...
Eric Wong
02:12 AM Revision f65ee1e8 (git): thread.c: stop updating timespec when timeout is unspecified
No need to waste cycles updating timespecs if there's no expiry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
Eric Wong
02:12 AM Revision e6bf0128 (git): thread.c (update_timespec): use timespec_update_expire
Rename "end" as a appropriate for readability.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62457 b2dd03c8-39d4...
Eric Wong
12:38 AM Revision 014e9a4a (git): thread.c: introduce timespec_cmp for timespec comparisons
This hopefully improves readability when comparing timespecs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6245...
Eric Wong
12:38 AM Revision b160a113 (git): thread.c (timespec_update_expire): improve naming
Naming the constant timespec as "end" should make it more
apparent is is an absolute time. Update callers, too.
git...
Eric Wong
12:38 AM Revision 63d19f6b (git): * 2018-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:38 AM Revision 604a96d9 (git): ext/fiddle/lib/fiddle/pack.rb: pack "void *" properly on 32-bit
Fixes: r62450 (commit 1aaeeb326e754c5c5db83fbf35f780f729a9dfed)
("long long is a C99ism")
git-svn-id: svn+ssh...
Eric Wong

02/17/2018

10:11 PM Bug #14484: Error - using - ruby 2.2.1
Thank you. I need to run app on 2.2.1. Will check this extensions libraries. Januszpl (Janusz Janczy)
06:06 AM Bug #14484 (Rejected): Error - using - ruby 2.2.1
2.2.1 is outdated.
```
-- C level backtrace information -------------------------------------------
0 libruby....
nobu (Nobuyoshi Nakada)
02:03 PM Revision 8e76a4bf (git): Remove unnecessary `[]`s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:04 AM Revision a5c76f8c (git): a C source code must end with EOL
cf: ISO 9899 section 5.1.1.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62451 b2dd03c8-39d4-4d8f-98ff-823fe6...
shyouhei (Shyouhei Urabe)
09:51 AM Revision 1aaeeb32 (git): long long is a C99ism
so SIZEOF_LONG_LONG is not always available.
We have to check its defined?-ness before using.
git-svn-id: svn+ssh:/...
shyouhei (Shyouhei Urabe)
07:54 AM Revision 131dc831 (git): socket.rb: protected connect_internal
* ext/socket/lib/socket.rb (Addrinfo#connect_internal): make
protected for Addrinfo#connect_to, instead of private ...
nobu (Nobuyoshi Nakada)
05:52 AM Revision a4f2606b (git): LIBRUBY_A with exts
* Makefile.in, win32/Makefile.sub (LIBRUBY_A): link with extension
libraries if EXTSTATIC is set, so that static-ru...
nobu (Nobuyoshi Nakada)
05:52 AM Revision e28a7c20 (git): separate PRE_LIBRUBY_UPDATE
* Makefile.in, win32/Makefile.sub (PRE_LIBRUBY_UPDATE): separate
definitions without miniruby.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
05:22 AM Revision 673ae0e3 (git): configure.ac: check clockid_t with necessary headers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:30 AM Revision def3714b (git): prefixed functions exported for mjit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/16/2018

05:19 PM Bug #14484 (Rejected): Error - using - ruby 2.2.1
Try to run some rails server / console command. It's my first when I do sth with ruby (need to changes some front-end... Januszpl (Janusz Janczy)
04:41 PM Bug #13782: Backport r57733: kwrest arg name in --dump=parsetree
ruby_2_4 r62444 merged revision(s) 57733,57734. nagachika (Tomoyuki Chikanaga)
04:40 PM Revision 4828fe38 (git): merge revision(s) 57733,57734: [Backport #13782]
kwrest arg name
* compile.c (iseq_set_arguments_keywords): make keyword rest
argument name nd_vid ...
nagachika (Tomoyuki Chikanaga)
04:35 PM Revision 20ad678d (git): merge revision(s) 62422,62436: [Backport #14481]
Merge RubyGems 2.7.6 from upstream.
It fixed some security vulnerabilities.
http://blog.rubygems.or...
U.Nakamura
04:34 PM Revision e4317b5e (git): merge revision(s) 62422,62436: [Backport #14481]
Merge RubyGems 2.7.6 from upstream.
It fixed some security vulnerabilities.
http://blog.rubygems.or...
U.Nakamura
04:27 PM Revision 664b94fd (git): merge revision(s) 58471,58493,62436: [Backport #13505]
load.c: backtrace of circular require
* load.c (load_lock): print backtrace of circular require via
...
U.Nakamura
04:27 PM Bug #14424: Backport r59984 to ruby_2_4 and ruby_2_3
ruby_2_4 r62440 merged revision(s) 59983,59984. nagachika (Tomoyuki Chikanaga)
04:26 PM Bug #14372: Memory in require with Pathnames in the $LOAD_PATH in 2.3/2.4
ruby_2_4 r62440 merged revision(s) 59983,59984. nagachika (Tomoyuki Chikanaga)
04:25 PM Bug #10222: require_relative and require should be compatible with each other when symlinks are used
ruby_2_4 r62440 merged revision(s) 59983,59984. nagachika (Tomoyuki Chikanaga)
04:25 PM Revision eaba9da1 (git): merge revision(s) 59983,59984: [Backport #10222] [Backport #14372] [Backport #14424]
file.c: rb_check_realpath
* file.c (rb_check_realpath): returns real path which has no
symbolic li...
nagachika (Tomoyuki Chikanaga)
04:21 PM Revision 08fb5c21 (git): merge revision(s) 58471,58493,62436: [Backport #13505]
load.c: backtrace of circular require
* load.c (load_lock): print backtrace of circular require via
...
U.Nakamura
04:10 PM Revision 99c76a47 (git): merge revision(s) 62436: [Backport #14481]
fix regexp literal warning.
test/rubygems/test_gem_server.rb: eliminate duplicated character class warning.
...
nagachika (Tomoyuki Chikanaga)
04:04 PM Revision 21249d84 (git): * 2018-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:04 PM Revision d8d19683 (git): fix regexp literal warning.
test/rubygems/test_gem_server.rb: eliminate duplicated character class warning.
[Bug #14481]
git-svn-id: svn+ssh://c...
nagachika (Tomoyuki Chikanaga)
04:00 PM Bug #14481: Backport request for RubyGems 2.7.6
I've found that ruby -wc test/rubygems/test_gem_server.rb report some warnings.
Due to this warnings, `TEST_RIPPER_R...
nagachika (Tomoyuki Chikanaga)
02:58 PM Bug #14481 (Closed): Backport request for RubyGems 2.7.6
Applied in changeset ruby_2_4|r62434.
----------
merge revision(s) 62422: [Backport #14481]
Merge RubyGems 2.7.6 f...
nagachika (Tomoyuki Chikanaga)
11:04 AM Bug #14481: Backport request for RubyGems 2.7.6
>So, Ruby 2.2 contained RubyGems 2.4. It's affected by its vulnerability.
oops, "It's NOT affected" is correct st...
hsbt (Hiroshi SHIBATA)
11:01 AM Bug #14481 (Closed): Backport request for RubyGems 2.7.6
RubyGems 2.7.6 has been released. It contained the several vulnerability fixes.
http://blog.rubygems.org/2018/02/1...
hsbt (Hiroshi SHIBATA)
03:27 PM Bug #13505: circular require prints the backtrace directly to stderr
ruby_2_4 r62435 merged revision(s) 58471,58493. nagachika (Tomoyuki Chikanaga)
03:26 PM Bug #13505: circular require prints the backtrace directly to stderr
I believe this is a bug of Warning.warn feature in 2.4.
I will move this ticket to Bug to backport the changesets.
nagachika (Tomoyuki Chikanaga)
03:27 PM Revision ac84c2ae (git): merge revision(s) 58471,58493: [Backport #13505]
load.c: backtrace of circular require
* load.c (load_lock): print backtrace of circular require via
...
nagachika (Tomoyuki Chikanaga)
02:58 PM Revision 4237809a (git): merge revision(s) 62422: [Backport #14481]
Merge RubyGems 2.7.6 from upstream.
It fixed some security vulnerabilities.
http://blog.rubygem...
nagachika (Tomoyuki Chikanaga)
02:45 PM Revision e3e8af93 (git): mjit.c: fix deadlock on class serial increment
This is reported by @hasimo. Fixing a case like this:
#0 __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/l...
k0kubun (Takashi Kokubun)
02:35 PM Revision 2b1ba325 (git): ruby_check_va_copy.m4: for cross compiling
* tool/m4/ruby_check_va_copy.m4 (RUBY_CHECK_VA_COPY): use
AC_TRY_LINK instead of AC_TRY_RUN for cross compiling.
g...
nobu (Nobuyoshi Nakada)
01:36 PM Bug #14466: Errno::ECONNRESET or Errno::EPIPE raised instead of HTTPResponse returned when POSTing with large body
sk (SK Liew) wrote:
> Expected: HTTPResponse with status code of 404.
> Observed: Errno::ECONNRESET or Errno::EPIPE...
carl.hoerberg (Carl Hörberg)
12:11 PM Bug #14483: Enchance Method docs
\o/ shevegen (Robert A. Heiler)
11:55 AM Bug #14483 (Closed): Enchance Method docs
Main changes:
* fix conflict with `Proc` methods documentation (currently [one can see](http://ruby-doc.org/core-2...
zverok (Victor Shepelev)
11:50 AM Bug #14482 (Closed): headerが重複したCSVをheaders:trueでparseした場合、row.to_h[key] と row[key] の結果が一致しない
1行目に重複したkeyがあるcsvファイルをheaders: trueでparseした場合、
row[key]とrow.to_h[key]が異なる値を返します。
~~~ruby
require 'csv'
invalid_...
tompng (tomoya ishida)
08:54 AM Bug #14480 (Closed): miniruby crashing when compiled with -O2 or -O1 on aarch64
Recently, it is not possible to build Ruby 2.5.0 on aarch64 on Fedora Rawhide, because miniruby fails during build:
...
vo.x (Vit Ondruch)
08:51 AM Revision 62916542 (git): add NEWS entry for VM generator renewal [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:49 AM Revision 28d0fee9 (git): add casts (cosmetic; just be explicit)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:39 AM Revision c8094ff1 (git): no ID cache in Init functions
Init functions are called only once, cache is useless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62429 b2dd0...
nobu (Nobuyoshi Nakada)
08:34 AM Bug #14314: Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
ruby_2_5 r62428 merged revision(s) 61616. naruse (Yui NARUSE)
08:34 AM Revision 15f641a5 (git): merge revision(s) 61616: [Backport #14314]
marshal.c: allow marshalling keyword_init struct
struct.c: define rb_struct_s_keyword_init to shared with ma...
naruse (Yui NARUSE)
08:31 AM Bug #14346: [] dir.c: pass flags to openat(2) correctly
ruby_2_5 r62427 merged revision(s) 61754. naruse (Yui NARUSE)
08:31 AM Revision 55c5054c (git): merge revision(s) 61754: [Backport #14346]
dir.c: pass flags to openat(2) correctly
Flags are 3rd argument of openat(2) while the 4th argument
...
naruse (Yui NARUSE)
08:28 AM Bug #14273: Stack Consistency Error from return in loop
ruby_2_5 r62426 merged revision(s) 61617,61618. naruse (Yui NARUSE)
08:28 AM Revision 38aa1376 (git): merge revision(s) 61617,61618: [Backport #14273]
compile.c: remove more unreachable chunk
* compile.c (remove_unreachable_chunk): remove beyond labels to be
...
naruse (Yui NARUSE)
08:28 AM Bug #14323: net/ftp: fix FrozenError in BufferedSocket
ruby_2_5 r62425 merged revision(s) 61639. naruse (Yui NARUSE)
08:17 AM Revision d3eeb14d (git): merge revision(s) 61639: [Backport #14323]
net/ftp: fix FrozenError in BufferedSocket
I noticed this bug while working on something else with
R...
naruse (Yui NARUSE)
08:08 AM Revision 24dfe5e7 (git): Fixed tempfile .
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62424 b2dd03c8-39d4-4d8...
hsbt (Hiroshi SHIBATA)
08:08 AM Revision 3a4de69e (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:08 AM Revision 7619cb3d (git): Merge RubyGems 2.7.6 from upstream.
It fixed some security vulnerabilities.
http://blog.rubygems.org/2018/02/15/2.7.6-released.html
git-svn-id: svn+s...
hsbt (Hiroshi SHIBATA)
07:36 AM Bug #14257: the chomp option removes newlines in additon to the provided separator for String#each_line and String#lines
ruby_2_5 r62421 merged revision(s) 61636. naruse (Yui NARUSE)
07:36 AM Revision 54cab006 (git): merge revision(s) 61636: [Backport #14257]
string.c: out-of-bounds access
* string.c (rb_str_enumerate_lines): fix out-of-bounds access when
...
naruse (Yui NARUSE)
07:32 AM Bug #14279: Modifying splat argument causes segmentation fault
ruby_2_5 r62420 merged revision(s) 61603. naruse (Yui NARUSE)
07:32 AM Revision 53859b79 (git): merge revision(s) 61603: [Backport #14279]
check array for zsuper. [Bug #14279]
* compile.c (iseq_compile_each0): for zsuper (NODE_ZSUPER), we need to ...
naruse (Yui NARUSE)
02:10 AM Revision 7a453b15 (git): non-constant aggregate initializer is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
01:17 AM Bug #14438: TestTimeTZ: failures with recent version of tzdata
Just a note: this is caused by a tzdata bugfix reported at <http://mm.icann.org/pipermail/tz/2018-January/025896.html>. nobu (Nobuyoshi Nakada)
12:20 AM Bug #14438: TestTimeTZ: failures with recent version of tzdata
So this is a test which checks if ruby can understand real-world timezone glitches. And the reality changed. I thin... shyouhei (Shyouhei Urabe)
01:15 AM Revision 86de3e41 (git): compile.c: keep debug info
* compile.c (iseq_peephole_optimize): keep freezestring insn
with debug info. [Bug #14475]
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
12:54 AM Revision b67f65db (git): test_rubyoptions.rb: assert_same to check identity
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:49 AM Revision afc7be75 (git): * 2018-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:49 AM Revision daeefae9 (git): test_rubyoptions.rb: show code in failure messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/15/2018

08:12 PM Feature #8158: lightweight structure for loaded features index
> https://bugs.ruby-lang.org/issues/8158

I am curious, what is the significance of the 0xfea7009e
initializer pa...
normalperson (Eric Wong)
04:48 PM Feature #14478: String #uminus should de-dupe unconditionally
I don't have any pro or con opinion here but I wanted to comment on
one statement:
> maybe only another like 5 pe...
shevegen (Robert A. Heiler)
12:10 PM Feature #14478: String #uminus should de-dupe unconditionally
Since it's var = -str, it's very clear the return value should be used (and deduped) and we can't expect `str` to cha... Eregon (Benoit Daloze)
09:43 AM Feature #14478: String #uminus should de-dupe unconditionally
> how about we do heap sharing
I am very against this, I just don't see the compatibility risk I think myself and...
sam.saffron (Sam Saffron)
06:51 AM Feature #14478: String #uminus should de-dupe unconditionally
To reduce compatibility risk, how about we do heap sharing with
fstring for already-frozen strings when calling umi...
normalperson (Eric Wong)
05:14 AM Feature #14478: String #uminus should de-dupe unconditionally
Summary of this issue:
# Background
We changed to return dedup-ed string with `String-@`.
https://bugs.ruby-...
ko1 (Koichi Sasada)
02:21 AM Feature #14478: String #uminus should de-dupe unconditionally
The contract says "possibly pre-existing copy of it." ... where possibly means "if the string is not frozen"
So t...
sam.saffron (Sam Saffron)
02:13 AM Feature #14478: String #uminus should de-dupe unconditionally
sam.saffron (Sam Saffron) wrote:
> > -@ should be one such exposure
>
> Oh this is already the case, see the sou...
phluid61 (Matthew Kerwin)
02:04 AM Feature #14478: String #uminus should de-dupe unconditionally
> -@ should be one such exposure
Oh this is already the case, see the source:
```
/*
* call-seq:
* -str...
sam.saffron (Sam Saffron)
01:28 AM Feature #14478: String #uminus should de-dupe unconditionally
sam.saffron (Sam Saffron) wrote:
>
> ```
> puts x.object_id
> x.freeze
> puts x.object_id # must not change
> ...
phluid61 (Matthew Kerwin)
03:29 PM Feature #14476: Adding same_all? for checking whether all items in an Array are same
nobu (Nobuyoshi Nakada) wrote:
> `Array#uniq?` sounds like that all elements are unique, `ary.uniq.size == ary.size...
dsferreira (Daniel Ferreira)
09:52 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
`Array#uniq?` sounds like that all elements are unique, `ary.uniq.size == ary.size`. nobu (Nobuyoshi Nakada)
04:53 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
Four points.
First, re. uniq?:
mrkn (Kenta Murata) wrote:
> We don't have Array#uniq?.
> Do you suggest add...
duerst (Martin Dürst)
12:45 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
mrkn (Kenta Murata) wrote:
> We don't have Array#uniq?.
> Do you suggest adding such a new method?
That is wh...
dsferreira (Daniel Ferreira)
12:38 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
> I suppose that Array#uniq? could work as Array#all? returning once false?
We don't have Array#uniq?.
Do you sug...
mrkn (Kenta Murata)
01:13 PM Feature #13618: [] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
The PG gem which uses libpq provides both synchronous and asynchronous APIs, and it is up to the client code to selec... ioquatix (Samuel Williams)
04:11 AM Feature #13618: [] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> How does Process.wait behave in `Thread::Green`?

Process.wait* methods use rb_...
normalperson (Eric Wong)
03:22 AM Feature #13618: [] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
How does Process.wait behave in `Thread::Green`? ioquatix (Samuel Williams)
11:16 AM Revision d6db2d95 (git): Avoid using `@` in macro substitution that confuses FreeBSD make
```
making mjit_config.h
make: Unknown modifier ' '
make: Unclosed variable specification (expecting ')') for "Q" (va...
Akinori MUSHA
10:18 AM Misc #14470: Use Commit together with co-authors feature in svn commits
brianmario (Brian Lopez) wrote:
> fwiw 's implementation of trailer parsing is based on the rules defined by g...
nobu (Nobuyoshi Nakada)
10:00 AM Revision 41e9e19b (git): Array#values_at optimization
* array.c (rb_ary_values_at): optimization range argument case.
bulk concatenation than pushing for each element.
...
nobu (Nobuyoshi Nakada)
06:14 AM Revision 9a9a4e87 (git): Benchmarks for Array#values_at
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:34 AM Revision 0efd8bbd (git): test/io/console/test_io_console.rb (test_oflush): Avoid race condition
Add a ad-hoc wait. Follows test_ioflush2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62411 b2dd03c8-39d4-4d8...
mame (Yusuke Endoh)
05:29 AM Bug #14477 (Closed): tzdata 2018c seems break test suite
vo.x (Vit Ondruch)
04:04 AM Feature #14362: use BigDecimal instead of Float by default
yugui,
> Why do you think they are not familiar with floating-point values like IEEE754?
In my experience, most...
AaronLasseigne (Aaron Lasseigne)
03:09 AM Bug #14479 (Rejected): Exceptions raised from a :call tracepoint can sometimes be "rescued" inside the method
This is a Ruby 2.5 regression.
If you raise an exception from a :call tracepoint, it can, in certain circumstances...
dazuma (Daniel Azuma)
01:59 AM Revision b4b4b943 (git): gc.c: force STACK_GROW_DIRECTION for emscripten
The configure script fails to guess the direction on emscripten.
Perhaps this is because of https://.com/kripke...
mame (Yusuke Endoh)
01:59 AM Revision 50700c4d (git): thread_pthread.c: Use `getpagesize()` when `pthread_attr_getguardsize` is unavailable
This is also for emscripten.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62409 b2dd03c8-39d4-4d8f-98ff-823fe69...
mame (Yusuke Endoh)
01:59 AM Revision 8df47f8c (git): configure.ac: Use `pthread_create` to determine if pthread is available
Instead of `pthread_kill`. This is because emscripten supports
`pthread_create` but not `pthread_kill`.
git-svn-id:...
mame (Yusuke Endoh)

02/14/2018

11:42 PM Bug #14475: String de-duplication is broken in files with frozen_string_literal: true
I created a new topic for this at: https://bugs.ruby-lang.org/issues/14478
> At this point, it may break existing...
sam.saffron (Sam Saffron)
10:52 PM Bug #14475: String de-duplication is broken in files with frozen_string_literal: true
[email protected] wrote:
> "If the string is frozen, then return the string itself."
>
> Yeah I do not agree...
normalperson (Eric Wong)
10:45 PM Bug #14475: String de-duplication is broken in files with frozen_string_literal: true
Opened https://bugs.ruby-lang.org/issues/14478 to discuss change to uminus sam.saffron (Sam Saffron)
10:35 PM Bug #14475 (Closed): String de-duplication is broken in files with frozen_string_literal: true
Applied in changeset trunk|r62407.
----------
compile.c: drop freezestring insn on String#-@
Followup to r62039 and...
Anonymous
10:27 PM Bug #14475: String de-duplication is broken in files with frozen_string_literal: true
"If the string is frozen, then return the string itself."
Yeah I do not agree with this documentation, I think it ...
sam.saffron (Sam Saffron)
10:12 PM Bug #14475: String de-duplication is broken in files with frozen_string_literal: true
[email protected] wrote:
> Workaround ... whenever de-duping strings always use `-+`

Yes, String#-@ document...
normalperson (Eric Wong)
08:43 PM Bug #14475: String de-duplication is broken in files with frozen_string_literal: true
Workaround ... whenever de-duping strings always use `-+`
```
x = "#{1}".freeze
# this is always properly de-dup...
sam.saffron (Sam Saffron)
08:40 PM Bug #14475: String de-duplication is broken in files with frozen_string_literal: true
Simpler repro:
```
x = "#{1}".freeze
p x.object_id
x = -x
p x.object_id
x = "#{1}".freeze
p x.object_id
...
sam.saffron (Sam Saffron)
07:37 AM Bug #14475 (Closed): String de-duplication is broken in files with frozen_string_literal: true
Create 2 files:
test.rb
```
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'frozen'
puts frozen.object...
sam.saffron (Sam Saffron)
11:38 PM Feature #14478: String #uminus should de-dupe unconditionally
> Why not make it impossible to create a frozen string that isn't deduped?
This can not be done without enormous b...
sam.saffron (Sam Saffron)
11:25 PM Feature #14478: String #uminus should de-dupe unconditionally
Why not make it impossible to create a frozen string that isn't deduped? That way the current `-x` works fine by def... phluid61 (Matthew Kerwin)
10:45 PM Feature #14478 (Closed): String #uminus should de-dupe unconditionally
continuing: https://bugs.ruby-lang.org/issues/14475
Current documentation for String uminus says: "If the string i...
sam.saffron (Sam Saffron)
10:35 PM Revision 7606806c (git): compile.c: drop freezestring insn on String#-@
Followup to r62039 and remove the redundant freezestring
insn which was preventing deduplication from String#-@
* co...
Eric Wong
10:35 PM Revision dc9ce328 (git): test/ruby/test_optimization.rb: fix compile kwarg
Fixes: r62177 ("compile.c: fix string Range optimization with FSL")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
Eric Wong
10:22 PM Bug #14477 (Closed): tzdata 2018c seems break test suite
Upgraded tzdata to 2018c on both my Debian stretch (stable) and jessie
(oldstable) machines via "apt-get dist-upgrad...
normalperson (Eric Wong)
06:39 PM Feature #14460 (Closed): Speed up `require` and reduce memory usage
Fixed in r62404. See Feature #8158 tenderlovemaking (Aaron Patterson)
10:56 AM Feature #14460: Speed up `require` and reduce memory usage
Aaron, while I'm going to accept commit right, I'm asking you to apply my .
With regards,
Yura.
funny_falcon (Yura Sokolov)
06:39 PM Feature #8158 (Closed): lightweight structure for loaded features index
Committed in r62404. Thanks Yura!! tenderlovemaking (Aaron Patterson)
10:53 AM Feature #8158: lightweight structure for loaded features index
Year after I think I am more stable person, so I'm going to accept commit rights with gratitude, honor and great resp... funny_falcon (Yura Sokolov)
06:38 PM Revision a08d41ea (git): * 2018-02-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:38 PM Revision bf04b4e1 (git): load.c: reduce memory usage of loaded_features_index
Use integer hashsum instead of string as a key in loaded_features_index.
Do not use ruby strings for substring operat...
tenderlovemaking (Aaron Patterson)
05:47 PM Misc #14470: Use Commit together with co-authors feature in svn commits
brianmario (Brian Lopez) wrote:
> > Better to make trailer interpretation tolerate empty lines;
> > as trailers are...
tenderlovemaking (Aaron Patterson)
05:43 PM Misc #14470: Use Commit together with co-authors feature in svn commits
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > nobu (Nobuyoshi Nakada) wrote:
> > > The f...
brianmario (Brian Lopez)
05:30 PM Misc #14470: Use Commit together with co-authors feature in svn commits
normalperson (Eric Wong) wrote:
> [email protected] wrote:
> > nobu (Nobuyoshi Nakada) wrote:
> > > The f...
tenderlovemaking (Aaron Patterson)
05:45 PM Feature #14476: Adding same_all? for checking whether all items in an Array are same
mrkn (Kenta Murata) wrote:
> uniq scans all elements, whereas all? and == don't.
> And uniq allocates a new array...
dsferreira (Daniel Ferreira)
05:15 PM Feature #14476: Adding same_all? for checking whether all items in an Array are same
`uniq` scans all elements, whereas `all?` and `==` don't.
And `uniq` allocates a new array, so `uniq` is always slow...
mrkn (Kenta Murata)
04:45 PM Feature #14476: Adding same_all? for checking whether all items in an Array are same
I believe we could even do:
```ruby
ary.uniq?(&:foo)
```
dsferreira (Daniel Ferreira)
04:37 PM Feature #14476: Adding same_all? for checking whether all items in an Array are same
Why would it be more efficient in C?
A sufficiently smart JIT (or of course it can be done manually) could turn
...
Eregon (Benoit Daloze)
04:32 PM Feature #14476: Adding same_all? for checking whether all items in an Array are same
Usually I use the following code to achieve the same purpose:
```ruby
ary.uniq.size < 2
```
I didn't test but...
dsferreira (Daniel Ferreira)
03:41 PM Feature #14476 (Assigned): Adding same_all? for checking whether all items in an Array are same
In this issue, I propose to introduce `same_all?` instance method of `Array` class. This new method checks whether al... mrkn (Kenta Murata)
02:09 PM Revision 8c8d298c (git): appveyor.yml: refactor r62402
We have good feature to share common configuration between branches:
https://www.appveyor.com/docs/branches/#sharing-...
k0kubun (Takashi Kokubun)
12:34 PM Revision 7da8fa1c (git): appveyor.yml: notify slack only for trunk
Using conditional build configuration.
https://www.appveyor.com/docs/branches/#conditional-build-configuration
This ...
k0kubun (Takashi Kokubun)
06:54 AM Feature #14463: Allow comments to precede dots in member expressions
There is extensive discussion on this at #7636. Please check. duerst (Martin Dürst)
05:11 AM Revision 8fd16730 (git): mjit.h: compare as pointer
* mjit.c (mjit_get_iseq_func), mjit.h (mjit_exec): do not compare
a pointer as shorter type. by loosing the precis...
nobu (Nobuyoshi Nakada)
04:27 AM Bug #14474 (Open): skip "TestException#test_thread_signal_location" as known bug
ko1 (Koichi Sasada)
01:51 AM Bug #14474 (Closed): skip "TestException#test_thread_signal_location" as known bug
Applied in changeset trunk|r62400.
----------
skip "TestException#test_thread_signal_location" as a known bug [Bug #...
ko1 (Koichi Sasada)
01:37 AM Bug #14474 (Closed): skip "TestException#test_thread_signal_location" as known bug
`TestException#test_thread_signal_location` fails randomly
https://gist..com/ko1/797b0f058f2d09ae57c9af1ee07...
ko1 (Koichi Sasada)
04:12 AM Bug #14472: `File::open` closes the file too early when used with callcc
I used raw continuations for the simplicity of explanation but I found it was a bit confusing (and I was also confuse... blackenedgold (Sunrin SHIMURA)
03:28 AM Bug #14472: `File::open` closes the file too early when used with callcc
> You can do it by `File.open` without a block.
I know that. Again, I'm not in trouble.
> `callcc` rollbacks en...
blackenedgold (Sunrin SHIMURA)
01:37 AM Bug #14472 (Rejected): `File::open` closes the file too early when used with callcc
blackenedgold (Sunrin SHIMURA) wrote:
> This code throws an IOError, but expected to exit normally:
`callcc` roll...
nobu (Nobuyoshi Nakada)
02:11 AM Bug #14334: Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 / simplecov/source_file.rb:85)
Eric Wong wrote:
> [email protected] wrote:
> > issue" means, but I'm relatively certain that it's a bug in
> > R...
normalperson (Eric Wong)
01:50 AM Revision 381650ea (git): skip "TestException#test_thread_signal_location" as a known bug [Bug #14474]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:14 AM Feature #14362: use BigDecimal instead of Float by default
As a maintainer of BigDecimal, I don't agree with you about BigDecimal is more developer friendly than Float.
And th...
mrkn (Kenta Murata)
12:52 AM Feature #13581: Syntax sugar for method reference
cben (Beni Cherniavsky-Paskin) wrote:
> A non-syntax idea: could `Math.method.sqrt` look significantly nicer than `M...
sevos (Artur Roszczyk)

02/13/2018

11:11 PM Misc #14470: Use Commit together with co-authors feature in svn commits
[email protected] wrote:
> nobu (Nobuyoshi Nakada) wrote:
> > The feature page says "Include your trailers ...
normalperson (Eric Wong)
07:18 PM Misc #14470: Use Commit together with co-authors feature in svn commits
nobu (Nobuyoshi Nakada) wrote:
> The feature page says "Include your trailers at the end of your commit message", do...
tenderlovemaking (Aaron Patterson)
04:12 PM Misc #14470: Use Commit together with co-authors feature in svn commits
The feature page says "Include your trailers at the end of your commit message", does it work even if "git-svn-id:" l... nobu (Nobuyoshi Nakada)
02:50 PM Misc #14470: Use Commit together with co-authors feature in svn commits
Why doesn't see `From:` header too? nobu (Nobuyoshi Nakada)
11:51 AM Misc #14470: Use Commit together with co-authors feature in svn commits
I think the ruby core team and/or matz has to decide on attribution.
It can probably be done in SVN as-is, without d...
shevegen (Robert A. Heiler)
10:27 AM Misc #14470 (Closed): Use Commit together with co-authors feature in svn commits
As currently Ruby is using SVN, for "merging" a PR, the PR is closed and the changes added in a SVN commit. In this c... ana06 (Ana Maria Martinez Gomez)
10:41 PM Feature #13618: [] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> > How long does it release the GVL for?

> I would see it heavily depends on work...
normalperson (Eric Wong)
09:39 PM Feature #8158: lightweight structure for loaded features index
Hi Yura,
I think the commit rights here reduce the amount of work for the rest of the Ruby team.
This change ...
sam.saffron (Sam Saffron)
09:31 PM Bug #14357: thread_safe tests suite segfaults
On 02/13/2018 05:13 AM, Eric Wong wrote:
> [email protected] wrote:
>> File thread-table-rebuild. added
> ...
vmakarov (Vladimir Makarov)
10:22 AM Bug #14357: thread_safe tests suite segfaults
[email protected] wrote:
> File thread-table-rebuild. added

Thank you for working on this!

> This pr...
normalperson (Eric Wong)
08:58 PM Feature #14473 (Closed): Add Range#subrange?
Hi there,
I'd like to propose a method that returns true when a range that the method gets called on is a subrange...
greggzst (Grzegorz Jakubiak)
08:22 PM Bug #14472 (Rejected): `File::open` closes the file too early when used with callcc
First of all, I know `callcc` is deprecated feature and I'm not in trouble with this bug.
I was just curious and hap...
blackenedgold (Sunrin SHIMURA)
06:23 PM Feature #14460: Speed up `require` and reduce memory usage
Hi,
I didn't see that ticket, but I made a comparison now:
![Updated heap comparison](https://user-images.githu...
tenderlovemaking (Aaron Patterson)
10:41 AM Feature #14460: Speed up `require` and reduce memory usage
Did you compare it with https://bugs.ruby-lang.org/issues/8158 ? funny_falcon (Yura Sokolov)
05:14 PM Bug #14471 (Closed): DRb mixing up function return values between PIDs after fork()
This is likely a duplicate of https://bugs.ruby-lang.org/issues/2718, although the Backport191 project in redmine app... jrafanie (Joe Rafaniello)
03:58 PM Revision 01a656c3 (git): * 2018-02-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:58 PM Revision ddb65f0b (git): mjit_compile.inc.erb: replace opt_key insn
with opt_send_without_block insn if call cache has valid ISeq.
If the receiver is not optimized target of opt_key (i....
k0kubun (Takashi Kokubun)
01:29 PM Revision 6593c3af (git): Fixing some minimal formating on enum.c examples
This will fix the formatting shown on detect|find and revese_arch
generated by RDoc.
[Fix GH-1816]
From: Espartaco ...
nobu (Nobuyoshi Nakada)
10:24 AM Feature #14468: Add Proc#dig
I am also not a fan of this particular case, but I think it makes sense to let `dig` call `fetch` (or `[]`) recursive... sawa (Tsuyoshi Sawada)
04:32 AM Feature #14468: Add Proc#dig
I don't oppose it, but I'm not very enthusiastic about it. `Integer` and `String` also respond_to `[]`, and I don't q... marcandre (Marc-Andre Lafortune)
12:24 AM Feature #14468: Add Proc#dig
I am not one of the devs so this is just my own opinion.
I sort of agree with the proposal; not so much because I ...
shevegen (Robert A. Heiler)
10:02 AM Revision 4663c224 (git): st.c: retry operations if rebuilt
Calling the .eql? and .hash methods during a Hash operation can
result in a thread switch or a signal handler to run:...
Eric Wong
09:36 AM Revision 248ff4f1 (git): variable.c: flags at autoloading
* variable.c (const_tbl_update): flags by deprecate_constant /
private_constant set during autoloading should be pr...
nobu (Nobuyoshi Nakada)
09:34 AM Revision 8cdac548 (git): vm_insnhelper.c: rb_autoloading_value flag
* vm_insnhelper.c (vm_get_ev_const): add flag argument of
`rb_autoloading_value`.
* constant.h (rb_autoloading_val...
nobu (Nobuyoshi Nakada)
09:34 AM Revision 66652bb6 (git): revert r62392
check the declaration of `rb_autoloading_value()` in vm_core.h and the call in
vm_insnhelper.c, and retry it.
git-s...
U.Nakamura
09:11 AM Bug #14469 (Closed): private_constant and deprecate_constant are ignored by autoloading
Applied in changeset trunk|r62392.
----------
variable.c: flags at autoloading
* variable.c (const_tbl_update): fla...
nobu (Nobuyoshi Nakada)
08:49 AM Bug #14469 (Closed): private_constant and deprecate_constant are ignored by autoloading
Consider the following code in file "zzz.rb":
```ruby
class ZZZ
P = D = 1
private_constant :P
deprecate_...
nobu (Nobuyoshi Nakada)
09:11 AM Revision a6a596a5 (git): variable.c: flags at autoloading
* variable.c (const_tbl_update): flags by deprecate_constant /
private_constant set during autoloading should be pr...
nobu (Nobuyoshi Nakada)
09:08 AM Bug #14458 (Rejected): RubyVM::InstructionSequence compilation loses Regexp encoding
duerst (Martin Dürst)
07:42 AM Revision 9b96817b (git): process.c (try_with_sh): fix the wrong number of arguments
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:03 AM Revision c8a5126d (git): xmalloc never returns NULL
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom