Activity
From 07/23/2019 to 07/29/2019
07/29/2019
-
11:36 PM Bug #15449: Range#=== is not using cover in Ruby 2.6
- I agree that this is a bug, and not the intended behavior now that `Range#===` calls `Range#cover?` in most cases. Hopefully nobu can confirm. Attached is a patch that fixes the behavior.
I think this should be backported to 2.6, as... -
10:44 PM Bug #15493 (Closed): Seg Fault on 'vagrant up' Fedora29 intel
-
10:44 PM Bug #15601 (Closed): bug in the Ruby interpreter or extension libraries.
-
10:44 PM Bug #15675 (Closed): "fatal - exception reentered" error after installing Ruby 2.5.5
-
10:43 PM Bug #15728 (Closed): error compiling C - file under Ruby
-
10:39 PM Bug #15368 (Closed): Crash Report log information
-
10:37 PM Bug #15309 (Closed): ECB is broken
- This is because `encrypt` is called after `key`, which goes against the documentation. It is not specific to ECB. This is fixed by https://github.com/ruby/openssl/pull/263, which raises an exception for this broken code instead of silen...
-
10:31 PM Bug #15252 (Closed): hitting what seems like a gc segfault at random
-
10:29 PM Bug #15140 (Closed): Bug in Interpreter or Extension Libraries
-
10:28 PM Bug #15034 (Closed): Crash in Opensuse Software management
-
10:27 PM Bug #14943 (Closed): ruby 2.4 doesn't work with jemalloc 5.1.0 properly.
-
10:20 PM Bug #14695 (Closed): [2.5.1] `===` is 1.77x slower than `match?`
-
07:55 PM Bug #16028 (Closed): Backport r67563: SNI is not enabled in Net::IMAP
- There was an issue already created for https://bugs.ruby-lang.org/issues/15594 as a backport for Ruby 2.6 by naruse: https://bugs.ruby-lang.org/issues/15769. Can we get this backported to Ruby 2.5 and 2.4? This affects users on Ubuntu 18...
-
07:18 PM Bug #14485 (Open): For File#path.tainted? and File#to_path.tainted? should match original.tainted?
- I had to revert my patch for this because it failed on a lot of operating systems. There must be cases where the file path is tainted on those systems other than the one place where I removed `rb_obj_taint`. Either that, or the new tes...
-
05:48 PM Bug #14485 (Closed): For File#path.tainted? and File#to_path.tainted? should match original.tainted?
- Applied in changeset commit:git|1a759bfe5d554c22571d2e6e4e5998cf06a7b98f.
----------
Do not always taint the result of File#path
The result should only be tainted if the path given to the method
was tainted.
The code to always taint t... -
07:10 PM Revision 6eab49a4 (git): Revert "Do not always taint the result of File#path"
- This reverts commit 1a759bfe5d554c22571d2e6e4e5998cf06a7b98f.
This fails on some operating systems. -
07:03 PM Feature #14240: warn four special variables: $; $, $/ $\
- nobu (Nobuyoshi Nakada) wrote:
> It does not match to test `rb_warn` with `assert_warning`.
> ...
Thanks. I switched to `assert_warn`, as I think deprecation warnings should be a regular warning, not a verbose warning. Verbose warning... -
06:06 PM Revision 177731aa (git): Document that Timezone argument for Time uses dst? if available [ci skip]
-
05:48 PM Bug #14062 (Closed): Top-level return allows an argument
- Applied in changeset commit:git|aa97410b0a85cb4ceb956ab943b5eee92a128411.
----------
Warn if using return at top-level with an argument
Fixes [Bug #14062] - 05:48 PM Revision 9170646f (git): * 2019-07-30
-
05:45 PM Revision 1a759bfe (git): Do not always taint the result of File#path
- The result should only be tainted if the path given to the method
was tainted.
The code to always taint the result was added in
a4934a42cbb84b6679912226581c71b435671f55 (svn revision 4892) in
2003 by matz. However, the change wasn't me... -
04:40 PM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- So there is one path that might work here (it has limits but there are limits in general that cannot be worked around).
If one takes the following scenario
We have a set of items in a store where the base unit of price is 0.01 mean... -
07:49 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- mrkn (Kenta Murata) wrote:
> Julia provides `isapprox` function in `Base` module. This returns `true` if `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))`.
> ...
From https://repl.it/languages/julia (online julia repl)
isappro... -
07:35 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- Julia provides `isapprox` function in `Base` module. This returns `true` if `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))`.
The detail documentation is [here](https://docs.julialang.org/en/v1/base/math/#Base.isapprox).
The def... -
07:34 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- yennguyenh (yen nguyen) wrote:
> wishdev (John Higgins) wrote:
....
> ...
First, my sincere apologies - I missed an email along the way and this just popped up on my radar this evening with the newest message.
However to be clear
... -
06:54 AM Feature #15811: Propsing new method for comparing equality of 2 (float) numbers relatively
- could you share how about other languages (code examples)?
anyway, if you are interest about this ticket yet, could you file on our dev-meeting agenda?
https://bugs.ruby-lang.org/issues/15996
Thanks.
-
04:07 PM Bug #14442 (Closed): report a bug when I run ruby project
-
04:01 PM Revision aa97410b (git): Warn if using return at top-level with an argument
- Fixes [Bug #14062]
-
03:29 PM Bug #14432 (Closed): Ruby crashes with "[BUG] pthread_mutex_destroy: Device or resource busy (EBUSY)"
-
03:25 PM Bug #14398 (Closed): [BUG] Bus Error
-
02:54 PM Bug #14100 (Closed): segfault in vm_exec during compile
-
02:47 PM Bug #14089 (Closed): Configure/build issue on OSX 10.12 w/ utimensat
-
02:05 PM Revision c2428b8b (git): Erase only on tty
-
02:05 PM Revision e62a6092 (git): Should match the beginning/end of string
-
02:05 PM Revision 3ee63cfe (git): Match suffix for content type more precisely
- Suffix needs a dot and should match the end of string.
-
02:05 PM Revision bef398eb (git): Chomp html suffix literally
- Unescaped dot does not mean a suffix.
-
02:05 PM Revision 968c7b43 (git): Fix unused variable
-
11:57 AM Revision a5ea55fe (git): Actually remove travis_wait
- I forgot to amend again... Details are explained in
f6a6b21f09b24955a44622e1767bf5b6630525be -
11:56 AM Feature #15588: String#each_chunk and #chunks
- I also wanted something like `# each_slice`.
For example, use it when you want to fix the width of the output.
```ruby
puts "abcdefghijklmnopqrstuvwxyz".each_slice(5).map { |s| "#{s}<br>" }
# output:
# abcde<br>
# fghij<br>
# kl... -
11:01 AM Feature #15588: String#each_chunk and #chunks
- `#each_slice` and `#slices` seems fine to me as well; I think it is also a better
name than chunks.
-
09:22 AM Feature #15588: String#each_chunk and #chunks
- I think `String#each_slice(n_chars)` would make sense, since it's like `str.chars.each_slice(9) { |a| a.join }`
-
09:04 AM Feature #15588: String#each_chunk and #chunks
- > I wonder if we should have consistency with slice and `each_slice` from `Array`. But honestly, I don't care, just if it's available.
I like `String#each_slice` and `#slices`.
> ...
Considering consistency with `#slice` , it is be... -
11:55 AM Revision f6a6b21f (git): `travis_wait` silences any output
- and thus it does not work with `-v` for investigating hangs well.
This seems to be by design: https://github.com/travis-ci/travis-ci/issues/4190
Also I simplified a comment about `homebrew.update`.
I had this in-flight change while edit... -
11:25 AM Revision e05f397f (git): Give up `brew update` on Travis
- No `brew update` causes "Error: Your Homebrew is outdated" like https://travis-ci.org/ruby/ruby/jobs/547485832,
but doing `brew update` is also problematic like https://travis-ci.org/ruby/ruby/jobs/564916879.
Hoping that the former case... -
11:14 AM Bug #15812 (Closed): Run specs from install folder?
- @MSP-Greg I think it's OK to run specs after make-install if that is somehow better in CI.
I'd like to only support running specs on installed Ruby, but that's a separate issue: #13620.
I saw that you closed https://github.com/ruby... -
10:49 AM Revision 5af28fec (git): Resurrect -v to debug osx problems
- Formerly we did f432fd6ea595ef854e15d6dd65ef0ccb24a70456, but it did not
eliminate our problems: https://travis-ci.org/ruby/ruby/jobs/564804923 -
10:45 AM Revision 4b4d8a66 (git): Stop isolating test_gc_compact on CI
- I think it's been stable these days.
-
10:36 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #15588] String#each_chunk and #chunks
* name: #each_slice and #slices are better?
* size as characters or bytes
* should we support :strip parameter?
* [Feature #15553] Addrinfo.getaddrinfo supports timeout
* I'd... -
08:31 AM Feature #15921: R-assign (rightward-assignment) operator
- nobu (Nobuyoshi Nakada) wrote:
> ioquatix (Samuel Williams) wrote:
> ...
You may be able to use `|>` here.
```ruby
Users.where(active: true) => active_users |> where(type: "admin") => admin_users
``` -
08:26 AM Feature #15919 (Rejected): Offset parameter for `Integer#times`
-
08:24 AM Feature #15919: Offset parameter for `Integer#times`
- I think `Numeric#step` was OK. Is there any reason to stick with `Integer#times`?
Matz. -
08:19 AM Feature #15919: Offset parameter for `Integer#times`
- It seems difficult to introduce (`Integer#step`)...
Matz, what do you think about it? -
08:20 AM Bug #12961: Bad value for range using infinity for Date or Time
- Since both `Time` and `Date` work with float numbers at the other ends of the ranges, it should accept `Float::INFINITY` as well.
Matz. -
08:04 AM Feature #15912 (Assigned): Allow some reentrancy during TracePoint events
- Sorry for inconvenient. Should we re-enable a hook in a block like `TP.new{ ...; tp.reopen{ ... 'enable here'}; ...}` ?
-
08:01 AM Feature #15236 (Rejected): add support for hash shorthand
- Please reopen (re-create) new proposal which can persuade Matz.
-
07:56 AM Bug #15558: Should Exception#exception copy the backtrace?
- I'm not sure the intention, but
Japanese document shows how to use it:
```
# http://rurema.clear-code.com/2.6.0/method/Exception/i/exception.html
begin
... # do something
rescue => e
raise e.exception("an error occu... -
07:48 AM Feature #15878 (Assigned): Make exit faster by not running GC
-
07:48 AM Feature #15982: Remove y2racc and racc2y
- https://github.com/ruby/racc/tree/1-4-stable/bin still have them. We can remove them when releasing racc-2.0.
-
07:44 AM Feature #15896 (Rejected): Symbol#+
- Ut seems difficult to introduce.
Please reopen it with your opinion if it should be discussed more. -
07:39 AM Bug #15885 (Assigned): Duplicated `:raise` tracepoint event when exception inside `load` call happens
-
07:32 AM Feature #15879: Proposal: Time#to_i accepts :unit keyword
- joker-san, if you are interest about this ticket yet, could you file on our dev-meeting agenda?
https://bugs.ruby-lang.org/issues/15996
Thanks.
-
07:30 AM Bug #15877 (Assigned): Incorrect constant lookup result in method on cloned class
- oops!
-
07:20 AM Bug #15625 (Closed): Module#name performance has exponential-time worst case by aliased constants
-
07:13 AM Feature #15833: Some refactors for shared-root array
- Eregon (Benoit Daloze) wrote:
> I think RARRAY_SHARED_ROOT_FLAG could be in internal.h, if you want to expose it outside of array.c but not as public C API.
> ...
I agree both. -
07:07 AM Misc #16025: 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
- Original discussion at here: https://github.com/k-takata/Onigmo/issues/130
I think it's better to fix this in Ruby rather than in Onigmo.
I can suggest two ways.
1\. Add `#ifndef` around `st_check_for_sizeof_st_index_t`
```diff... -
07:05 AM Bug #15850 (Closed): Deprecate and remove optparse/ac
-
07:04 AM Misc #15851: stdlib extension gems - building/testing on Windows
- Greg, who should have a ball?
-
07:01 AM Bug #15849 (Closed): Using hash as first positional argument, mixed with named arguments causes unexpected behavior
- I believe Jeremy :) and if it is not the same issue, please reopen it.
-
06:58 AM Feature #15829 (Rejected): Object#then_if(condition){}
- It seems difficult to introduce.
if you are interest about this ticket yet, could you reopen it and file on our dev-meeting agenda?
https://bugs.ruby-lang.org/issues/15996
Thanks. -
06:37 AM Feature #15815: Add option to raise NoMethodError for OpenStruct
- mtsmfm-san, if you are interest about this ticket yet, could you file on our dev-meeting agenda?
https://bugs.ruby-lang.org/issues/15996
Thanks. -
06:28 AM Misc #15800: Reduce ONIG_NREGION from 10 to 4: power of 2 and testing revealed most pattern matches are less than or equal to 4 results
- https://github.com/ruby/ruby/commit/a47f598d77ac97f9fe89fe16aa8bcab4fd262c16
-
06:02 AM Feature #15631: Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
- pls give us your measurements. We can't understand how it is useful.
Thanks,
Koichi -
05:01 AM Feature #15602 (Assigned): Eliminate recording full-width hash value for small Hash
- Patch is updated:
https://github.com/ko1/ruby/tree/hash_small_ar
NEWS:
* Support 32bit CPU
* Support > 127 Hash iteration level
* Fix bugs
# Evaluation
## Discourse benchmark
### overall benchmark
With discourse benchm... -
04:29 AM Revision 8c6f1715 (git): Removed unused variables and methods
-
04:29 AM Revision 630eb04b (git): [ruby/rdoc] Removed unused variable
- 03:06 AM Revision f811a5e9 (git): * 2019-07-29
-
02:44 AM Revision 61f0f71e (git): Moved osx_image
- Set osx_image under each configuration, as it decides the OS (and
kernel) version not only Xcode version, and the configuration name
contains the kernel version. -
01:15 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- @dalehamel: Do you have any parts implemented already, or any plans for implementation? Would you be ready to do significant implementation work if this feature got accepted? What parts do you think could be done as a Gem, and what parts...
07/28/2019
-
03:20 PM Bug #16026: `Set#count` performance issues
- > Maybe it's worth considering, #count with no arguments can invoke #size. What do you think?
Since it's what Array does (`rb_ary_count `), it would make sense to do the same in `set.rb` IMHO.
-
02:16 PM Bug #15906: a=a のような式をもつ条件分岐が意図しない挙動をする
- ruby_2_6 r67716 merged revision(s) a6a26e42b15c46f117f4fce07a2050e9d727355d.
-
02:16 PM Revision 4e12051f (git): merge revision(s) a6a26e42b15c46f117f4fce07a2050e9d727355d: [Backport #15906]
- compile.c: Partially revert r63870 which caused wrong optimization
[Bug #15906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:02 PM Bug #15845: Backport dcb6a6ae3e
- ruby_2_6 r67715 merged revision(s) dcb6a6ae3e2b8a3e298e7f0d4a3e7f8ff102a30e.
-
02:02 PM Revision 4913edde (git): merge revision(s) dcb6a6ae3e2b8a3e298e7f0d4a3e7f8ff102a30e: [Backport #15845]
- Windows simply causes an error to open invalid path
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:15 PM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- > As far as I understand, target provides just an internal filtering, so I wonder how it involves external USDT API.
The external USDT API is "always on" or "always off", it must be enabled for all events of a type or not used at all.... -
06:54 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- > Ruby JIT may make this easier
> ...
You seem to hope JIT can hook your feature easily, but I believe that's not true. For example, JIT often fallbacks to VM interpretation when some unexpected things like a method redefinition or Trac... -
02:34 AM Feature #15997: Improve performance of fiber creation by using pool allocation strategy.
- ioquatix (Samuel Williams) wrote:
> It was merged.
Hi Samuel excellent work. I'm just wondering about the 20MB pool size noticeable across a few different application types with the fiber pool changes. And the ruby teardown sequence ... -
12:52 AM Revision b4058980 (git): [reline] Do not compile regexp for each line
-
12:47 AM Revision a6e32855 (git): [reline] Do not escape and compile regexp for each byte
07/27/2019
-
11:23 PM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- dalehamel (Dale Hamel) wrote:
> Once the Ruby TracePoint API recently added the ability to do filtered tracing in [Feature #15289], it added new functionality but brought the TracePoint and USDT API out of sync.
As far as I underst... -
08:02 PM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- Hi Robert,
Thank you for your reply and feedback.
To clarify, I don't think that this feature not working on, for instance, Windows is much of a big deal, and perhaps it could be extended to Windows or any other unsupported platfor... -
06:18 PM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- You refer to koichi in #15289, and to kokobun here, so perhaps they may comment
here in due time. :)
As for running only on *nix - I think there is at the least a ~loose policy that
ruby should run on as many operating systems as p... -
05:22 PM Feature #16027 (Assigned): Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- # Abstract
I propose that Ruby's "dtrace" support be extended to match what is available in the TracePoint API, as was the case until feature [Feature #15289] landed.
# Background
I will refer to Ruby's "dtrace" bindings as USDT... - 10:37 PM Revision bce34820 (git): * 2019-07-28
-
10:33 PM Revision 1d1f98d4 (git): Reuse match data
- * string.c (rb_str_split_m): reuse occupied match data. [Bug #16024]
-
04:15 PM Bug #16026: `Set#count` performance issues
- I understand and I agree with your logic.
Maybe it's worth considering, `#count` with no arguments can invoke `#size`. What do you think? -
07:09 AM Bug #16026: `Set#count` performance issues
- technically `Set#count` comes from `Enumerable`, where it has support for this too
```
enum.count(item) -> int
enum.count { |obj| block } -> int
```
so i don't think Set should make `#count` work like `#size` -
06:00 AM Bug #16026 (Rejected): `Set#count` performance issues
- `Set#size` is O(1), but `Set#count` is O(N).
I would like to add `alias count size` to `class Set`
Is it okay? -
02:46 PM Revision adf13625 (git): Extend travis_wait to 50min for osx
- but shorten --timeout-scale for now to avoid finishing with timeout
if possible.
timeout: https://travis-ci.org/ruby/ruby/jobs/564370175 -
01:16 PM Bug #16024 (Closed): String#split with block. cannot use Regexp in the block.
- Applied in changeset commit:git|f1b76ea63ce40670071a857f408a4747c571f1e9.
----------
Occupy match data
* string.c (rb_str_split_m): occupy match data not to be modified
during yielding the block. [Bug #16024] -
05:46 AM Bug #16024: String#split with block. cannot use Regexp in the block.
- tksotn (TAKASHI OOTANI) wrote:
> $ ruby -v
> ...
Hi,
I tried with `str.split().each &block` and things work just fine for me.
-
05:26 AM Bug #16024 (Closed): String#split with block. cannot use Regexp in the block.
- ```
$ ruby -v
ruby 2.6.3p62 (2019-04-16 revision 67580) [x86_64-linux]
$ cat foo
str = "aaa,bbb;ccc,ddd"
n=0
str.split(/[;,]/) do |word|
n+=1
p [n,word.gsub(/\w/,"A")]
end
$ ruby foo
[1, "AAA"]
[2, "\u0000AAA,AAA;AAA,... -
12:54 PM Revision f1b76ea6 (git): Occupy match data
- * string.c (rb_str_split_m): occupy match data not to be modified
during yielding the block. [Bug #16024] -
12:34 PM Revision e3b613a6 (git): Include travis osx timeout
- for failures like https://travis-ci.org/ruby/ruby/jobs/564351066
-
11:15 AM Revision 73530a96 (git): tool/merger.rb: execute 'svn update' after 'svn ci' to update revision info on working copy.
-
11:10 AM Bug #14062: Top-level return allows an argument
- jeremyevans0 (Jeremy Evans) wrote:
> Attached is a patch that adds a warning when using a top-level return with an argument.
Thank you, it looks good to me.
Although, I would suggest to change the warning message to one of these:
`... -
10:57 AM Revision 7b727e30 (git): Update to ruby/spec@0526d8f
-
10:40 AM Revision 5c276e1c (git): Update to ruby/spec@875a09e
-
09:38 AM Misc #15723: Reconsider numbered parameters
- There might be one more reason for limiting the feature to a single argument referenced via `@` (or any other sigil/keyword):
`@<n>` can obscure the block signature.
E.g. `record_finder.perform { @1.delete }` tells me nothing about... -
09:22 AM Misc #16025: 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
- vadimp (Vadim Peretokin) wrote:
> ```
> ...
What is this file?
Do you mix different oniguruma?
-
05:32 AM Misc #16025 (Assigned): 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
- Compilation of st.h with Emscripten 1.38.30 fails:
``` c
st.h:65:45: error: 'st_check_for_sizeof_st_index_t' declared as an
array with a negative size
typedef char st_check_for_sizeof_st_index_t[SIZEOF_VOIDP == (int)sizeof(st... -
09:13 AM Feature #15976: Add Array#overlap? for whether the intersection of 2 arrays is non empty?
- I think this should be called `intersect?` for consistency with `Set#intersect?` and `SortedSet#intersect?`.
-
07:56 AM Revision a06301b1 (git): Ignore history file without saving if permissions cannot be changed
- Fixes [Ruby Bug 13907]
-
07:56 AM Revision f9f02e82 (git): Use JRuby equivalent of RubyVM.compile.
- RubyVM is specific to CRuby and not supported on JRuby. This is
the equivalent operation. -
07:47 AM Revision 58bb7f0c (git): Skip the some of commits when sync default gems from upstream.
- * Skip failed to sync commits because it needs to pick manually.
* Skip empty commit. -
07:47 AM Revision 012d39c4 (git): Added ignore files to sync_default_gems_with_commits and make constant them.
-
05:57 AM Feature #15997 (Closed): Improve performance of fiber creation by using pool allocation strategy.
- It was merged.
-
04:55 AM Bug #15988 (Closed): Time#dst? vs "real" timezones
- Applied in changeset commit:git|149e414ed529d27aaeb0543bc133e08c782d8d41.
----------
Initialize DST flag
* time.c (zone_timelocal): initialize DST flag by asking the
timezone object. [Bug #15988] -
03:41 AM Revision 149e414e (git): Initialize DST flag
- * time.c (zone_timelocal): initialize DST flag by asking the
timezone object. [Bug #15988] -
01:54 AM Feature #14240: warn four special variables: $; $, $/ $\
- It does not match to test `rb_warn` with `assert_warning`.
Should be `rb_warn`+`assert_warn` or `rb_warning`+`assert_warning`.
And non-default `$;` and `$,` are warned now.
Do you think these **names** should be warned too? -
12:06 AM Bug #14263 (Closed): Array Intersection does not seem to use hash
- Applied in changeset commit:git|8bccbf3cfea8c1059d40db5b5e61900cf6cf29d3.
----------
Add more documentation on #eql?/#hash relationship [ci skip]
Fixes [Bug #14263] -
12:05 AM Revision 8bccbf3c (git): Add more documentation on #eql?/#hash relationship [ci skip]
- Fixes [Bug #14263]
07/26/2019
-
11:57 PM Revision 6279cf8b (git): Restore documentation for Object#hash [ci skip]
- Object#hash documentation was removed (probably by accident) in
7b19e6f3fdf8b0238752cb1561dfe42a283f5308. -
11:19 PM Feature #14240: warn four special variables: $; $, $/ $\
- Attached is a patch that adds a deprecation warning for the 5 global variables ($; $, $/ $\ $.), unless inside ruby `-e`. However, there is use of these variables inside Ruby that should be fixed if we plan to make this change. I've al...
-
10:46 PM Bug #14202 (Closed): gem install rails fails
-
10:46 PM Bug #14198 (Closed): Error forwarding standard input to subprocess
-
10:45 PM Bug #14161 (Closed): Getting segmentation fault some time while running rspec
-
10:42 PM Bug #14157 (Closed): You may have encountered a bug in the Ruby interpreter or extension libraries.
-
10:42 PM Bug #14156 (Closed): broken bundler install
-
10:41 PM Bug #14148 (Closed): Longstanding behavior regarding correspondence of toplevel with Object is surprising
-
10:26 PM Bug #14120 (Closed): Gem bundle installation on ruby 2.2.2
-
10:25 PM Bug #14113 (Closed): Crashed Thread: 15 thread_pool.rb*
-
10:25 PM Bug #14106 (Closed): [BUG] Segmentation fault
-
10:23 PM Bug #14099 (Closed): heap-use-after-free (WRITE of size 8) in rb_obj_write (include/ruby/ruby.h:1484)
-
10:21 PM Bug #14081 (Closed): Compile failure in "make install" step, at "stringio"
-
10:21 PM Bug #14080 (Closed): Performance issue with Marshal.dump and Array of Floats - 100x regression in 2.3.x
-
10:16 PM Bug #14072 (Closed): Ruby interpreter
-
10:16 PM Bug #14062: Top-level return allows an argument
- Attached is a patch that adds a warning when using a top-level return with an argument.
-
09:48 PM Bug #13992 (Closed): Strange behaviour for kernel#integer method
-
09:47 PM Bug #13907 (Closed): Operation not permitted (Errno::EPERM) when adjusting .irbrc_history file permissions
-
09:45 PM Bug #13841 (Closed): Segmentation fault in Ruby CFUNC :to_s
-
09:45 PM Bug #13835 (Closed): Using 'open-uri' with 'tempfile' causes an exception
- This issue no longer occurs in the master branch, probably due to commit:05aac90a1bcfeb180f5e78ea8b00a4d1b04d5eed. That commit changed the behavior so that `open` is not called on the first argument to `Kernel#open` if the object respon...
-
09:34 PM Bug #13834 (Closed): RubyGems test suite occasionally changes working directory and breaks the rest of test suite
-
09:33 PM Bug #13811 (Feedback): Ruby 2.4.1 fails to compile inside qemu armhf - signal 11 (Segmentation fault)
- Does this still happen with Ruby 2.5.5, 2.6.3, or the master branch?
-
09:32 PM Bug #13778 (Closed): net/http.rb:879 TCPSocket.open fail
-
09:29 PM Bug #13749 (Closed): Encountered a bug in the Ruby interpreter or extension libraries.
-
09:29 PM Bug #13716 (Closed): Unexpected or undocumented (or maybe both) behaviour when mixing String#scan with named captures
- Applied in changeset commit:git|bd3283338250827e0f9e2fd1785bd1fd4151e66d.
----------
Document behavior when mixing named captures with parentheses [ci skip]
Fixes [Bug #13716] -
09:26 PM Revision bd328333 (git): Document behavior when mixing named captures with parentheses [ci skip]
- Fixes [Bug #13716]
-
06:48 PM Bug #13664 (Closed): encountered a bug in the Ruby interpreter or extension libraries
-
06:47 PM Feature #15955: UnboundMethod#apply
- I think this makes sense for convenience and better performance on MRI or during interpretation (vs in compiled code).
Using an UnboundMethod for getting a copy of a method at a given time is indeed a good usage, we use it in TruffleR... -
01:48 PM Feature #15955: UnboundMethod#apply
- Zeitwerk had the exact same use case recently: https://github.com/fxn/zeitwerk/blob/ba7ff65d40a4309701981f9443249ac7e0e8c65f/lib/zeitwerk/real_mod_name.rb
i.e. get the true Module name even if the method was redefined. -
06:47 PM Bug #13660 (Closed): rb_str_hash_m discards bits from the hash
-
06:45 PM Bug #13650 (Closed): Sporadic Ruby Crashing
-
06:44 PM Bug #13635 (Closed): ruby and linux-pf or linux-zen kernels
-
06:27 PM Bug #13617 (Closed): ruby 2.3.4 will not run nor install on same disk but different machine
-
06:25 PM Bug #13607 (Closed): .rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/forwardable.rb:228: [BUG] Segmentation fault at 0x00000000000038
-
05:59 PM Bug #13603 (Closed): SecureRandom.uuid is not valid v4 and/or RFC 4122
- Applied in changeset commit:git|5fef46ae0dedaab359f55bc3680f4278eb7da98d.
----------
Test SecureRandom.uuid format
SecureRandom uses v4 UUIDs, which are completely random except for
6 bits, 4 in the version field and 2 in the clk_seq_h... -
05:53 PM Feature #15973: Let Kernel#lambda always return a lambda
- I think the delegating lambda idea doesn't really work. I mean, it doesn't *do* anything. You just get a lambda that behaves like a proc. It just changes the return value of `Proc#lambda?` which I don't think has any benefit by itself. I...
-
05:16 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
- The issue seemed to be in how .dotfiles were handled, where all leading periods were trimmed when only the first should have been.
I've created a patch that seems to fix the issue and added a spect test for it. It's only a 2 line chan... -
04:56 PM Revision 5fef46ae (git): Test SecureRandom.uuid format
- SecureRandom uses v4 UUIDs, which are completely random except for
6 bits, 4 in the version field and 2 in the clk_seq_hi_res field.
Add a test that those bit patterns are set correctly for v4 UUIDs,
per RFC 4122 section 4.4.
Fixes [Bug... -
03:23 PM Bug #13594 (Closed): Segfault in gc_sweep_step 2.4.1
-
03:22 PM Bug #13586 (Closed): Ruby hangs when accessing array which is modified in instance_eval after Coverage.start
-
03:22 PM Bug #13580 (Closed): bug
-
03:21 PM Bug #13564 (Rejected): Exception message management
-
03:19 PM Bug #13548 (Closed): miniruby SEGV while building with non-default CFLAGS (caused by __builtin_setjmp)
-
03:18 PM Bug #13501 (Closed): Process.kill behaviour for negative pid is not documented and may be wrong
- Applied in changeset commit:git|b1a2eddbfcb883c363bd67858a4dc739f4755775.
----------
Document acceptance of negative pid in Process.kill [ci skip]
Fixes [Bug #13501] - 03:18 PM Revision 4f978a1c (git): * 2019-07-27
-
03:13 PM Revision b1a2eddb (git): Document acceptance of negative pid in Process.kill [ci skip]
- Fixes [Bug #13501]
-
03:04 PM Bug #13490 (Closed): segmentation fault while parsing object to time and adding to array
-
03:02 PM Bug #13421 (Closed): problem rails c
-
03:00 PM Bug #13410 (Closed): [BUG] Segmentation fault at file read
-
02:58 PM Bug #13377 (Closed): Crash while running tests
-
02:57 PM Bug #13375 (Third Party's Issue): msfconsole up to date not work with ruby installer rvm version 2.3.3 2.4.0 2.4.1 correctly ruby kali rolling
-
02:56 PM Bug #13373 (Closed): FileUtils methods for copy, move and remove directories is not providing a decent error trace for letting know if it was success or fail
-
02:56 PM Bug #13372 (Closed): File class is not able to identify EOL for file text using CR character .
-
02:56 PM Bug #13349 (Closed): Ruby unable to open files in /dev on AIX if compiled on AIX 7.1 or later
-
02:55 PM Bug #13347 (Closed): bug in the Ruby interpreter or extension libraries when using rails s
-
02:54 PM Bug #13320 (Closed): rescue blocks get an entry in backtrace locations
-
02:53 PM Bug #13311 (Closed): Segmentation fault while running rspec
-
02:52 PM Bug #13307 (Closed): Changing scheme from http to https for the URI does not change the port number
-
02:52 PM Bug #13274 (Closed): Ruby interpreter when using Puma.
-
02:50 PM Bug #13258 (Closed): Segmentation fault at 0x00000000000000 during instance_eval
-
02:49 PM Bug #13255 (Closed): segmentation fault
-
02:47 PM Bug #13243 (Closed): Test suite failure
-
02:47 PM Bug #13235 (Closed): [BUG] Segmentation fault at 0x00000000000038
-
02:44 PM Bug #13216 (Closed): Possible unexpected behaviour reading string starting with a byte order mark
-
02:43 PM Bug #13178 (Closed): CGI.unescape change in behavior
-
02:41 PM Bug #13160 (Closed): Socket c code breaks ruby interpreter
-
02:37 PM Bug #13142 (Closed): Forwardable regression: cannot delegate to a constant since 2.4.0
- Applied in changeset commit:git|4b7d7d007fa5a06d237be6f379106feea25fca79.
----------
Document and add spec for delegating to constants in Forwardable
Fixes [Bug #13142] -
02:35 PM Revision 4b7d7d00 (git): Document and add spec for delegating to constants in Forwardable
- Fixes [Bug #13142]
-
01:31 PM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- shevegen (Robert A. Heiler) wrote:
> (Not the same, I know, but my point is mostly that the second usage is
> ...
Then what about making them equivalent so it's easier to compare which is more understandable.
``` ruby
12.3456.floo... -
01:22 PM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- shyouhei (Shyouhei Urabe) wrote:
> Dan0042 (Daniel DeLorme) wrote:
> ...
Good point, I see what you mean. I would expect 12.3456 but because of float imprecision we get 12.3454 using the above formula. Of course that's the gotcha with ... -
10:12 AM Feature #16021: floor/ceil/round/truncate should accept a :step argument
- Hmm. I have mixed feelings about the proposal. I think in principle it
would be ok to add more flexibility as such (e. g. :step or :by, although
I think :step is a strange name). At the same time, though, this proposal
makes the use o... -
02:17 AM Feature #16021 (Feedback): floor/ceil/round/truncate should accept a :step argument
- Dan0042 (Daniel DeLorme) wrote:
> Equivalent to e.g. `((num / step.to_f).round * step)`
> ...
Can I ask you what do you expect for `12.3456.floor(step: 0.0002)` then? -
09:32 AM Revision 21ce8b32 (git): [ruby/rdoc] Fix image links in rdoc.css
- Every image in the rdoc.css that use url has the wrong one. They end up pointing to `css/images/zoom.png` instead of `images/zoom.png`.
Just open this page https://ruby.github.io/rdoc/RDoc/CodeObject.html on chrome and you can see in th... -
09:32 AM Revision 8bb48923 (git): [ruby/rdoc] Update jQuery to 3.3.1
- https://github.com/ruby/rdoc/commit/17df871ee
-
09:29 AM Revision 3b0f952e (git): [ruby/rdoc] Support nesting text page URL
- RDoc::Servlet#documentation_page replaces "/" in URL with "::" for class
or module but it's also used for the replaced name on text pages. This
causes a bug when text pages are in nesting directory.
This commit fixes #615.
https://gith... -
09:20 AM Revision a86d4eef (git): [ruby/rdoc] Normalization of comment should check language
- RDoc::Text#normalize_comment that is included RDoc::Comment always
remove Ruby style comment indicator "#" and C style comment indicator
"/**/", but should check language and remove only the language's comment
indicator.
https://github.... -
09:20 AM Revision f7cbbc70 (git): [ruby/rdoc] ClassModule#add_comment should receive RDoc::Comment
- https://github.com/ruby/rdoc/commit/3fb03bf399
-
09:20 AM Revision 95aa60f6 (git): Ignore Merge commit and insufficiency commit for ruby core repository.
-
08:06 AM Revision 071bf889 (git): Improve the commits list for cherry-picking from default gems.
- * Ignore Merge commit from the commit lists before trying to
pick commit.
* Show the commits list at first. -
07:49 AM Bug #16022: Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- you can use `#with_index` there
```ruby
data.sort_by.with_index { |h, i| [h[:a], i] }
```
this should return a stable result -
01:17 AM Bug #16022: Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- ryanflach (Ryan Flach) wrote:
> Thanks for the response. You are definitely correct regarding its documentation. What I was attempting to point out was the apparent predictability in which it is not consistent
The sort isn't stable, ... -
12:39 AM Bug #16022: Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- jeremyevans0 (Jeremy Evans) wrote:
> The current behavior is expected and documented: `The result is not guaranteed to be stable. When two keys are equal, the order of the corresponding elements is unpredictable.`
> ...
Jeremy,
Than... -
07:45 AM Revision 348c9687 (git): Escape parentheses for syntax hilighting for VScode.
-
07:34 AM Revision 51f22dea (git): Adjust the test direcotry structure of rdoc.
-
05:09 AM Bug #16023 (Third Party's Issue): json/add/core isn't complete
- Would you mind report it upstream? https://github.com/flori/json
-
02:52 AM Bug #16023 (Third Party's Issue): json/add/core isn't complete
- Several `json/add/*.rb` are not required by `json/add/core`. It should probably check its directory and require the contents automatically, to ensure this doesn't end up happening again if more are added.
Actually, why is it a separat... -
03:47 AM Feature #15990: "else if" causes confusing syntax error
- Sorry for the delay, but that isn't actually a helpful error message in this case. Certainly it's an improvement, but it still doesn't actually explain the issue. Is there some reason your proposal in #2 isn't possible?
-
02:45 AM Revision 82b02c13 (git): pass to obj_info().
- obj_info() has a routine to show SPECIAL_CONST_P() objects so
we don't need to check it here. - 01:46 AM Revision 300de6ae (git): * 2019-07-26
-
12:21 AM Revision 957a29fc (git): Bump osx_image on Travis CI to xcode11
- Also Homebrew is up-to-date and "Updating Homebrew" takes less
than one minute.
07/25/2019
-
11:48 PM Bug #13126 (Closed): __dir__ in eval returns nil
-
11:46 PM Bug #13104 (Closed): mathn.rb affects Rational literals
- mathn was removed in Ruby 2.5.
-
11:45 PM Bug #13101 (Closed): Date#rfc2822 and Time#rfc2822 don't return the same format
-
11:42 PM Bug #13098 (Closed): miniruby fails with SEGV on NetBSD/powerpc
-
11:41 PM Bug #13092 (Closed): Interpreter Bug
-
11:41 PM Bug #13064 (Closed): Inconsistent behavior with `next` inside `begin`/`end` across different implementations.
-
11:35 PM Bug #13079 (Closed): linked list corruption (probable race condition)
-
11:20 PM Bug #16022 (Rejected): Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- The current behavior is expected and documented: `The result is not guaranteed to be stable. When two keys are equal, the order of the corresponding elements is unpredictable.`
If you want a stable sort, you could use the approach men... -
10:38 PM Bug #16022 (Rejected): Enumerable#sort_by returns a swapped first and last element when the sort value is identical and collection is >= 8 elements
- **Overview**
I've seen in the source code that the ordering may be unpredictable (https://github.com/ruby/ruby/blob/515e106fb73a1a3bc69b6f1670bbaaebf45fee30/enum.c#L1159-L1160), but it seems to consistently swap the first and last eleme... -
11:17 PM Bug #15775: Update broken URL in Float documentation
- ruby_2_6 r67714 merged revision(s) b72623012d74abdb06210153ed48c9e2fa075bbd.
-
11:17 PM Revision e678e6ee (git): merge revision(s) b72623012d74abdb06210153ed48c9e2fa075bbd: [Backport #15775]
- Update broken URL in Float documentation.
[Misc #15775][ruby-core:92332]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:13 PM Bug #15803: File.realpath should always return a tainted string
- ruby_2_6 r67713 merged revision(s) a15f7dd1fb1148c3d586238ee6907875f2e40379.
-
11:11 PM Revision c2ce9eb9 (git): merge revision(s) a15f7dd1fb1148c3d586238ee6907875f2e40379: [Backport #15803]
- Always mark the string returned by File.realpath as tainted
This string can include elements that were not in either string
passed to File.realpath, even if one of the strings is an
absolute path, due to symlinks... -
09:52 PM Feature #16021 (Feedback): floor/ceil/round/truncate should accept a :step argument
- These rounding methods currently accept a number of (decimal) digits, but a more general mechanism would allow rounding to the nearest ¼, multiple of 5, etc.
Equivalent to e.g. `((num / step.to_f).round * step)`
``` ruby
12.3456.flo... -
09:01 PM Feature #15955: UnboundMethod#apply
- Whoops, sorry for the belated response -- Redmine email seems to not be working for me. We have a `replace_method` helper that is a shorthand for doing something like:
```
orig_require = Kernel.instance_method(:require)
Kernel.defin... -
08:58 PM Bug #13063 (Rejected): net/http abends with local file URI
-
08:58 PM Bug #13055 (Closed): Bug
-
08:58 PM Bug #13005 (Closed): Inline rescue is inconsistent when rescuing NoMethodError
-
08:53 PM Bug #12989: Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
- nobu (Nobuyoshi Nakada) wrote:
> Encoding argument should be prior to `binmode` option.
> ...
Here's an updated patch based on tenderlove's original patch that does not change the encoding of the returned IO objects if encoding argumen... -
06:29 PM Bug #12984 (Closed): `rescue *[]` should be equivalent to `rescue` as `method_call(*[])` is equivalent to `method_call`
- This is the expected behavior. `rescue *array` should mean rescue only exception classes in the array. It should not mean rescue only exception classes in the array, unless the array is empty, in which case rescue StandardError. Other...
-
06:23 PM Bug #12950 (Third Party's Issue): irb: 'input-method.rb:151: [BUG] Segmentation fault' / 'malloc(): smallbin double linked list corrupted'
-
06:22 PM Bug #12954 (Closed): valgrind shows memory leaks
-
06:21 PM Bug #12941 (Closed): malloc: *** error for object 0x7fb4a88d2320: pointer being freed was not allocated
-
06:20 PM Bug #12907 (Closed): rb_respond_to() return value is incorrect
-
06:19 PM Bug #12891 (Closed): armv7l-linux-eabihf/openssl.so: [BUG] Illegal instruction at 0xb6659cfc
-
06:19 PM Bug #12883 (Closed): Bus Error at 0x0000010b8075eb
-
06:19 PM Bug #12880 (Closed): rails generate but
-
06:18 PM Bug #12870 (Closed): Crash when querying with activerecord
-
06:17 PM Bug #12844 (Closed): Unable to run $rails console
-
06:17 PM Bug #12806 (Closed): Compiling ruby 2.3.1 on HPUX 11.31 ia64 breaks in segmentation fault
-
06:16 PM Bug #12801 (Closed): Bug while developing a Rails app
-
06:16 PM Bug #12792 (Closed): cannot open https://bugs.jruby.org/4176
-
06:15 PM Bug #12784 (Closed): Compiling v2.3.1 on Debian stable
-
06:15 PM Bug #12771 (Closed): Allow setting max memory consumption
-
06:15 PM Bug #12763 (Closed): Performance regression in bm_securerandom.rb
-
05:49 PM Bug #16020 (Rejected): Forbid `if` `elsif` without a condition
-
01:56 PM Bug #16020: Forbid `if` `elsif` without a condition
- Rubocop can detect such bug.
<https://rubocop.readthedocs.io/en/stable/cops_layout/#layoutconditionposition> -
12:16 PM Bug #16020 (Rejected): Forbid `if` `elsif` without a condition
- Hello.
I might have missed something, but examples like:
```ruby
if
puts "!!!!1"
elsif
puts "!!!!2"
elsif
puts "!!!!3"
else
puts "!!!!4"
end
# Output:
# !!!!1
# !!!!2
# !!!!3
# !!!!4
```
```ruby
if false
... -
05:48 PM Bug #12688 (Closed): Thread unsafety in autoload
-
05:42 PM Bug #12687 (Closed): OpenSSL::X509::Store wont load certificates from set_default_paths
- I'm guessing `c_rehash` in this case refers to `sample/c_rehash.rb` in the ruby/openssl repository (or `sample/openssl/c_rehash.rb` in the ruby repository).
-
05:38 PM Bug #12685 (Closed): malloc error: pointer being freed was not allocated
-
05:37 PM Bug #12672 (Closed): rails server
-
05:33 PM Bug #12658 (Closed): variable_name_checker
-
05:24 PM Bug #12643 (Closed): When generating exts.mk need to escape newlines for @echo
- This appears to be fixed in the master branch, which currently does:
```
err and err.scan(/.+/) do |ee|
mf.puts %Q<\t@echo "\t#{ee.gsub(/["`$^]/, '\\\\\\&')}">
end
```
Since `/.+/` is not a multi... -
05:11 PM Bug #12627 (Closed): Segfault
-
05:11 PM Bug #12600 (Closed): Crash when starting up sidekiq
-
05:06 PM Bug #12552 (Closed): You may have encountered a bug in the Ruby interpreter or extension libraries.
-
05:00 PM Bug #12544 (Closed): Segfault on ruby-head
-
04:58 PM Bug #12528 (Closed): Ruby 2.3.1 Fails to Compile on FreeBSD 8.4-STABLE
-
04:58 PM Bug #12518 (Third Party's Issue): You may have encountered a bug in the Ruby interpreter or extension libraries.
-
04:58 PM Bug #12516 (Closed): rails server aborts
-
04:57 PM Bug #12511 (Closed): can't build 2.4.0-preview1 on Centos 5
-
04:55 PM Bug #12489 (Closed): hppa problems on Debian GNU/Linux
-
03:29 PM Bug #12485: Kernel.Rational raises TypeError though given denominator returns 1 by to_int
- I'm not sure if this is considered a bug or not. Rational will already try to convert numerator and denominator via `to_r`. However, if we do want to convert via `to_int` if `to_r` is not defined, the attached patch should implement it.
-
11:57 AM Revision 7e33f324 (git): Get rid of failures about coverage
- Run test suites explicitly instead of auto-running, to get rid of
failures when simplecov is not installed but COVERAGE is set. -
08:31 AM Revision a50c8446 (git): Initialize vm_throw_data::throw_state as int
- As `struct vm_throw_data::throw_state` is initialized as `VALUE`
by rb_imemo_new, extended MSW part is assigned to it on LP64
big-endian platforms.
Fix up 1feda1c2b091b950efcaa481a11fd660efa9e717 -
08:19 AM Revision 0f9ec4a8 (git): Check wether multibyte character is split
-
07:57 AM Revision 8e53d18e (git): Separated tool/test/runner.rb and test/runner.rb
- As `make test-tool` does not use gems, and no Rubygems stuffs is
needed, so moved such things to test/runner.rb. Also no longer
nees `--test-target-dir` option. -
07:57 AM Revision 46771abf (git): Use libraries in the base directory if given
-
07:57 AM Revision 4c1db84d (git): Added --base-directory option
-
07:57 AM Revision f5ea0548 (git): Moved NoMemoryError hook
- Moved NoMemoryError hook from AutoRunner.run to Runner#run, so
it will work even in non-autorunning mode. -
07:39 AM Revision d8e90f55 (git): Fix a typo in inspect
07/24/2019
-
11:42 PM Revision a850be68 (git): Moved NoMemoryError hook to Test::Unit::AutoRunner
-
11:37 PM Bug #16019 (Closed): please backport df317151a5b4e0c5a30fcc321a9dc6abad63f7ed
- `TracePoint#enable` can cause SEGV without df317151a5b4e0c5a30fcc321a9dc6abad63f7ed on ruby_2_6.
```
$ ((cd ../../; git checkout .); make install-nodoc -j4) >/dev/null 2>&1
$ ruby -v -e 'def foo; TracePoint.new(:b_return, &:disable)... -
11:30 PM Bug #12448 (Closed): vm_call_cfunc - cfp consistency error
-
11:30 PM Bug #12430 (Closed): Segfault in irb when improperly using coerce in combination with method_missing
- I don't think this is a bug, the SystemStackError is expected. In some cases, Ruby doesn't catch the stack overflow and you end up with a segfault.
The reason for the behavior:
```ruby
x = BrokenNumber.new(2)
# original express... -
11:19 PM Revision 82ae4621 (git): Do not fetch remote tags
-
11:16 PM Revision 077c2888 (git): [ruby/io-console] Do not use add_development_dependency
- https://github.com/ruby/io-console/commit/bc77f46391
-
11:13 PM Bug #12429 (Closed): http.rb:933: [BUG] Segmentation fault at 0x00000000000000
-
11:07 PM Bug #12425 (Closed): encoding string to UTF-16 is causing a segfault
-
11:05 PM Bug #12404 (Closed): Segmentation fault in ruby 2.3.0p0
-
11:05 PM Bug #12396 (Closed): Compilation crashes with segmentation fault in HP-UX 11.31
-
11:03 PM Bug #12393 (Closed): SingleForwardable broken in 2.2.5
-
10:58 PM Bug #12384 (Closed): vm_call_cfunc - cfp consistency error ruby 2.3.1p112
-
10:58 PM Bug #12358 (Closed): TestProcess#test_threading_works_after_exec_fail random test failures
-
10:57 PM Feature #12354: PKey::EC Can't output public key pem when private key exists
- The following is a way to generate a PEM for a `OpenSSL::PKey::EC` with both a private and a public key without allocating a new `OpenSSL::PKey::EC`:
```
pk = key.private_key
key.private_key = nil
key.to_pem
key.private_key = key
... -
10:52 PM Revision 414d6cf1 (git): [ruby/psych] Get rid of C90 feature
- For ruby 2.6 and earlier.
https://travis-ci.org/ruby/psych/jobs/562435717#L245-L248
```
../../../../ext/psych/psych_parser.c: In function ‘make_exception’:
../../../../ext/psych/psych_parser.c:87:5: warning: ISO C90 forbids mixed decla... -
10:52 PM Revision 698dde52 (git): [ruby/psych] Suppress uninitialized instance variable warnings
- In verbose mode, `test_delegator` in `test/psych/visitors/test_yaml_tree.rb` shows following warning.
https://travis-ci.org/ruby/psych/jobs/562435717#L268
```
/home/travis/build/ruby/psych/test/psych/visitors/test_yaml_tree.rb:10: warni... -
10:52 PM Revision 6ca7dc69 (git): [ruby/psych] Deduplicate hash keys if they're strings
- https://github.com/ruby/psych/commit/0414982ffd
-
10:50 PM Revision 50076903 (git): [ruby/psych] Drop to support fat gem support.
- ref. https://github.com/ruby/bigdecimal/pull/149
https://github.com/ruby/psych/commit/25ae263252 -
10:47 PM Revision 938032a7 (git): [ruby/psych] Do not use add_development_dependency.
- https://github.com/ruby/psych/commit/939754237f
-
09:41 PM Bug #12230 (Closed): Wrong exception raised when IO.read from a pipe is passed an offset on Windows
- Applied in changeset commit:git|0a63c4d5fbbbfae9aba92c78e39b1521b90f1b06.
----------
Fix errno at seeking socket/pipe on Windows
[Bug #12230] -
06:46 PM Bug #12230: Wrong exception raised when IO.read from a pipe is passed an offset on Windows
- I think we should fix this to make the behavior on Windows consistent with other operating systems. Attached is a patch that attempts to do so. I'm not sure if the approach the patch takes is the best way to fix this. I also don't hav...
-
09:39 PM Revision 0a63c4d5 (git): Fix errno at seeking socket/pipe on Windows
- [Bug #12230]
-
08:54 PM Revision efa380b0 (git): Use PRIuSIZE instead of "%zu"
-
07:06 PM Bug #12335 (Closed): Segfault running Rails with Objectspace (2.2.4)
-
07:06 PM Bug #12327 (Closed): Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
-
07:05 PM Bug #12325 (Closed): Ruby 2.2.1 fails with Rails 4.2.0-6 - Segmentation fault at 0x00000000000418 ruby 2.2.1p85
-
07:05 PM Bug #12315 (Closed): OptionParser parses quoted --dash strings in 2.3.0
-
07:05 PM Bug #12305 (Closed): "can't remove str from str_id" at unregister_sym
-
07:04 PM Bug #12278 (Closed): Sometimes I have segmentation fault with procs reducer
-
07:03 PM Bug #12260 (Closed): Process finished with exit code 134. Empty test suite.
-
07:03 PM Bug #12259 (Rejected): DateTime.parse does not take into account the system timezone
-
07:02 PM Bug #12257 (Rejected): io/wait: wait_readable/writable working different than IO.select when descriptor not open
-
06:59 PM Bug #12252 (Closed): Clarify Thread exception handling documentation.
- Applied in changeset commit:git|da76c4460f754baabc7a8db16d2e1b5f1c3eb264.
----------
Clarify Thread exception handling documentation [ci skip]
From djellemah (John Anderson).
Fixes [Bug #12252] -
06:54 PM Revision da76c446 (git): Clarify Thread exception handling documentation [ci skip]
- From djellemah (John Anderson).
Fixes [Bug #12252] -
06:46 PM Bug #12243 (Closed): Segmentation fault at 0x0000000000001c
-
05:58 PM Bug #12195 (Closed): [BUG] probable buffer overflow: 4010 for 2005 (CFUNC :read)
-
05:57 PM Bug #12187 (Closed): BigDecimal.divmod failing spuriously on 2.0.0
-
05:57 PM Bug #12175 (Closed): rb_gc_mark prevents the value from being garbage collected if called outside of a GC cycle
-
05:57 PM Bug #12144 (Closed): Segfault in Ruby 2.3.0p0
-
05:54 PM Bug #12135 (Closed): OptParse rejects --longopt= with a zero-length argument.
-
05:53 PM Bug #12132 (Closed): Crash during tests
-
05:52 PM Bug #12120 (Closed): [target/sh4] error: 'asm' operand requires impossible reload
-
05:51 PM Bug #12117 (Closed): UDPSocket.new crash on win32 with "rb_update_max_fd: invalid fd (xxx) given"
-
05:36 PM Bug #12102 (Closed): Ruby Interpreter or extension library
-
05:36 PM Bug #12090 (Closed): `Range#cover` does not raise an exception when comparison fails
- Applied in changeset commit:git|3556cba5038530e728eb6309dcf5d4d1a96a02ac.
----------
Document that Range#cover? returns false if <=> returns nil
Fixes [Bug #12090] - 05:36 PM Revision 48b4deb4 (git): * 2019-07-25
-
05:35 PM Revision 3556cba5 (git): Document that Range#cover? returns false if <=> returns nil
- Fixes [Bug #12090]
-
05:21 PM Bug #12088 (Closed): Segmentation fault at 0x00000000000000 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
-
05:21 PM Bug #12071 (Closed): Gem installation fails with 2.3.0 on Cygwin
-
05:20 PM Bug #12060 (Closed): 2016_02_10 Downloaded Ruby 2.3.0 Fails to Build
-
05:20 PM Bug #12053 (Closed): Issue with installing pubnub gem on Arduino Yun
-
05:19 PM Bug #12049 (Closed): rb_gc_mark(): unknown data type
-
05:19 PM Bug #12045 (Closed): Add documentation lib/debug.rb
-
05:19 PM Bug #12036 (Closed): Enumerator's automatic rewind behavior
-
05:17 PM Bug #12033 (Closed): WSASocket can't work with Ruby extensions.
-
05:16 PM Bug #12028 (Closed): Crash ruby
-
05:00 PM Bug #11996 (Closed): bin/rails server Unavailable
-
05:00 PM Bug #11992 (Closed): Regexp match data
-
04:59 PM Bug #11985 (Closed): SignalException: SIGABRT when rake test
-
04:58 PM Bug #11972 (Closed): CGI::pretty がコメント内のhtmlタグにより範囲を見失う
- This was fixed between 2.6 and 2.7.0-preview1:
```
$ ruby26 t/t.rb
Traceback (most recent call last):
1: from t/t.rb:2:in `<main>'
/usr/local/lib/ruby/2.6/cgi/util.rb:217:in `pretty': bad value for range (ArgumentError)
$... -
04:48 PM Bug #11961 (Closed): Array#delete_if gets an unexpected behavior when Array is modified during execution
-
03:18 PM Bug #11956 (Closed): RUBYOPT parses after rubygems loaded
-
03:17 PM Bug #11935: Date.new returns inconsistent errors when passed invalid arguments
- I agree that we should make these errors consistent and have submitted a pull request to do so: https://github.com/ruby/date/pull/9
-
03:04 PM Feature #16018 (Open): Add a way to deprecate methods
- Since #11398, We have `Module#deprecate_constant` available. But I wonder, why we don't have a way to deprecate methods? There is already `Gem::Deprecate` [1], so may be this could be extracted and made more generic?
This might be use... -
01:07 PM Revision 1cce4303 (git): Suppress deflateParams() warnings
-
12:07 PM Revision 538ba984 (git): Split ls line
-
12:03 PM Revision 96b0d7cd (git): GNU ls -T has different meaning
-
11:51 AM Revision 65a9d4b0 (git): Fix typo [ci skip]
-
11:50 AM Revision 7b1893c7 (git): Resurrect timestamp debug log
- because it failed again https://travis-ci.org/ruby/ruby/jobs/563026412
even after 676df311d90990a4666adb5b1db4c7aa6b080e57. -
11:08 AM Revision dc954cbb (git): @@project_dir in Gem::TestCase is no longer used
-
10:15 AM Revision 99fb637c (git): [rubygems/rubygems] Make `@@project_dir` constants per files
- https://github.com/rubygems/rubygems/commit/955174658f
-
10:15 AM Revision 99680f81 (git): [rubygems/rubygems] Resolve `@@project_dir` from test file paths
- `Dir.pwd` may differ from the source path. Test directories and
files should be resolved from test file paths.
https://github.com/rubygems/rubygems/commit/e18e7c81b4 -
08:04 AM Misc #15723: Reconsider numbered parameters
- I would like to voice my support for only having `@` for the single argument as well.
I think this should already cover majority of the use case, where we want to refer to the only argument that is being passed to the block. For me, t... -
07:35 AM Misc #15723: Reconsider numbered parameters
- I see many suggestions for different keywords or sigils, but they're all about the argument itself. What i feel is being ignored is adding to the block syntax itself; for example:
``` ruby
[1, 2, 3].reduce ${ arg_1 * arg_2 }
# or
... -
07:28 AM Feature #16017: String and Array Slices
- I use both ruby and python; ruby significantly more than python though.
First, to the direct comparison - I am against using : in ruby. It does
not make a whole lot of sense (to me).
For equivalent purposes we have:
Python:
... -
06:41 AM Feature #16017: String and Array Slices
- I tried Python syntax and did not think it would be different. Well, if it's not difficult for you, then you can add the familiar syntax [::] Thank.
-
01:35 AM Feature #16017 (Feedback): String and Array Slices
- As @zverok mentioned there are String / Array slicing methods. Not a 1-to-1 translation of Python though. Is it enough for you? If not, tell us in detail what you want.
-
03:25 AM Revision 3a227b99 (git): Adjusted test runner
-
03:13 AM Revision 5108a5dd (git): test-bundled-gems-run: Respect -k option
-
02:56 AM Revision a39f218f (git): Reduced duplicate commands in test-bundled-gems-run
07/23/2019
-
10:08 PM Bug #11931 (Closed): Segmentation fault with rexml/element.rb
-
10:07 PM Bug #11930 (Closed): Segmentation Fault in gc_mark_ptr in 2.3.0p0
-
10:06 PM Bug #11913 (Closed): make fails when using a custom build directory
-
10:06 PM Bug #11903 (Closed): [BUG] vm_call_cfunc - cfp consistency error
-
10:05 PM Bug #11746 (Closed): RDoc incorrect example call method on heredoc
- It looks like this issue has been resolved in the current version of RDoc (see https://docs.ruby-lang.org/en/trunk/syntax/literals_rdoc.html).
-
09:33 PM Bug #11867 (Closed): overriden constant instance variable mismatch
-
09:32 PM Bug #11857 (Closed): Segmentation Fault in readline
-
09:14 PM Bug #11683 (Closed): multi-threaded autoload and defined? sometimes fails
-
09:07 PM Bug #11675 (Closed): String hash key may cause Segfault
-
09:07 PM Bug #11662 (Closed): Hash#delete causes segmentation fault at 0x00000000001ec8
-
09:04 PM Bug #11623 (Closed): BUG] Segmentation fault at 0x00000000000000 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
-
09:04 PM Bug #11654 (Closed): Segmentation fault
-
09:03 PM Bug #11652 (Closed): Bug after running 'next' during binding.pry in a rails project
-
08:46 PM Feature #16017: String and Array Slices
- I recommend [String](https://ruby-doc.org/core-2.6.3/String.html) and [Array](https://ruby-doc.org/core-2.6.3/Array.html) docs, they are pretty straightforward and list everything you might do with them.
We do have ranges to slice:
`... -
08:42 PM Feature #16017: String and Array Slices
- ``` python
[1,2,3,4,5][-3:]
# [3, 4, 5]
[1,2,3,4,5][-3:-1]
# [3, 4]
[1,2,3,4,5][::-1]
# [5, 4, 3, 2, 1]
[1,2,3,4,5][::2]
# [1, 3, 5]
```
-
08:33 PM Feature #16017 (Feedback): String and Array Slices
- Recently began to study Ruby and lacks some things from the python. I wish they were added to Ruby.
``` python
"hello, world!"[3:9:2]
# 'l,w'
"hello, world!"[3:9]
# 'lo, wo'
[1,2,3,4,5][1:3]
# [2, 3]
[1,2,3,4,5][1:5:2]
# [2, 4]
... -
08:39 PM Revision df317151 (git): should not free local hook_list here.
- exec_hooks_postcheck() clean executed hook_list if it is needed.
list_exec is freed if there are no events and this list is local
event (connected to specific iseq). However, iseq keeps to point
this local hook_list, freed list. To preve... -
07:49 PM Revision a4e56907 (git): transcode.c (rb_econv_open0): remove unused code
- Coverity Scan found this.
-
07:25 PM Feature #15966: Introducing experimental features behind a flag, disabled by default
- matz (Yukihiro Matsumoto) wrote:
Thank you for looking at this.
> * Broader audience: I think people who try trunk and previews are big enough for sampling.
I think very few people actually try `trunk` though.
On the other hand... -
07:06 PM Bug #11598 (Closed): Ruby crash when I run calabash-android
-
07:06 PM Bug #11593 (Closed): Is it possible that ObjectSpace.dump_all catch dead objects?
-
07:05 PM Bug #11556 (Closed): [PERF] app_strconcat
-
07:04 PM Bug #11521 (Closed): [BUG] Segmentation fault at 0x00000000000418 ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
-
07:02 PM Bug #11510 (Closed): exit waits for the block form of IO.popen's child
-
06:59 PM Bug #11503 (Closed): Segmentation fault at 0x00000000000094
-
06:59 PM Bug #11502 (Closed): Ruby segmentation fault
-
06:57 PM Bug #11494 (Closed): Attempting to compile a static ruby 2.2.3 - build failure
-
06:56 PM Bug #11482 (Closed): Multiple versions of Ruby crashing with simple threaded client/server test
- I wasn't able to get Ruby to crash with this (maybe I didn't wait long enough?). I tried multiple Ruby versions, all using RubyInstaller:
```
Ruby 2.1: 21925 successes, 175 failures
Ruby 2.2: 20252 successes, 148 failures
Ruby 2.3... -
06:39 PM Bug #11469 (Closed): ArgumentError: wrong number of arguments (-1 for 1)
-
06:33 PM Bug #11430 (Closed): Redefining a lazy-loaded variable in child context within RSpec spec causes crash
-
06:32 PM Bug #11406 (Closed): Inconsistent behavior when creating a range of strings which end in an integer greater than 10
-
06:31 PM Bug #11402 (Closed): Seg Fault on intensive numeric calculation
-
06:29 PM Bug #11349 (Closed): irb crashes immediately with most (any?) REPL input
-
06:29 PM Bug #11342 (Closed): ruby 2.2.2 will not compile on Solaris 11.2 32 or 64 bit
-
06:10 PM Misc #15996: DevelopersMeeting20190829Japan
- * [Bug #11326] Defining a writer as a Struct member allowed?
* Should we ban struct members ending in `=`?
* Do we also want to ban struct members ending in `!` or `?`? -
01:24 PM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #12093] Eval InstructionSequence with binding
-
05:47 PM Bug #11289 (Closed): Segmentation fault with 2.2.2 on OpenWRT
-
05:42 PM Bug #11259 (Closed): Ruby crash when no TTY and pod install
-
05:42 PM Bug #11257 (Closed): undefined symbol: rb_Digest_*_Init error when attempting to use digest/md5, digest/sha1, digest/sha2, and digest/ after building 2.2.2 form source.
-
05:41 PM Bug #11239 (Closed): C level bug
-
05:41 PM Bug #11232 (Closed): rb_compile_string from parse.y segfaults
-
05:36 PM Bug #11212 (Closed): defined?(foo()) ignores respond_to_missing?
- Fixed by commit:a54da1c05058d9f873f28c317677c5393d7327c9.
-
05:23 PM Bug #11101 (Closed): Forking is killing my memory when running GC
-
05:19 PM Bug #11097 (Closed): File names with wildcards do not expand if a path is used
-
05:17 PM Bug #11071 (Closed): Stack consistency error while using RSpec and Timecop
-
05:09 PM Bug #11053 (Closed): cant run rake in the Ruby interpreter or extension libraries.
-
05:08 PM Bug #11041 (Closed): Rake test task fails with LoadError when using Ruby version 2.2.1 [Mac OSX10.9]
-
05:08 PM Bug #11038 (Closed): regular expression fail
-
05:04 PM Bug #11022 (Rejected): opening an eigenclass does not change the class variable definition context
-
05:02 PM Bug #11018 (Closed): free(): invalid next size (normal)
-
05:01 PM Bug #11011 (Closed): Segmentation fault at 0x0000000000418
-
05:00 PM Bug #11010 (Closed): Failure to Build from Source: stable 2.2.1
-
05:00 PM Bug #11008 (Closed): Segmentation fault - ruby 2.2.0, rails
-
05:00 PM Bug #11006 (Closed): Segmentation fault on Ruby 2.2.1
-
04:59 PM Bug #11001 (Closed): 2.2.1 Segmentation fault in reserve_stack() function.
-
04:58 PM Bug #10981 (Closed): couchbase-1.3.11 - [BUG] Segmentation fault at 0x00000000000440
-
04:58 PM Bug #10980 (Closed): Ruby process stuck i D state
-
04:57 PM Bug #10935 (Closed): encountered during rspec tests
-
04:53 PM Bug #10931 (Closed): [PERF]bm_app_mandelbrot.rb 20% slower.
-
04:49 PM Bug #10901 (Closed): Object#singleton_methods behaves differently depending on whether the singleton_class exists
- Applied in changeset commit:git|9aba971e42c78bb9e446f28c0402bad55147a863.
----------
Make Object#singleton_methods work correctly for singleton classes of objects
Fixes [Bug #10901] -
04:46 PM Revision 9aba971e (git): Make Object#singleton_methods work correctly for singleton classes of objects
- Fixes [Bug #10901]
-
04:42 PM Revision 11662c70 (git): Test missing Content-Type warnings
-
04:42 PM Revision afea8db8 (git): Test invalid offset warnings
- 03:32 PM Revision f295e23e (git): * 2019-07-24
-
03:26 PM Revision c9826c20 (git): Show the caller's location
- * lib/net/http/header.rb: show the caller's location instead of
the current lines. -
03:22 PM Bug #10899 (Closed): ruby 2.2.0 darwin crash (in ripper?)
-
03:21 PM Bug #10889 (Closed): rdocでのスクリプトエンコーディングの挙動が違う
- This appears to have been fixed between Ruby 2.4 (RDoc 5.0.0) and Ruby 2.5 (RDoc 6.0.1):
```
$ rdoc24 -o renc-rdoc renc.rb
Parsing sources...
100% [ 1/ 1] renc.rb
No newer files.
Files: 1
Classes: 0 (0 undocum... -
03:14 PM Feature #12093: Eval InstructionSequence with binding
- Awesome I just saw that - thanks for the update!
The latest patch is now at https://github.com/ruby/ruby/pull/2298 and so that's where the review should go.
I'll stay-tuned and watch for updates from that meeting, thanks Robert! -
03:01 PM Feature #12093: Eval InstructionSequence with binding
- Nobu recently added it for the next developer meeting (in August; see
https://bugs.ruby-lang.org/issues/15996) so stay tuned. :) -
04:35 AM Feature #12093: Eval InstructionSequence with binding
- Here's the current draft of the patch set, which I intend to submit a github pull request for as well.
I've retained Nobu's patch, and built on it. -
03:13 PM Bug #10888 (Closed): DFS recursive implementation aborted
-
03:11 PM Bug #10848 (Closed): [BUG] Segmentation fault at 0x00000000000440 ???
-
03:11 PM Bug #10846 (Closed): Stack consistency error
-
03:10 PM Bug #10827 (Closed): TestIO#test_io_select_with_many_files segfaults randomly
-
03:10 PM Bug #10824 (Closed): to_yaml incorrectly inserts return lines
-
03:10 PM Bug #10817 (Closed): [PERF] vm3_gc slower
-
03:09 PM Bug #10804 (Closed): [BUG] Segmentation fault ruby 2.1.5p273 (2014-11-13 revision 48405) [i386-mingw32]
-
03:09 PM Bug #10723 (Closed): [PERF] bm_tread_create_join 20% slower
-
03:09 PM Bug #10965 (Assigned): logger.rb may not daily rotate
-
03:08 PM Bug #10803 (Closed): Similar issue/stack trace as above in 2.1.5, 2.1.6
-
03:07 PM Bug #10779 (Closed): occasional segmentation fault running ruby 2.1, doesn't appear with ruby 1.9
-
03:04 PM Bug #10751 (Closed): Abandon (core dumped)
-
03:01 PM Bug #10725 (Closed): Segfault with ObjectSpace::trace_object_allocations_start
-
02:59 PM Bug #10651 (Closed): pkg_config does not report required include headers
- Applied in changeset commit:git|325f7b6008a4a10e9b0f1c69ee4518b0669461be.
----------
Make pkg_config in mkmf include -I cflags in return value
This was the historical behavior, it was modified unintentionally
by 097c3e9cbbf23718371f08c... -
02:57 PM Revision 325f7b60 (git): Make pkg_config in mkmf include -I cflags in return value
- This was the historical behavior, it was modified unintentionally
by 097c3e9cbbf23718371f08c24b2d2297b039f63f, which started storing
these flags in a different global variable.
Also, include the incflags when logging, and document that ... -
02:47 PM Bug #10607 (Closed): Segmentation fault, with nokogiri craching ruby
-
02:47 PM Bug #10604 (Closed): Segmentation fault, Rubymine 6.3.3, Linux xxxx-desktop 3.5.0-51-generic #76-Ubuntu SMP Thu May 15 21:19:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
-
02:46 PM Bug #10603 (Closed): Ruby process memory is crashing
-
02:45 PM Bug #10538 (Closed): Error when trying to update gem rake
-
02:45 PM Bug #10514 (Closed): webrick fails with connection error when checking if socket is closed
-
02:44 PM Bug #10486 (Closed): Crash running rspec let(:foo){undefinedhash['key']}
-
02:43 PM Bug #10485 (Closed): NoMethodError "undefined method `initialize_copy'" when trying to execute Queue#dup
-
02:41 PM Bug #10483 (Closed): Latest Ruby 2.1.4 update introduced backwards incompatible change related to boolean evaluation
-
02:17 PM Revision b6f07f74 (git): Document that non-blocking mode isn't always supported on Windows [ci skip]
-
01:46 PM Revision 676df311 (git): Reset mtime of all files on osx
- Often checked out files are in the future on OSX image.
-
01:31 PM Feature #16011: Digit grouping
- because it is locale-dependent as duerst said, i think it should only be part of an intl gem where you can control the locale
-
09:26 AM Bug #16015 (Closed): configure couldn't enable native coroutine correctly if with parameter --target
- Applied in changeset commit:git|03958a0c0d0140a2c27f8e3175f9c118425c762c.
----------
Relaxed target_os matching
When target_alias is not empty, `-gnu` suffixed is not stripped.
[Bug #16015] -
05:34 AM Bug #16015 (Closed): configure couldn't enable native coroutine correctly if with parameter --target
- reproduction steps :
building ruby on Intel i7,
./configure --build=x86_64-generic-linux-gnu --host=x86_64-generic-linux-gnu --target=x86_64-clr-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbin... -
09:22 AM Revision 03958a0c (git): Relaxed target_os matching
- When target_alias is not empty, `-gnu` suffixed is not stripped.
[Bug #16015] -
08:59 AM Revision e8d4f0cb (git): Show seconds and in the modified time order
- [ci skip]
-
08:48 AM Bug #16016 (Rejected): Standard library `debug` is started if pass a file named `debug.rb` to Kernel#load
- It is a documented feature of `Kernel#load`:
> If the filename does not resolve to an absolute path, the file is searched for in the library directories listed in -
07:42 AM Bug #16016 (Rejected): Standard library `debug` is started if pass a file named `debug.rb` to Kernel#load - When I do this:
1. Write program to `debug.rb` on the current directory
2. Start irb
3. Kernel.load('debug.rb')
4. Happen this problem
```irb
$ irb
irb(main):001:0> Kernel.load("debug.rb")
/Users/tatumaki/.rbenv/version... -
08:39 AM Revision 0338c44b (git): Retry to update Unicode timestamp
-
07:58 AM Misc #15806 (Closed): Explicitly initialise encodings on init to remove branches on encoding lookup
- Applied in changeset commit:git|6546aed4757be07f4932326e1eb41a5d69141acf.
----------
Explicitly initialise encodings on init to remove branches on encoding lookup
[Misc #15806]
Closes: https://github.com/ruby/ruby/pull/2128 -
07:45 AM Revision 009ec37a (git): Let the index boundary check in rb_enc_from_index be flagged as unlikely
- [Misc #15806]
Closes: https://github.com/ruby/ruby/pull/2128 -
07:45 AM Revision 6546aed4 (git): Explicitly initialise encodings on init to remove branches on encoding lookup
- [Misc #15806]
Closes: https://github.com/ruby/ruby/pull/2128 -
07:42 AM Revision c25ff7bb (git): check iseq is executable
-
07:26 AM Feature #15805 (Closed): Let memory sizes of the various IMEMO object types be reflected correctly
- Applied in changeset commit:git|90c4bd2d2bd10b19c2b09834396553742bc7e8a4.
----------
Let memory sizes of the various IMEMO object types be reflected correctly
[Feature #15805]
Closes: https://github.com/ruby/ruby/pull/2140 -
07:22 AM Revision 33f54da1 (git): Support memsize of AST
-
07:22 AM Revision 90c4bd2d (git): Let memory sizes of the various IMEMO object types be reflected correctly
- [Feature #15805]
Closes: https://github.com/ruby/ruby/pull/2140 -
04:34 AM Revision ab087ecb (git): Added the upstream repositories to default gems.
-
04:32 AM Revision 73d56d6f (git): reline is default gems now.
-
03:12 AM Bug #10466: rb_eval_string_wrap does not actually wrap in a module binding
- I agree this a bug. The documentation states for `rb_eval_string_wrap` that `This is same as the binding for loaded libraries on "load('foo', true)"`, but that doesn't appear to be the case. `load('foo', true)` evaluates with an anonymo...
-
02:20 AM Revision 44cfabdd (git): Removed duplicated entry for racc.