Activity
From 07/30/2019 to 08/05/2019
08/05/2019
-
11:24 PM Bug #7009 (Closed): Crash in method_missing
-
11:22 PM Bug #6974 (Closed): Functionality Loss in Bignum for Very Large Numbers (5.9 million digits)
-
11:17 PM Bug #6785 (Closed): Documentation for RubyVM::InstructionSequence
- Applied in changeset commit:git|96cec6b27741cbdeb51ea3acdeba0e813d51035f.
----------
Document that RubyVM::InstructionSequence methods are implementation and version dependent
Fixes [Bug #6785] -
11:17 PM Bug #6726 (Closed): Syslog crashes when the special %m tag (of syslog(3)) is present in the message
- Applied in changeset commit:git|2b6441196ef32d93c7898764610a913f54f8bc32.
----------
Remove documentation of %m in Syslog
Fixes [Bug #6726] -
11:14 PM Revision 96cec6b2 (git): Document that RubyVM::InstructionSequence methods are implementation and version dependent
- Fixes [Bug #6785]
-
11:10 PM Revision 2b644119 (git): Remove documentation of %m in Syslog
- Fixes [Bug #6726]
-
10:18 PM Misc #16047: Reconsider impact of frozen_string_literal on dynamic strings
- I started using `frozen_string_literal` and I also wish `frozen_literal` (generally applies to Array `[]`, Hash `{}`, etc).
The model I use:
Mutable string: `String.new`
Constant string: `"CONSTANT"`
I've experienced bugs bec... -
08:20 PM Misc #16047: Reconsider impact of frozen_string_literal on dynamic strings
- I was also surprised that dynamic strings are also frozen, since the gain there seems minimal.
`"a#{b}c"` is conceptually the same as `"a".dup << b.to_s << "c"` and so freezing that seems artificial and not needed since there was mutati... -
06:16 PM Misc #16047: Reconsider impact of frozen_string_literal on dynamic strings
- I'll comment on this, but allow me to make a few partially related/unrelated comments first.
Benoit has in another discussion made a comment about having asked xyz folks about a feature/change, in regards introducing (and accessing) n... -
05:03 PM Misc #16047 (Closed): Reconsider impact of frozen_string_literal on dynamic strings
- The rationale for introducing `frozen_string_literal` was because rubyists were starting to litter their code with `"".freeze` for optimization, and it's ugly.
But by using frozen_string_literal we introduce the opposite problem: we m... -
08:31 PM Revision 81252c5c (git): Let prev EP move again
- The last time we committed this, we were asking the VM to write to the
ep. But VM assertions check if the ENV data is the correct type, which
if it's a T_MOVED pointer it's not the correct type. So the vm
assertions would fail. This t... -
08:28 PM Feature #11554: Privatize {Single}Forwardable API
- Module#define_method and #alias_method are public now, so we should change anything?
-
04:04 PM Feature #15973: Let Kernel#lambda always return a lambda
- This may be irrelevant but I would like to point out that proc->lambda conversion was supported in ruby 1.8
```ruby
b = Proc.new{ return 42 }
b.call #=> LocalJumpError: unexpected return
lambda(&b).call #=> 42
```
I'm ... - 03:56 PM Revision c9192ef2 (git): * expand tabs.
-
03:55 PM Revision 33d7a58f (git): add compaction support to weak maps
-
03:50 PM Revision 255e22a8 (git): Use gcc-8 for BASERUBY test
- as it failed https://travis-ci.org/ruby/ruby/jobs/567942969, unlike my
fork CI.
This just rollbacks a minor change in
798474deaf10dbea70c02724b5acf4487bbed660. -
03:48 PM Revision e80f407e (git): Give up stabilizing TestProcess on Travis osx
- They have been too unstable.
Revert "Extend sleep before sending USR1 in TestProcess"
This reverts commit aaf69a8ba866193863a7eafe5c6044844bd71bc3.
Revert "Extend sleep before sending USR1 in TestProcess"
This reverts commit 076f3fcf11... - 03:34 PM Revision 48d460d9 (git): * 2019-08-06
-
03:33 PM Revision 614c90fe (git): Control Travis apt retries on our own
- because Travis team does not do it for us:
https://github.com/travis-ci/travis-build/pull/1712
The retried part has failed often even in one day:
https://travis-ci.org/ruby/ruby/jobs/567802384
https://travis-ci.org/ruby/ruby/jobs/567802... -
03:25 PM Misc #15723: Reconsider numbered parameters
- I would like to add my vote to those in the single-argument camp. I think it's important to remember why this new feature exists in the first place:
mame (Yusuke Endoh) wrote:
> The reason why this feature was introduced, is that peo... -
02:26 PM Revision fb9dd618 (git): Use negative-sized array instead of zero-division
-
02:26 PM Revision 4c15b241 (git): Unused macro argument `varc`
-
02:06 PM Bug #15720: SystemStackError when referencing a refinement in a module that isn't used
- ruby_2_6 r67729 merged revision(s) 5e018214e7435030727a97ac49db038d96438e74.
-
02:05 PM Revision 6bb473ea (git): merge revision(s) 5e018214e7435030727a97ac49db038d96438e74: [Backport #15720]
- Fix SystemStackError when calling a method in an unused refinement
Fixes [Bug #15720]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 PM Bug #15360: "ThreadError: deadlock; recursive locking" error when recursive lock shouldn't be possible
- ruby_2_6 r67728 merged revision(s) c1d78a7f0ece2004822193a0c1f1fd3dc38c2fdf.
-
01:53 PM Revision 52eb4e66 (git): merge revision(s) c1d78a7f0ece2004822193a0c1f1fd3dc38c2fdf: [Backport #15360]
- do_mutex_lock: release mutex before checking for interrupts (fixes
issue 15360)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:39 PM Revision 6874b1cc (git): merge revision(s) 2403f9ac3af170ce0107a709a9cb510fe0501648:
- Expand the timeout of
`test_pstore_files_are_accessed_as_binary_files`
Sometimes causes timeout error on mswin CI
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:45 AM Revision 86ac51c3 (git): [rubygems/rubygems] Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION
- * RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby.
* There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION.
https://github.com/rubygems/rubygems/commit/431d0aefdd -
09:45 AM Revision 2ea2108a (git): [rubygems/rubygems] Fix error handling of #with_engine_version
- * If settings constants fail, show that exception instead of getting
another one due to variables being unset and hiding the real cause.
https://github.com/rubygems/rubygems/commit/f38cd67874 -
09:45 AM Revision f9dac1bd (git): [rubygems/rubygems] Cleanup after testing `rake package`
- Sometimes it happens to me that my local tests start failing because I
pull some file removals or renames into my local copy, and those are
still present on my last copy of pkg/. In those cases, the test about
`rake package` will fail wi... -
09:44 AM Revision 42a9e27d (git): [rubygems/rubygems] Use gsub with Hash
- https://github.com/rubygems/rubygems/commit/83eced0b39
- 09:44 AM Revision 87bc29fe (git): [rubygems/rubygems] Revert cadb66037d9b58c80fc795f39384d533229a1f73
- https://github.com/rubygems/rubygems/commit/5c3158d975
-
09:44 AM Revision 8eb2921f (git): [rubygems/rubygems] Fixed to warn with shadowing outer local variable.
- https://github.com/rubygems/rubygems/commit/b0588a87b1
- 09:44 AM Revision 5a8d8488 (git): [rubygems/rubygems] Remove FIXME comment
- https://github.com/rubygems/rubygems/commit/5a1d3d618d
-
07:10 AM Feature #16045: Calling functions with keyword arguments
- ``` ruby
def fn(a:1,b:2,c:3)
p a,b,c
end
fn(c:4) # 1 2 4
```
did not know. can close -
07:01 AM Feature #16045 (Rejected): Calling functions with keyword arguments
- https://www.google.com/search?q=ruby+keyword+arguments
-
06:45 AM Feature #16045 (Rejected): Calling functions with keyword arguments
- Python:
``` python
def fn(a=1,b=2,c=3):
print(a,b,c)
fn() # 1 2 3
fn(c=4) # 1 2 4
```
Ruby:
``` ruby
def fn(a=1, b=2, c=3)
p a,b,c
end
fn(c=4) # 4 2 3
```
A very convenient and necessary thing that you mus... -
05:38 AM Revision 58a478bc (git): ext/psych/yaml/loader.c: Cast the difference of pointers to int
- instead of casting a pointer to int.
Follow up of 39622232c7542d062f79277a11f6b8b6b6cfd994. - 03:52 AM Revision 2403f9ac (git): Expand the timeout of `test_pstore_files_are_accessed_as_binary_files`
- Sometimes causes timeout error on mswin CI
-
03:16 AM Revision 6a265278 (git): Check if signaled
-
02:55 AM Revision dc0c0476 (git): Refined assertion messages
-
02:47 AM Revision 521e25ba (git): Fixed assertion
- The regexp should be expected to match the error message.
-
02:04 AM Bug #16044: Float::ROUNDS (FLT_ROUNDS) should not be a constant.
- Agree to remove.
Deprecate it for now? -
01:51 AM Revision 8cfa3d86 (git): Do not expect RSTRING_PTR valid after rb_fstring
-
01:48 AM Revision 29092d35 (git): Moved FailDesc to EnvUtil.failure_description
- So EnvUtil does not depends on test/unit.
-
12:16 AM Revision 548cd6e2 (git): Drop default leaf definition and obsoleted comments
- leaf is true by default. Other insns are not specifying it explicitly.
Also the comment describing why it was not leaf is outdated. -
12:04 AM Revision 6bb3618f (git): n+1 to include n in range
- Python's range stop right before n, which means factL never returns the correct result.
Closes: https://github.com/ruby/ruby/pull/1982 - 12:00 AM Revision 253da5b2 (git): * 2019-08-05
08/04/2019
-
11:55 PM Revision d6ac5c53 (git): Revert "Always evaluate the expression RUBY_ASSERT_MESG_WHEN just once"
- It caused a significant benchmark fall. Some assertions seem to
use expressions with side-effects which cannot be inlined.
This reverts commit b452c03a14f943ae25338547bd680fce67399d85. -
11:48 PM Feature #11554 (Assigned): Privatize {Single}Forwardable API
-
10:36 PM Bug #16044 (Closed): Float::ROUNDS (FLT_ROUNDS) should not be a constant.
- According to the reference, `FLT_ROUNDS` is not a constant in C.
> `FLT_ROUNDS`
> ...
So it should not be a constant in Ruby too. Or it should be removed altogether. -
02:41 PM Revision aaf69a8b (git): Extend sleep before sending USR1 in TestProcess
- just like 076f3fcf11a061394d3d5f8c671512df1e983023.
This test also hanged on Travis osx
https://travis-ci.org/ruby/ruby/jobs/567547060 -
02:29 PM Bug #15578: Missing TracePoint return event when a conditional is used before a rescue
- ruby_2_6 r67726 merged revision(s) 66977.
-
02:29 PM Revision fabb2fed (git): merge revision(s) 66977: [Backport #15578]
- Revert r63383, r63248 "compile.c: copy a short insn with leave"
When copying `leave` insn, TRACE also should be copied if it is
present, but this optimization is trivial and not worth the
complexity. [ruby-core:... -
02:09 PM Revision 164f1ac0 (git): Revert "Skip test_race_exception on MJIT for now"
- This reverts commit 7a75baa6e294473f02da512c99f7ef1f76b2d83c.
Revert "Defer skip to avoid errors on ensure"
This reverts commit adfc8d6dbadbccef27d6ec78022650840c7604cc.
because 76e2370f132f83c16c9de39a0a9356579f364527 is hoped to fix... -
01:43 PM Feature #16043: `$LOAD_PATH.resolve_feature_path` should not raise
- Thanks for having a look and for linking to the original discussion!
-
01:24 PM Feature #16043: `$LOAD_PATH.resolve_feature_path` should not raise
- > read in the docs and discussion that this method only searches the feature in the LOAD_PATH,
> ...
I had a look at the tracker:
https://bugs.ruby-lang.org/issues/15230
And I agree with you in the sense that mame did not mandate ... -
11:16 AM Feature #16043 (Closed): `$LOAD_PATH.resolve_feature_path` should not raise
- When I first tried this method, I was expecting it to return `nil` when the given feature is not found. This is because I read in the docs and discussion that this method only searches the feature in the LOAD_PATH, but does not attempt t...
- 01:27 PM Revision 7817a6fa (git): * expand tabs.
-
01:21 PM Revision 76e2370f (git): Fix dangling path name from fstring
- * load.c (rb_require_internal): make sure in advance that the path
to be loaded shares a fstring, to get rid of dangling path name.
Fixed up 5931857281ce45c1c277aa86d1588119ab00a955. [Bug #16041] -
01:20 PM Revision 346aa557 (git): Make opt_eq and opt_neq insns leaf
- # Benchmark zero?
```
require 'benchmark/ips'
Numeric.class_eval do
def ruby_zero?
self == 0
end
end
Benchmark.ips do |x|
x.report('0.zero?') { 0.ruby_zero? }
x.report('1.zero?') { 1.ruby_zero? }
x.compare!
end
```
## V... -
11:12 AM Revision 39622232 (git): Suppress warnings of bundled libyaml.
- 02:56 AM Revision 2d8c037e (git): [ruby/rexml] gemspec: update
- https://github.com/ruby/rexml/commit/404bd99a7c
- 02:55 AM Revision 310a2a98 (git): [ruby/rexml] xpath: add missing value conversions for equality and relational expressions
- GitHub: fix #18
Reported by Mirko Budszuhn. Thanks!!!
https://github.com/ruby/rexml/commit/0dca2a2ba0 - 02:55 AM Revision 39f275ed (git): [ruby/rexml] xpath number: fix a bug that false is converted to NaN
- GitHub: fix #18
It must be 0.
Reported by Mirko Budszuhn. Thanks!!!
https://github.com/ruby/rexml/commit/b48f3afa3b - 02:55 AM Revision 643344dc (git): [ruby/rexml] xpath local_name: fix a bug that nil is returned for nonexistent case
- It must be an empty string.
https://github.com/ruby/rexml/commit/81bc7cd4f5 - 02:55 AM Revision 5f78b138 (git): [ruby/rexml] xpath boolean: implement
- https://github.com/ruby/rexml/commit/feb8ddb1ec
- 02:55 AM Revision 6ef82943 (git): [ruby/rexml] xpath: fix a bug for equality or relational expressions
- GitHub: fix #17
There is a bug when they are used against node set. They should return
boolean value but they returned node set.
Reported by Mirko Budszuhn. Thanks!!!
https://github.com/ruby/rexml/commit/a02bf38440 - 02:55 AM Revision c46ba8e9 (git): [ruby/rexml] Use PP
- https://github.com/ruby/rexml/commit/185062a4a4
- 02:55 AM Revision 54525fbf (git): [ruby/rexml] xpath: add support for changing to debug mode by environment variable
- https://github.com/ruby/rexml/commit/59378a16ea
- 02:55 AM Revision de55e0a0 (git): [ruby/rexml] Bump version
- https://github.com/ruby/rexml/commit/54452c103a
-
02:55 AM Revision f85caf40 (git): [ruby/rexml] Message less confusing error to human (#16)
- * Message less confusing error to human
* Problem: Following error message is not helpful, because you have to reason
that '' actually means it's in the top-level, and the 'div' (not '</div>') is
an end tag
require "rexml/p... - 02:54 AM Revision 33e4a59b (git): [ruby/rexml] test: compare with real element
- https://github.com/ruby/rexml/commit/9f2908de2e
-
02:54 AM Revision ee8985ef (git): [ruby/rexml] Fix crash with nil XPath variables (#13)
- Patch by Alyssa Ross. Thanks!!!
https://github.com/ruby/rexml/commit/2a53c54f58 -
02:54 AM Revision 982208c6 (git): [ruby/rexml] use #inspect to print meta-characters in error messages
- https://github.com/ruby/rexml/commit/a124a19b9a
- 02:54 AM Revision 81354bbd (git): [ruby/rexml] Bump version
- https://github.com/ruby/rexml/commit/c0e3f14564
- 02:54 AM Revision 0f18bc7f (git): [ruby/rexml] Fix attribute's default namespace behavior
- NOTE: It's a backward incompatible change. If we have any serious
problems with this change, we may revert this change.
The XML namespace specification says the default namespace doesn't
apply to attribute names but it does in REXML wit... - 02:54 AM Revision 9b36f0a7 (git): [ruby/rexml] Format
- https://github.com/ruby/rexml/commit/2384586811
- 02:54 AM Revision 84c37424 (git): [ruby/rexml] Revert "xpath: remove needless nil check"
- This reverts commit 61b73c1bf8dc64d97fba7f0a8c503c24b11313f5.
"*:local_name" becomes prefix=nil.
https://github.com/ruby/rexml/commit/9e7dd4cd4e - 02:54 AM Revision 096e7663 (git): [ruby/rexml] xpath: remove needless nil check
- It must not be nil.
https://github.com/ruby/rexml/commit/61b73c1bf8 - 02:54 AM Revision 27c11892 (git): [ruby/rexml] Add a TODO for Attribute#namespace
- https://github.com/ruby/rexml/commit/70310a06e5
- 02:54 AM Revision 3583fa16 (git): [ruby/rexml] xpath: fix a bug that no namespace attribute isn't matched with prefix
- [ruby-list:50733]
Reported by Yasuhiro KIMURA. Thanks!!!
https://github.com/ruby/rexml/commit/8f3c5c176a - 02:53 AM Revision f76cfb55 (git): [ruby/rexml] Bump version
- https://github.com/ruby/rexml/commit/0f79e71210
-
02:05 AM Revision adfc8d6d (git): Defer skip to avoid errors on ensure
-
01:49 AM Revision 7a75baa6 (git): Skip test_race_exception on MJIT for now
- somehow the test fails only on Wercker in CIs triggered by GitHub.
Actually rubyci and ci.rvm.jp also have issues too, though. -
01:25 AM Feature #16039: Array#contains? to check if one array contains another array
- I am not a fan of this feature, but by analogy from `Range`, `cover?` may be a better name.
-
01:08 AM Revision a3188f43 (git): Revert "Revert "Fix dangling path name from fstring""
- This reverts commit 326c00b6f89e1c86e6fe29ab60da593eb6883a88.
We also confirmed that test_gced_eval_location fails without the changes:
https://travis-ci.org/ruby/ruby/builds/567417818
https://rubyci.org/logs/rubyci.s3.amazonaws.com/arc... - 12:46 AM Revision 2d189a67 (git): yaml few build warning fixes
- Closes: https://github.com/ruby/ruby/pull/2283
- 12:25 AM Revision b6cfacc8 (git): Remove dependency on `openssl/conf_api.h`
- None of the functions defined in this header are actually used in Ruby.
Fixes build against boringssl that does not have this file.
Closes: https://github.com/ruby/ruby/pull/2210 -
12:20 AM Revision 0f601df2 (git): [Doc] Fix Array#to_h call-seq
- Closes: https://github.com/ruby/ruby/pull/2254
-
12:20 AM Revision 84829392 (git): [Doc] Fix Array#difference call-seq
- Closes: https://github.com/ruby/ruby/pull/2255
-
12:19 AM Revision 4173258f (git): change call CGI methods from :: to .
- Closes: https://github.com/ruby/ruby/pull/1749
-
12:18 AM Revision 8e7df4bb (git): Use the word heredocs in Here Documents docs
- Two advantages:
- higher relevance of the extremely common word "heredocs" which may
help people find this page when searching for "ruby heredocs"
- the anchor link becomes `#label-Here+Documents+-28heredocs-29`, which is
ugly due to the... -
12:03 AM Revision 93116569 (git): Better wording for __ENCODING__
- "locale encoding" is misleading since it doesn't mean Encoding.find("locale")
but the encoding used to interpret the script file. It's therefore better to
call it "script encoding" as in the paragraphs above.
Closes: https://github.com/r... - 12:03 AM Revision 636a4fad (git): README: Add smart URL for joining mailing list
- This adds a couple of parameters to the mailing list link in the README
so that the subject line and body are automatically populated. The body
is populated with the `subscribe` string so that all an individual has
to do is perform the s...
08/03/2019
-
11:58 PM Revision 7614cc5b (git): Fix release post output for tool/format-release
- Different entries should be separated by an empty line.
Closes: https://github.com/ruby/ruby/pull/2137 -
11:52 PM Revision 326c00b6 (git): Revert "Fix dangling path name from fstring"
- This reverts commit 5931857281ce45c1c277aa86d1588119ab00a955 temporarily,
leaving `TestEval#test_gced_eval_location` to see the impact for missing
the changes.
That's because too many CIs are failing for `require` behaviors:
http://ruby... -
11:15 PM Revision 7adc8c79 (git): [DOC] "nmake check" is preferable to "nmake exam" now [ci skip]
- [Feature #14187]
-
11:08 PM Bug #13348 (Closed): win32/README.win32 のアイコンがリンク切れ
- Applied in changeset commit:git|9b38c845508a4184882580abb3b6cc4fcd1dd57f.
----------
[DOC] updated about icons in win32/README.win32 [ci skip]
[Bug #13348] -
11:07 PM Revision 9b38c845 (git): [DOC] updated about icons in win32/README.win32 [ci skip]
- [Bug #13348]
- 10:15 PM Revision 586e23c9 (git): * 2019-08-04
-
10:14 PM Revision 9733b47e (git): [DOC] "nmake check" is preferable to "nmake exam" now [ci skip]
- [Feature #14187]
-
10:14 PM Revision 6a1458ca (git): [DOC] Mark up path names to show a backslash [ci skip]
-
08:40 PM Feature #16039: Array#contains? to check if one array contains another array
- I think this is a great proposal in terms of having one of those nice, useful methods easily available directly on the class you're interacting with, similar to `Array#last` which can quite verbose in other languages.
I would propose ... -
12:58 PM Feature #16039: Array#contains? to check if one array contains another array
- cha1tanya (Prathamesh Sonpatki) wrote:
> I wanted to avoid creating Set objects just for the purpose of this check so my motivation was to have such method on Array.
`Array#-` and any efficient (O(n+m) and not O(n*m), n the size of t... -
08:49 AM Feature #16039: Array#contains? to check if one array contains another array
- I think the use case is ok - you want to find out whether an Array or
an Array-like object, is contained in another object (container in a
container in a container ...).
My biggest problem with this is that #contains? is similar in... -
05:50 AM Feature #16039: Array#contains? to check if one array contains another array
- Agree that `superset` is better name. Here is the actual use case:
```ruby
Project.pluck(:id).contains?([1,2,3])
```
Where `Project.pluck` returns an array of integers.
To use set, I have to convert the array to a set.
```... -
01:17 PM Revision d569d721 (git): Move assert_ruby_status and assert_throw to CoreAssertions for default gems.
-
12:27 PM Bug #15798: Fix threads not waking up on SIGINT when using UBF_TIMER_PTHREAD
- ruby_2_6 r67725 merged revision(s) 1ef39d8d099f145222b9352423af16a2bab6e05b.
-
12:27 PM Revision 194a5525 (git): merge revision(s) 1ef39d8d099f145222b9352423af16a2bab6e05b: [Backport #15798]
- Fix process not waking up on signals on OpenBSD
When using UBF_TIMER_PTHREAD (the UBF handler on OpenBSD), the
timer_pthread_fn function will not signal the main thread with
SIGVTALRM in cases where timer_pthread... -
08:56 AM Bug #16042: Error compiling ruby 2.7.0: recipe for target 'parse.c' failed
- I successfully installed ruby. Thank you all!
-
05:15 AM Bug #16042: Error compiling ruby 2.7.0: recipe for target 'parse.c' failed
- hsbt (Hiroshi SHIBATA) wrote:
> >./tool/pure_parser.rb:7:in popen': No such file or directory - bison (Errno::ENOENT)
> ...
As the OS is Ubuntu, should via apt. -
05:03 AM Bug #16042 (Rejected): Error compiling ruby 2.7.0: recipe for target 'parse.c' failed
- >./tool/pure_parser.rb:7:in popen': No such file or directory - bison (Errno::ENOENT)
You should install `bison` software via macports or homebrew. -
04:59 AM Bug #16042 (Rejected): Error compiling ruby 2.7.0: recipe for target 'parse.c' failed
- I get an error when compiling ruby from https://github.com/ruby/ruby
### Environment
```
root@instance-2:~/fuzz_ruby/ruby# uname -a
Linux instance-2 4.15.0-1036-gcp #38~16.04.1-Ubuntu SMP Tue Jun 25 15:30:46 UTC 2019 x86_64 x86_64 ... -
05:56 AM Revision 954223eb (git): [DOC] mentioned minimum versions of tools [ci skip]
-
05:56 AM Revision 6623cde7 (git): Added more attributes [ci skip]
-
05:20 AM Revision 4d753461 (git): Refine error message
- Highlight failed command and suggest installing the command.
[Bug #16042] -
05:07 AM Revision ec0d742d (git): Suppress warnings against locations in eval
-
04:51 AM Bug #16041 (Closed): eval's path argument seems to trigger GC bug
- Applied in changeset commit:git|5931857281ce45c1c277aa86d1588119ab00a955.
----------
Fix dangling path name from fstring
* parse.y (yycompile): make sure in advance that the `__FILE__`
object shares a fstring, to get rid of dangling ... -
01:57 AM Bug #16041: eval's path argument seems to trigger GC bug
- It could reproduce with simpler bug.rb:
```
file = "1.rb"
eval(File.read(file), nil, File.expand_path(file))
eval(File.read(file), nil, File.expand_path(file))
```
```
$ ~/work/ruby/miniruby bug.rb
Traceback (most recent cal... -
01:45 AM Bug #16041 (Closed): eval's path argument seems to trigger GC bug
- ```
$ pwd
/tmp/bug-0123456789
$ cat bug.rb
require "pathname"
file = "1.rb"
path = Pathname.new(file)
eval(File.read(file), nil, path.expand_path.to_s)
file2 = Dir["1.rb"].first
p file == file2 #=> true
path = Pathname.n... - 04:51 AM Revision cee394eb (git): * expand tabs.
-
04:48 AM Revision 59318572 (git): Fix dangling path name from fstring
- * parse.y (yycompile): make sure in advance that the `__FILE__`
object shares a fstring, to get rid of dangling path name.
Fixed up 53e9908d8afc7f03109b0aafd1698ab35f512b05. [Bug #16041]
* vm_eval.c (eval_make_iseq): ditto. -
02:41 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- > Could you show us how V8 and Python provide USDT features?
V8 has ustack helpers (which I'd love to try and figure out how to do for MRI) https://www.joyent.com/blog/understanding-dtrace-ustack-helpers which make the type of probing... -
02:32 AM Revision 688a59f8 (git): Show the location of `eval` which uses `__FILE__`/`__LINE__`
- 01:25 AM Revision fb96bea7 (git): * expand tabs.
-
01:18 AM Revision 4ea5c561 (git): Predefine some IDs
-
12:41 AM Revision 0bd1cd67 (git): [bundler/bundler] Remove Bundler.rubygems.config_map because it was deprecated.
- https://github.com/bundler/bundler/commit/5215ae7fa3
-
12:40 AM Revision b3b2b55f (git): [bundler/bundler] The keys for RbConfig::CONFIG was String.
- https://github.com/bundler/bundler/commit/ffc5e76335
- 12:32 AM Revision aad7443e (git): [bundler/bundler] Point to CoC which contains the contributor covenant
- https://github.com/bundler/bundler/commit/a94f74682e
-
12:30 AM Revision 220f6aa0 (git): Explicitly ignored GEMRC environmental variable.
-
12:30 AM Revision 4c72ca19 (git): Fixed up 365ee22d73ec73c119a842de271504e04bed6f45
-
12:30 AM Revision 01d14193 (git): Fixed the broken example with ruby core structure.
-
12:30 AM Revision 7ed1fc52 (git): [bundler/bundler] Bump rubocop to 0.74.0
- And reenable exclusion because the bug why we added them has been fixed.
See https://github.com/rubocop-hq/rubocop/issues/6861.
https://github.com/bundler/bundler/commit/bda63fcffc -
12:30 AM Revision dab944e6 (git): [bundler/bundler] net-http-persistent 3.1.0 has been released
- https://github.com/bundler/bundler/commit/ffb7d6fa53
-
12:30 AM Revision fcb58f65 (git): [bundler/bundler] Adapt to the way my automatiek patch works
- https://github.com/bundler/bundler/commit/b8ee4aec0b
-
12:30 AM Revision 1e636837 (git): [bundler/bundler] Bump automatiek to 0.2.0
- https://github.com/bundler/bundler/commit/cd1abf8b3f
-
12:30 AM Revision 97f3ceea (git): [bundler/bundler] Bump net-http-persistent to 3.0.1
- * Adds an extra artifice task to vendorize new `connection_pool`
dependency.
* Cherry-pick's needed Windows fix not yet merged into master branch of
`net-http-persistent`.
* Update bundler usages to be compatible with the new version, ... -
12:30 AM Revision 2b7e39f3 (git): [bundler/bundler] Always set `cache_all` via config during tests
- So that the behavior is the same regardless of the tested bundler
version.
https://github.com/bundler/bundler/commit/664549427a -
12:30 AM Revision 267a72be (git): [bundler/bundler] Enable `Style/UnneededInterpolation` cop
- https://github.com/bundler/bundler/commit/4c6a3c3cf7
-
12:30 AM Revision e84e6323 (git): [bundler/bundler] Check for straneous quotes
- And use single quotes consistenly.
https://github.com/bundler/bundler/commit/8b9fbbb2df -
12:30 AM Revision 4dea1356 (git): [bundler/bundler] [CurrentRuby] Say we are ruby? when the generic local platform is Gem::Platform::RUBY
- This allows us to always say we're ruby? when force_ruby_platform is
set, and fixes using gemspec & force_ruby_platform on windows.
https://github.com/bundler/bundler/commit/3cb89b7e5c -
12:30 AM Revision 6fb73e60 (git): [bundler/bundler] Fully remove compatibility guard
- https://github.com/bundler/bundler/commit/2a7a5daba0
-
12:30 AM Revision 452516f5 (git): [bundler/bundler] Remove development dependencies from gemspec
- And refactor development setup.
https://github.com/bundler/bundler/commit/f288806d02 -
12:30 AM Revision 7255f55d (git): [bundler/bundler] RUBY_ENGINE should always be defined after 1.8.7
- https://github.com/bundler/bundler/commit/d6c9196d18
- 12:30 AM Revision d2d6d5c9 (git): [bundler/bundler] Fix typo in binstubs documentation
- https://github.com/bundler/bundler/commit/88dbfa18b4
-
12:30 AM Revision 56229c4e (git): [bundler/bundler] Fix `git` options examples
- https://github.com/bundler/bundler/commit/bda0fa02c4
-
12:30 AM Revision 6015bbee (git): [bundler/bundler] Fix incorrect sectioning in `gemfile` man page
- https://github.com/bundler/bundler/commit/428f53bef0
-
12:30 AM Revision d4b1804b (git): [bundler/bundler] Removed the environmental variables that are BUNDLE_USER_*.
- It's affect with rspec examples and broke them.
https://github.com/bundler/bundler/commit/355a922073 -
12:29 AM Revision b855e33b (git): [bundler/bundler] Add exclamation mark to method
- To indicate that it can raise.
Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com>
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
https://github.com/bundler/bundler/commit/584e841624 -
12:29 AM Revision 1fbd6a1f (git): [bundler/bundler] Move `strict` to an attribute
- Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com>
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
https://github.com/bundler/bundler/commit/7b68d86bdd -
12:29 AM Revision 1069139a (git): [bundler/bundler] Extract some methods
- Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com>
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
https://github.com/bundler/bundler/commit/027aba0cff -
12:29 AM Revision ee7ec870 (git): [bundler/bundler] Unfold message to single line for readability
- https://github.com/bundler/bundler/commit/d845a213ca
- 12:29 AM Revision e1ccaa87 (git): [bundler/bundler] Extract a `print_gems` method
- https://github.com/bundler/bundler/commit/0d8c8d207e
- 12:29 AM Revision 759930dd (git): [bundler/bundler] Less complexity
- https://github.com/bundler/bundler/commit/be9d6e7cfc
-
12:29 AM Revision fd3411c7 (git): [bundler/bundler] Move more locals to attributes
- Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com>
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
https://github.com/bundler/bundler/commit/4335df3e4c -
12:29 AM Revision a4247850 (git): [bundler/bundler] Move `any?` logic to the attribute
- It's the only usage of the `options_include_groups` attribute and its
name suggests a boolean, so it fits better now.
Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com>
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.n... -
12:29 AM Revision 4e76aef2 (git): [bundler/bundler] Move `options_include_groups` to an attribute
- Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com>
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
https://github.com/bundler/bundler/commit/832fb900f0 - 12:29 AM Revision e33dd659 (git): [bundler/bundler] Move duplicated code to `before` blocks
- https://github.com/bundler/bundler/commit/69bee117fb
-
12:29 AM Revision c4a2a9a3 (git): [bundler/bundler] Remove now unused logic
- https://github.com/bundler/bundler/commit/5b285685a4
-
12:29 AM Revision 322d4fe9 (git): [bundler/bundler] Remove unnecessary indirections
- These specs are only run on bundler 2, so the compatibility method is
not needed.
https://github.com/bundler/bundler/commit/6cb28e3aeb -
12:29 AM Revision 30d10be0 (git): [bundler/bundler] Prefer feature flag to harcoded check
- https://github.com/bundler/bundler/commit/8c83921d08
-
12:29 AM Revision 76d205c8 (git): [bundler/bundler] Restore `cache_all` flag removal
- https://github.com/bundler/bundler/commit/04a04719f0
-
12:29 AM Revision 640dbdd1 (git): [bundler/bundler] Better info about spec exclusions
- https://github.com/bundler/bundler/commit/1ee77d9c55
-
12:29 AM Revision 51aaed12 (git): [bundler/bundler] Skip specs using `Process.fork` on Windows
- https://github.com/bundler/bundler/commit/ebcb25a3c3
-
12:29 AM Revision d7487d6c (git): [bundler/bundler] Try make some specs platform independent
- https://github.com/bundler/bundler/commit/b5900e57a4
-
12:29 AM Revision 9d82962a (git): [bundler/bundler] Check for generic lockfiles
- https://github.com/bundler/bundler/commit/344a881592
-
12:29 AM Revision bb50f87b (git): [bundler/bundler] Add workaround from old rubygems
- In these versions, the `approximate_recommendation` method doesn't
include the prerelease logic.
https://github.com/bundler/bundler/commit/caf13e9e4f -
12:29 AM Revision cb6abf55 (git): [bundler/bundler] Update error messages to be more precise
- https://github.com/bundler/bundler/commit/9ddeeb1fe1
-
12:29 AM Revision f40914e3 (git): [bundler/bundler] Remove unnecessary method parameter
- https://github.com/bundler/bundler/commit/72194d1aac
-
12:29 AM Revision a1c69991 (git): [bundler/bundler] Use a consistent requirement in binstub
- https://github.com/bundler/bundler/commit/50ccdb32c2
-
12:29 AM Revision bb6b9b49 (git): [bundler/bundler] Remove redundant begin-end block
- https://github.com/bundler/bundler/commit/1d017c3f36
-
12:29 AM Revision bd0f19f1 (git): [bundler/bundler] Don't need 1.8 compatibility
- https://github.com/bundler/bundler/commit/7ca4d4e83c
-
12:29 AM Revision 3e10b4a0 (git): [bundler/bundler] Indentation fixes
- https://github.com/bundler/bundler/commit/2a44090cb6
-
12:29 AM Revision 3e83fbdd (git): [bundler/bundler] Add a comment to explain the initial reset
- https://github.com/bundler/bundler/commit/6d0a8f4128
-
12:29 AM Revision 55831647 (git): [bundler/bundler] Move environment reset to the only test needing it
- https://github.com/bundler/bundler/commit/6d3b809695
-
12:29 AM Revision 67947245 (git): [bundler/bundler] Remove uneeded bundler key
- It sounds like this was mistankenly added in
4337a499d0108fc3748084934aaed7591b355a26. Then the forgotten MANPATH key
was added in bf5bf106230772934602768bb31a68dc925691f0, but this one
should've been removed I think.
https://github.com... -
12:29 AM Revision 1b081cdd (git): [bundler/bundler] Improve test to make it more independent from env
- https://github.com/bundler/bundler/commit/038f0d7c37
-
12:29 AM Revision 26f65179 (git): [bundler/bundler] Remove unnecessary assignments
- https://github.com/bundler/bundler/commit/3e5d4b2c42
-
12:29 AM Revision d6a2e082 (git): [bundler/bundler] spec/bundler/shared_helpers_spec.rb - fixup after 7248
- PR 7248 incorrectly changed a path calculation. This reverts.
After running Azure Pipelines CI in my ruby/ruby fork and checking the 'bundler' jobs, the error was apparent...
https://github.com/bundler/bundler/commit/811755b413 -
12:29 AM Revision 432285c0 (git): [bundler/bundler] fix nested bundle exec's when bundler is a default gem
- https://github.com/bundler/bundler/commit/537c0ab712
-
12:29 AM Revision 24062bd3 (git): [bundler/bundler] build_metadata.rb - fix 'warning: instance variable @git_commit_sha not initialized'
- https://github.com/bundler/bundler/commit/37a1eec8c8
-
12:29 AM Revision 7b7caf9b (git): [bundler/bundler] dsl_spec.rb - fix for Ruby core
- https://github.com/bundler/bundler/commit/33892e1ed2
-
12:29 AM Revision a1549fba (git): [bundler/bundler] Alias `cache` to `package` now
- The additions of the `package` command are not actually backwards
incompatible, so we can do this transition without further care. All
existing specs of `bundle cache` pass when using the `bundle package`
implementation for it.
https://... -
12:29 AM Revision 4f5e1b6e (git): [bundler/bundler] Remove `cache_command_is_package` feature flag
- So that we handle the removal of `bundle cache` just like we'll handle
the removal of `bundle show` and `bundle console`.
https://github.com/bundler/bundler/commit/ff1a669efb -
12:29 AM Revision f73020d4 (git): [bundler/bundler] Always keep `bundle package --all` option
- Just change the default. The reason to do this is that the deprecation
message talks about the default being changed, not the option being
removed.
https://github.com/bundler/bundler/commit/eca1757792 -
12:29 AM Revision 33ce42dd (git): [bundler/bundler] Fix incorrect flag usage
- https://github.com/bundler/bundler/commit/4df9edef95
-
12:29 AM Revision ad3cba02 (git): [bundler/bundler] Remove redundant condition
- This is inside a code branch where the condition is already met.
https://github.com/bundler/bundler/commit/8cdd6c37e6 -
12:29 AM Revision 31541d73 (git): [bundler/bundler] Drop rubygems 2.5.0 and 2.5.1 support
- https://github.com/bundler/bundler/commit/8ecd722b9f
-
12:29 AM Revision fc42423b (git): [bundler/bundler] Correct a rubygems test filter
- It seems to pass under rubygems 2.5.2.
https://github.com/bundler/bundler/commit/062cd2be7c -
12:29 AM Revision f5cd02f3 (git): [bundler/bundler] Remove unnecessary test filter
- Since it covers the whole range we support.
https://github.com/bundler/bundler/commit/c0b9d4e6c6 -
12:29 AM Revision a6ce001b (git): [bundler/bundler] Change the refresh spec to not use `stubs_for`
- We plan to incrementally populate this array in rubygems, so that will
break the test because the first time `find_by_name("rack")` is called
will make the `rack` gem available in the array.
We can test the same thing using some other w... -
12:29 AM Revision a181df75 (git): [bundler/bundler] No need to make `Gem.refresh` a noop
- The rubygems integration sets up a `post_reset` hook that resets the
specs back to what bundler knows after `Gem::Specification.reset` is
called (which is what `Gem.refresh` calls under the hood).
https://github.com/bundler/bundler/comm... -
12:29 AM Revision f399a2b7 (git): [bundler/bundler] Remove unnecessary line
- It contains a typo, so it can't be needed.
https://github.com/bundler/bundler/commit/ef38c97fbf -
12:29 AM Revision 56fd027a (git): [bundler/bundler] Tweak some quality specs to check more files
- https://github.com/bundler/bundler/commit/98023e25de
-
12:29 AM Revision 812dfa44 (git): [bundler/bundler] Refactor setting the encoding in quality specs
- Instead of setting the encoding globally, set it when reading the files.
https://github.com/bundler/bundler/commit/e2a5c45e4d -
12:29 AM Revision 6cbe818c (git): [bundler/bundler] This seems to pass for me
- https://github.com/bundler/bundler/commit/e31880b1ea
-
12:29 AM Revision d0c19d1f (git): [bundler/bundler] Use `tap` for `current_platforms`
- https://github.com/bundler/bundler/commit/78608acf83
-
12:29 AM Revision 6e0dc559 (git): [bundler/bundler] Remove now unused method
- https://github.com/bundler/bundler/commit/3a2d2f0250
-
12:29 AM Revision 6492f23d (git): [bundler/bundler] Remove now meaningless setting
- https://github.com/bundler/bundler/commit/52c5a0eede
-
12:29 AM Revision dae6d303 (git): [bundler/bundler] Remove now meaningless warning
- https://github.com/bundler/bundler/commit/00b095b98f
-
12:29 AM Revision c1ca7728 (git): [bundler/bundler] Add all platforms to lockfile by default
- https://github.com/bundler/bundler/commit/3dc509e645
-
12:29 AM Revision d8cd45cb (git): [bundler/bundler] Refactor some specs
- https://github.com/bundler/bundler/commit/785c7af1f3
-
12:29 AM Revision ff908983 (git): [bundler/bundler] Extract `expanded_platforms`
- https://github.com/bundler/bundler/commit/60d720eb06
-
12:29 AM Revision 3af9d8bb (git): [bundler/bundler] Extract `current_platforms`
- https://github.com/bundler/bundler/commit/9f07207d64
-
12:29 AM Revision ead2dc0e (git): [bundler/bundler] [GemHelpers] Remove the special code path for ruby platform being its own generic
- https://github.com/bundler/bundler/commit/3b9abc8932
-
12:29 AM Revision cef81eb8 (git): [bundler/bundler] Make some specs more explicit
- https://github.com/bundler/bundler/commit/5e08e849ec
-
12:29 AM Revision b2baf6bb (git): [bundler/bundler] Remove unnecessary begin-end block
- And freeze the resulting hash to appease rubocop.
https://github.com/bundler/bundler/commit/f38ebff92f -
12:29 AM Revision f8c03b24 (git): [bundler/bundler] Bump rubocop to 0.72.0
- https://github.com/bundler/bundler/commit/babbc112c6
-
12:29 AM Revision 0dad89c0 (git): [bundler/bundler] Fix typos
- https://github.com/bundler/bundler/commit/1bd9660780
-
12:29 AM Revision 8d9fc846 (git): [bundler/bundler] Reuse `lockfile` spec helper
- https://github.com/bundler/bundler/commit/e6a03f1102
-
12:29 AM Revision 2f1d52c2 (git): [bundler/bundler] Remove unused filter
- https://github.com/bundler/bundler/commit/102d6229d4
-
12:29 AM Revision aae24456 (git): [bundler/bundler] Reuse `gemfile` spec helper
- https://github.com/bundler/bundler/commit/22de94d3b4
-
12:29 AM Revision 05c3b7c8 (git): [bundler/bundler] More specific assertion
- 1.0.0 is such a common output, and it was hiding a crash in the test.
https://github.com/bundler/bundler/commit/c688337e24 -
12:29 AM Revision 13e5bf34 (git): [bundler/bundler] Remove redundant assertion
- https://github.com/bundler/bundler/commit/7ac854dea1
-
12:29 AM Revision 2c262d13 (git): [bundler/bundler] Make spec easier to debug
- https://github.com/bundler/bundler/commit/156629291e
-
12:29 AM Revision 81a84076 (git): [bundler/bundler] Don't persist the cache_all_platforms setting
- We only want it temporarily during the duration of the cache saving.
https://github.com/bundler/bundler/commit/1e9818c0da -
12:29 AM Revision 82bf0643 (git): [bundler/bundler] [Package] Ensure uninstallable gems are _never_ installed
- https://github.com/bundler/bundler/commit/899aeeebb0
-
12:29 AM Revision 215d846e (git): [bundler/bundler] [Package] Dont always update on --all-platforms
- https://github.com/bundler/bundler/commit/723611f6ee
-
12:29 AM Revision d761a0f6 (git): [bundler/bundler] [Package] Always resolve remotely for --all-platforms
- https://github.com/bundler/bundler/commit/e45d2272ea
-
12:29 AM Revision 2ccb3db5 (git): [bundler/bundler] Add missing mock
- I'm not sure this test is useful but since it's there, it should be
complete.
https://github.com/bundler/bundler/commit/3e350089db -
12:29 AM Revision 5a56f4a5 (git): [bundler/bundler] Remove unnecessary `order_matters` param
- https://github.com/bundler/bundler/commit/0b40b5b784
-
12:29 AM Revision a375a451 (git): [bundler/bundler] Correct default cache path
- The default cache path is `vendor/cache`, not `vendor/bundle`.
https://github.com/bundler/bundler/commit/49256bb3d2 -
12:29 AM Revision e6dc7b5b (git): [bundler/bundler] Improve spec to be more realistic
- https://github.com/bundler/bundler/commit/ca96316b97
-
12:29 AM Revision 4b1395ab (git): [bundler/bundler] Clearer MissingRevision git errors
- https://github.com/bundler/bundler/commit/b47d23edf5
-
12:29 AM Revision e405aede (git): [bundler/bundler] Not sure how much this buys us, remove it
- https://github.com/bundler/bundler/commit/f8584fb864
-
12:29 AM Revision ed37de1c (git): [bundler/bundler] Inline `expanded_deps`
- It's now only used once, and doing it like this is consistent with the
previous line.
https://github.com/bundler/bundler/commit/7d27330fc7 -
12:29 AM Revision bdcd1990 (git): [bundler/bundler] Generate new gem development dependencies in Gemfile
- https://github.com/bundler/bundler/commit/02177d0e10
-
12:29 AM Revision 86757abd (git): [bundler/bundler] Fix local variable name
- https://github.com/bundler/bundler/commit/3df138318f
-
12:29 AM Revision f2cc018a (git): [bundler/bundler] Reuse `execute_bundle_gem` method
- https://github.com/bundler/bundler/commit/773203ec5a
-
12:29 AM Revision 27717893 (git): [bundler/bundler] Don't re-resolve locked platform specific gems
- https://github.com/bundler/bundler/commit/7da2bf75f5
-
12:29 AM Revision 33fdd872 (git): [bundler/bundler] Revert "Migrate requires from exe/ to also be relative"
- This reverts commit d9d2bf6d522dd36d1ef2732e87cef8b7cba729fd.
https://github.com/bundler/bundler/commit/eeb2ff1561 -
12:29 AM Revision df011b02 (git): [bundler/bundler] Lock rubocop-performance to 1.4.0
- https://github.com/bundler/bundler/commit/595dd6af6c
-
12:29 AM Revision 1a8d9a0d (git): [bundler/bundler] Bump rubocop to 0.71
- https://github.com/bundler/bundler/commit/efa69583dd
-
12:29 AM Revision 72daf37d (git): [bundler/bundler] Fix a typo on a spec comment
- https://github.com/bundler/bundler/commit/1a853ad6ac
- 12:29 AM Revision 884f948a (git): [bundler/bundler] bundler/inline should always install gems to system path
- As discussed in the P/R, when `BUNDLE_PATH` env is set Bundler should
still install gems to the system path. `GEM_HOME` can be used to provide
different location if needed.
The test is added to document expected behavior of `bundler/inl... -
12:29 AM Revision 4089f8df (git): [bundler/bundler] Use real paths for `bundle clean`
- https://github.com/bundler/bundler/commit/0646f9e286
-
12:29 AM Revision e59b57a3 (git): [bundler/bundler] Fix thread leak in compact index specs
- This spec was not stopping threads after itself. That would cause the
previous spec in the file (that checks that no threads are left behind)
to fail.
https://github.com/bundler/bundler/commit/81ad85b92d - 12:29 AM Revision a12557db (git): [bundler/bundler] Add `required_ruby_version` to gemspec template
- https://github.com/bundler/bundler/commit/f47421f92d
-
12:29 AM Revision b014a215 (git): [bundler/bundler] Factor out gemspec call inside `let`
- https://github.com/bundler/bundler/commit/ae0ac190aa
-
12:29 AM Revision 10c0271f (git): [bundler/bundler] Remove duplicated `let`'s
- https://github.com/bundler/bundler/commit/43ffaab796
-
12:29 AM Revision cad71f70 (git): [bundler/bundler] Migrate git proxy helpers to use Open3
- https://github.com/bundler/bundler/commit/4a37d66f3f
-
12:29 AM Revision a685a864 (git): [bundler/bundler] Fix `rake release` not prompting for OTP code
- Co-authored-by: Colby Swandale <me@colby.fyi>
Co-authored-by: Kevin Deisz <kevin.deisz@gmail.com>
https://github.com/bundler/bundler/commit/1b2bbc7364 -
12:29 AM Revision 51bdc943 (git): [bundler/bundler] Normalize usages of `Gem::Util` in rubygems integration
- https://github.com/bundler/bundler/commit/b35d7fc74a
-
12:29 AM Revision 81779e22 (git): [bundler/bundler] Use rubygems utility if available
- https://github.com/bundler/bundler/commit/7eccba0e52
-
12:29 AM Revision e111f38f (git): [bundler/bundler] Fix file:// handling under Windows
- Windows paths do not start with a slash, so we add an extra slash to
separate the host from the path in file:// urls. Otherwise "D:" is
parsed as the host segment in the URI.
The path for those URLs now starts with "/", so we ignore tha... -
12:29 AM Revision c3ddd47c (git): [bundler/bundler] Normalize file:// handling in specs
- https://github.com/bundler/bundler/commit/5946d62ad0
-
12:29 AM Revision d8d5e163 (git): [bundler/bundler] Use a clean gemspec for gem helper specs
- https://github.com/bundler/bundler/commit/f694fe7f67
-
12:29 AM Revision 1c070c9c (git): [bundler/bundler] Move "on releasing" to a RSpec context
- So we can later add more tests with the same setup.
https://github.com/bundler/bundler/commit/21b4b6c49c -
12:29 AM Revision a27198f6 (git): [bundler/bundler] Migrate requires from exe/ to also be relative
- https://github.com/bundler/bundler/commit/d9d2bf6d52
-
12:29 AM Revision 9596f432 (git): [bundler/bundler] Migrate two more requires to be relative
- https://github.com/bundler/bundler/commit/80217bfe0b
-
12:29 AM Revision c5737a9a (git): [bundler/bundler] Migrate thor to use relative requires
- https://github.com/bundler/bundler/commit/ca28a04668
-
12:29 AM Revision 1a4bb80c (git): [bundler/bundler] Skip specs that need coloring on Windows
- ANSI codes don't work there.
https://github.com/bundler/bundler/commit/4f05417ca7 -
12:29 AM Revision 38df9e18 (git): [bundler/bundler] Add missing no-color source specs
- For consistency.
https://github.com/bundler/bundler/commit/279603ab42 -
12:29 AM Revision 214e9925 (git): [bundler/bundler] Be explicit about coloring in specs that need that
- https://github.com/bundler/bundler/commit/a4d04506ab
-
12:29 AM Revision 580e1658 (git): [bundler/bundler] Respect color option when instantiating shells
- Thor's base shell will be memoized the first time it is set. So if we
instantiate a no-color shell first, further instantiations of a bundler
shell will be initialized with a no-color shell by default. This is
caused some sources specs t... -
12:29 AM Revision b95756c7 (git): [bundler/bundler] Remove unnecessary condition
- The builtin thor's color shell already checks this before printing, and
if not a tty, prints just the string without added color codes.
https://github.com/bundler/bundler/commit/4f62611c87 -
12:29 AM Revision 4c2255fd (git): [bundler/bundler] Added Ruby 2.6 to dsl.
- https://github.com/bundler/bundler/commit/1892626858
-
12:01 AM Bug #6566 (Closed): JSON.dump can generate invalid UTF-8 sequence
- I think this was fixed upstream last year: https://github.com/flori/json/commit/91a24ecac3d722bc3e545fdd0657ed225e91c2df
08/02/2019
-
11:56 PM Bug #6432 (Closed): Segmentation fault after "linking miniruby"
-
11:55 PM Bug #6342 (Closed): rubydb(debugger interface on emacs) doesnt work with multi files
- `misc/rubydb3x.el` was removed in commit:7eedd308b841e7b8eb4bc36211d28faf3521ee92. You may want to consider submitting this as a pull request: https://github.com/ruby/elisp/pulls
-
11:48 PM Bug #3618 (Closed): inf-ruby prompt and tab completion
-
11:46 PM Bug #5737 (Closed): WEBrick doesn't support keep alive connections for 204 and 304 responses
-
11:40 PM Bug #5559 (Third Party's Issue): Intermittent Seg fault when using net-ssh
-
11:39 PM Bug #5511 (Closed): "make test" failure on HP-UX/PA
-
11:39 PM Bug #5510 (Closed): "make test" failure on HP-UX/IA
-
10:48 PM Bug #4352 (Closed): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Applied in changeset commit:git|c6837638657429034825d5c9e2a29c340898afb8.
----------
Use source_location instead of eval(__FILE__,binding) in Binding#irb
e9e17cbc051e894dfd27eda5feca2939f65552db (enabling the warning by
default) caused... -
03:11 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- mame (Yusuke Endoh) wrote:
> @jeremyevans0 , thank you for reminding this issue.
> ...
@mame I think applying my patch for 3.0 is fine. I only suggested it for 2.7 because that is what the issue target was. -
02:21 PM Bug #4352 (Open): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- @jeremyevans0 , thank you for reminding this issue.
The warning is printed only on the verbose mode in 2.6. It would be good to enable the warning by default in 2.7.
I tentatively changed at e9e17cbc051e894dfd27eda5feca2939f65552db.... -
02:17 PM Bug #4352 (Closed): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Applied in changeset commit:git|e9e17cbc051e894dfd27eda5feca2939f65552db.
----------
parse.y: make a warning for __FILE__ in eval by default
[Bug #4352] -
10:44 PM Revision c6837638 (git): Use source_location instead of eval(__FILE__,binding) in Binding#irb
- e9e17cbc051e894dfd27eda5feca2939f65552db (enabling the warning by
default) caused a warning in test-spec:
```
/data/chkbuild/tmp/build/20190802T213005Z/ruby/spec/ruby/core/binding/irb_spec.rb
Binding#irb
- creates an IRB session with the... -
10:10 PM Bug #16040 (Third Party's Issue): Segmentation Fault when calling setWindowTitle() in Qt
- The segfault happens in the qtbindings gem:
```
C:\Ruby25-x64\lib\ruby\gems\2.5.0\gems\qtbindings-qt-4.8.6.4-x64-mingw32\qtbin\QtGui4.dll(ZNK7QWidget11windowTitleEv+0x8) [0x000000006514ea98]
```
Please try reporting the bug to th... -
10:03 PM Bug #16040 (Third Party's Issue): Segmentation Fault when calling setWindowTitle() in Qt
- I get a segmentation fault and a lot of backtrace information in the console when I run high_low_qt.rb
I am trying to create a widget that will display cards and buttons to control the game.
The fault happens at line 81 when I call set... -
07:36 PM Feature #16039: Array#contains? to check if one array contains another array
- `contains?` sounds like it would check if an element is part of the Array, i.e., like `include?`.
So I think the name is problematic.
`superset?` would be a better name, and that's defined on `Set`.
So I think in this case it's bett... -
06:09 PM Feature #16039 (Open): Array#contains? to check if one array contains another array
- I woud like to propose `Array#contains?` which will check if the one array is part of another array.
Implementation can be as follows:
```
def contains?(other)
(other - self).empty?
end
```
Some test cases:
```
[1, 2, 3]... -
04:52 PM Feature #16038 (Closed): Provide a public WeakMap that compares by equality rather than by identity
- I know `ObjectSpace::WeakMap` isn't really supposed to be used, and that the blessed interface is `WeakRef`. However, I'd like to make a case for a better public WeakMap.
### Usage
As described in [Feature #16035], `WeakMap` is use... -
04:07 PM Revision 44ddfec0 (git): Add missing backslash
- 03:55 PM Revision 60ac8ad1 (git): * 2019-08-03
-
03:55 PM Revision 4eb54c49 (git): Stop using homebrew addon
- to control erros on our own.
-
03:16 PM Bug #15244: Method #extname return empty string if filename is dot ('.')
- Updated the diff to also account for the if (*p) case so that it will stop if p == 0.
-
02:29 PM Revision 536ba7c8 (git): Revert "Remove opt_nil_p test to remove warning for now"
- This reverts commit a1727e43af18c122c4d7adfa603f895fdc8f3df1.
-
02:25 PM Revision 086ffe72 (git): Revert "Revert "Add a specialized instruction for `.nil?` calls""
- This reverts commit a0980f2446c0db735b8ffeb37e241370c458a626.
Retry for macOS Mojave. -
02:17 PM Revision e9e17cbc (git): parse.y: make a warning for __FILE__ in eval by default
- [Bug #4352]
-
02:01 PM Revision 247b06d4 (git): Revert "Give up `brew update` on Travis"
- This reverts commit e05f397f08e98fb170e3aca885d6028b344e833c.
Failed... https://travis-ci.org/ruby/ruby/jobs/566961111
We should talk to Travis people instead... -
01:46 PM Revision a1727e43 (git): Remove opt_nil_p test to remove warning for now
-
01:11 PM Bug #16036 (Third Party's Issue): workers keep on crashing with [BUG] Segmentation fault at 0x000000010b647a3a
- Yes, `getaddrinfo` is an API function provided by OS vendors, that is Apple in this case.
-
02:56 AM Bug #16036: workers keep on crashing with [BUG] Segmentation fault at 0x000000010b647a3a
- When we say it's related to third party issue, which third party we meant here, is it OSX that is causing this issue ?
-
12:38 AM Bug #16036 (Rejected): workers keep on crashing with [BUG] Segmentation fault at 0x000000010b647a3a
- I believe this is a duplicate of #15490.
-
12:20 AM Bug #16036 (Third Party's Issue): workers keep on crashing with [BUG] Segmentation fault at 0x000000010b647a3a
- My redis worker keep on crashing with message /
Users/jitendrasachdeva/.rvm/gems/ruby-2.5.3/gems/redis-4.1.2/lib/redis/connection/ruby.rb:210: [BUG] Segmentation fault at 0x000000010b647a3a
ruby 2.5.3p105 (2018-10-18 revision 65156) ... -
01:00 PM Feature #16037: Allow multiple single/double-splatted variables in `in` pattern matching and introduce non-greedy-splatted variables
- Hmm.
Syntax considerations aside (matz can evaluate whether the syntax makes sense
or not), I think an important question is how much complexity should be used or
leveraged into pattern matching in general. This is, IMO, a design de... -
11:50 AM Feature #16037 (Open): Allow multiple single/double-splatted variables in `in` pattern matching and introduce non-greedy-splatted variables
- Pattern matching in `in` argument seems to prohibit multiple occurrences of single/double-splatted variables.
```ruby
case ["a", "b", 3, "c", "d"]; in *foo, Integer, bar; end # >> (Not SyntaxError)
case ["a", "b", 3, "c", "d"]; in *... -
12:09 PM Revision eb638b75 (git): It can be share to use CoreAssertions for default gems.
- ref. https://github.com/ruby/logger/pull/35
-
10:04 AM Revision 9921b63a (git): Make float_decode_internal mantissa int
-
09:11 AM Revision 6640eeb6 (git): Deduplicate common code
-
08:51 AM Revision ee133418 (git): Fix uplevel
-
08:19 AM Feature #15931: encoding for CESU-8
- 提案者です。議論ありがとうございます。
過去のRubyのバージョンのサポートも必要なのでブリッジ自身でもUTF-8とCESU-8の相互変換は行います。その意味ではencodeメソッドは必ずしも必要ありません(当方の認識不足もあって、最初にイッシューを登録したときとは多少状況が変わっています)。
しかし、ユーザーが与えたStringのエンコードがUTF-8の場合、ブリッジとしては\u10000以上の文字が含まれているかどうかの判定に文字列の全舐めが必要です。また必要で... -
06:59 AM Revision e03b3b4a (git): add debug_counters to check details.
- add debug_counters to check the Hash object statistics.
-
06:03 AM Revision a0980f24 (git): Revert "Add a specialized instruction for `.nil?` calls"
- This reverts commit 9faef3113fb4331524b81ba73005ba13fa0ef6c6.
It seemed to cause a failure on macOS Mojave, though I'm unsure how.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1014/ruby-master/log/20190802T034503Z.fail.html.gz
Th... -
02:28 AM Revision 19006b71 (git): Expanded f_quo
-
02:26 AM Revision f9a0492b (git): Expanded f_ceil
-
02:26 AM Revision ffe4a6eb (git): Use RB_INTEGER_TYPE_P
-
02:26 AM Revision 6de61fb9 (git): Expanded f_mod
-
12:08 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #16035] Allow non-finalizable objects such as `Integer`, static `Symbol` etc in `ObjectSpace::WeakMap`
* [Feature #16038] Provide a public `WeakMap` which compare by equality rather than identity -
12:01 AM Bug #16034: Backport 5d33f787169bcc3594d2264726695d58c4a06899 to Ruby 2.6
- [8b162ce9d1003e4e469d8f48cb9a2076fd45b47c](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/revisions/8b162ce9d1003e4e469d8f48cb9a2076fd45b47c) too.
08/01/2019
-
08:25 PM Bug #15993: 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir
- While taking a break, looked at this again. Below is the encoding of various items:
```
$LOAD_PATH
ASCII-8BIT C:/Greg/Ruby киї/lib/ruby/site_ruby/2.7.0
ASCII-8BIT C:/Greg/Ruby киї/lib/ruby/site_ruby/2.7.0/x64-msvcrt
ASCII... -
02:06 PM Bug #15993: 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir
- On a US Windows system, I used a base Ruby folder of `C:\Greg\Ruby киї` (using a space and Cyrillic characters), and I could repo the issue.
Without any console chcp command, I did the following, which also solved the issue:
```rub... -
07:02 PM Feature #16035 (Closed): Allow non-finalizable objects such as Integer, static Symbol etc in ObjectSpace::WeakMap
- This goes one step farther than what @nobu did in https://bugs.ruby-lang.org/issues/13498
With this patch, special objects such as static symbols, integers, etc can be used as either key or values inside WeakMap. They simply don't hav... -
05:32 PM Bug #16034 (Closed): Backport 5d33f787169bcc3594d2264726695d58c4a06899 to Ruby 2.6
- Hi,
Can we get [5d33f787169bcc3594d2264726695d58c4a06899](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/git/revisions/5d33f787169bcc3594d2264726695d58c4a06899) backported to Ruby 2.6? It's an updated fix for Bug #14834.
... -
05:30 PM Bug #14834: rb_profile_frames SEGV when PC adjusted on IFUNC
- Thanks for the fix @shyouhei!
-
07:09 AM Bug #14834: rb_profile_frames SEGV when PC adjusted on IFUNC
- Yes indeed. I was wrong, and the analysis by the OP is basically right. Pushed 5d33f787169bcc3594d2264726695d58c4a06899 which I hope should fix the problem. Sorry for the trouble.
-
07:04 AM Bug #14834 (Closed): rb_profile_frames SEGV when PC adjusted on IFUNC
- Applied in changeset commit:git|5d33f787169bcc3594d2264726695d58c4a06899.
----------
fix tracepoint + backtrace SEGV
PC modification in gc_event_hook_body was careless. There are (so
to say) abnormal iseqs stored in the cfp. We have ... -
03:55 PM Bug #4537 (Closed): Incorrectly creating private method via attr_accessor
- Applied in changeset commit:git|ef45a57801a2ae8621b0cde59f11159f89f0a8dc.
----------
Make attr* methods define public methods if self in caller is not same as receiver
Previously, attr* methods could be private even if not in the
priva... -
08:21 AM Bug #4537: Incorrectly creating private method via attr_accessor
- Seems fine.
BTW, it doesn't need to be the global `String`.
```diff
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb
index cdc084c8bc..9e57692ca0 100644
--- a/test/ruby/test_module.rb
+++ b/test/ruby/test_module... -
12:16 AM Bug #4537: Incorrectly creating private method via attr_accessor
- Attached is a patch that makes attr* methods handle visibility the same as `define_method`, using the approach nobu developed for #9005. I think this behavior makes the most sense. Always defining attr* methods as public (approach (2))...
- 03:55 PM Revision 8ba8ccc3 (git): * 2019-08-02
-
03:52 PM Revision ef45a578 (git): Make attr* methods define public methods if self in caller is not same as receiver
- Previously, attr* methods could be private even if not in the
private section of a class/module block.
This uses the same approach that ruby started using for define_method
in 1fc33199736f316dd71d0c551edbf514528ddde6.
Fixes [Bug #4537] -
01:58 PM Bug #16033: test_callinfo_unreachable_path Bus Error on Solaris sparc
- I am also attaching some basic info from dumped core file.
IF more info is needed, I am happy to provide it. -
01:55 PM Bug #16033 (Closed): test_callinfo_unreachable_path Bus Error on Solaris sparc
- We recently updated to Ruby version 2.5.5 and one test on sparc started to fail:
TestRubyOptimization#test_callinfo_unreachable_path [/.../ruby-25/ruby-2.5.5/test/ruby/test_optimization.rb:707]:
pid 6104 killed by SIGABRT (signal 6) ... -
01:56 PM Bug #15839: mixed encoding heredoc should be a syntax error regardless the order
- ruby_2_6 r67724 merged revision(s) 6375c68f8851e1e0fee8a95afba91c4555097127,c05eaa93258ddc01e685b6cc3a0da82998a2af48.
-
01:56 PM Revision adbb1c69 (git): merge revision(s) 6375c68f8851e1e0fee8a95afba91c4555097127,c05eaa93258ddc01e685b6cc3a0da82998a2af48: [Backport #15839]
- parse.y: function parser_mixed_error & parser_mixed_escape
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Fix mixed encoding in heredoc
Heredocs are parsed line-by-... -
01:30 PM Bug #16032 (Closed): 2.6 branch is failing on darwin17 on Travis-CI
- Travis-CIのosxイメージにはccacheが入っていないようでエラーになっており、 `update` を付ける必要があります。
また、Homebrew自体が古く更新に時間がかかるので、xcode11を使うほうがいいのではないでしょうか。
https://github.com/nobu/ruby/tree/travis-2.6 -
01:18 PM Bug #15847: SecureRandom#gen_random becomes private after first invocation
- ruby_2_6 r67723 merged revision(s) 5bab1304af25a843728dbcd2f3594913740aecb0.
-
01:18 PM Revision a451d5d3 (git): merge revision(s) 5bab1304af25a843728dbcd2f3594913740aecb0: [Backport #15847]
- fix visibility of SecureRandom.gen_random
Aliasing a method preserves its visibility. These aliases turn
formerly-public methods into private. Should make them public
again. [Bug #15847]
git-svn-id: svn+ssh:/... -
12:09 PM Revision b8e351a1 (git): ext/-test-/bug-14834/bug-14384.c: fallback for MAYBE_UNUSED
- __unused__ is unavailable on Sun C.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190801T112505Z.fail.html.gz -
11:55 AM Revision 8b162ce9 (git): Fix assertion failure when VM_CHECK_MODE
- Some VM frames (dummy and top pushed by `rb_vm_call_cfunc`) has
iseq but has no pc. -
11:34 AM Revision 2eec5260 (git): bootstraptest/test_insns.rb: test opt_nil_p
-
11:19 AM Revision 076f3fcf (git): Extend sleep before sending USR1 in TestProcess
- because the test seems to hang there forever:
https://travis-ci.org/ruby/ruby/jobs/566409880 -
10:42 AM Revision cb848244 (git): Add a test for opt_nil_p
-
08:48 AM Bug #5357: Indentation of nested operators should nest
- The ruby-mode.el in Emacs 26 seems to indent as the first example.
-
01:24 AM Bug #5357 (Closed): Indentation of nested operators should nest
- `ruby-mode.el` was dropped in commit:f03e68edb80dca962290d1fb3a6d49dabdbb911e.
-
07:40 AM Revision 1549fbfd (git): Use predefined idTo_proc
-
07:35 AM Revision d4884641 (git): Use predefined idOr
-
07:19 AM Revision fd0e3bd2 (git): fix VC 2013 compile error
- It seems the compiler does not support VLAs.
See also: https://ci.appveyor.com/project/ruby/ruby/builds/26392589/job/px6nuiuw4e78weg1 -
07:06 AM Revision 3a6f51ee (git): introduce ar_hint_t.
- Hash hint for ar_array is 1 byte (unsigned char). This patch introduce
ar_hint_t which represents hint type. - 07:04 AM Revision e18e7852 (git): * expand tabs.
-
07:00 AM Revision 19d3c80e (git): calc_lineno(): add assertions
- This function has a lot of assumptions. Should make them sure.
-
07:00 AM Revision 5d33f787 (git): fix tracepoint + backtrace SEGV
- PC modification in gc_event_hook_body was careless. There are (so
to say) abnormal iseqs stored in the cfp. We have to check sanity
before we touch the PC.
This has not been fixed because there was no way to (ab)use the
setup from pur... - 05:27 AM Revision d2f8e03f (git): * expand tabs.
-
05:25 AM Revision f45bb760 (git): signal.c: make signame_prefix a nul-terminated string
- gcc 9.1.0 warns this.
```
signal.c:258:46: warning: '%.*s' directive argument is not a nul-terminated string [-Wformat-overflow=]
258 | rb_raise(rb_eArgError, "unsupported signal `%.*s%"PRIsVALUE"'",
| ... -
02:58 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- Thank you for your detailed comment.
dalehamel (Dale Hamel) wrote:
> I can recommend some resources, I might suggest this excerpt of [my own writing on this](https://bpf.sh/usdt-report-doc/index.html#adding-usdt-support-to-a-dynamic-... -
02:12 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- Thanks for the reply and your work on TracePoints, Koichi.
> I need to study USDT...
I can recommend some resources, I might suggest this excerpt of [my own writing on this](https://bpf.sh/usdt-report-doc/index.html#adding-usdt-s... -
02:22 AM Revision 74638671 (git): use internal_id.
- "hash_iter_lev" can be exported by Marshal.dump and it will
introduce inconsistency. To avoid this issue, use internal_id
instead of normal ID. This issue is pointed out by Chikanaga-san. -
01:26 AM Bug #5368 (Closed): ensure節でsleepするようなThreadがあるとインタプリタが終了しない
-
01:02 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
- Attached is a patch to implement `Numeric#exact?`. This returns true for Integer and Rational, and false for Float and BigDecimal. For Complex, it returns true if the real and imaginary parts are both true, and false otherwise (one rea...
-
12:12 AM Revision 67f7e5a2 (git): Compact ensure clause and rename variables to fix alignment
07/31/2019
- 11:36 PM Revision 31ec475a (git): Update object.c
- Co-Authored-By: Takashi Kokubun <takashikkbn@gmail.com>
-
11:26 PM Feature #15902 (Closed): Add a specialized instruction for `.nil?`
- I pushed this as 9faef3113fb4331524b81ba73005ba13fa0ef6c6
We found it decreased our app boot time by ~1.8 seconds (which is not large percentage wise, but definitely measurable). I tested by booting our app in production mode 50 time... - 11:21 PM Revision 714924fd (git): * expand tabs.
-
11:21 PM Revision 9faef311 (git): Add a specialized instruction for `.nil?` calls
- This commit adds a specialized instruction for called to `.nil?`. It is
about 27% faster than master in the case where the object is nil or not
nil. In the case where an object implements `nil?`, I think it may be
slightly slower. Her... -
08:59 PM Revision 117241b3 (git): make inline functions from macros.
-
08:50 PM Revision bd1052d5 (git): use hash_ar_table_set() directly
-
08:48 PM Revision deddc804 (git): HASH_ASSERT() respects HASH_DEBUG
-
08:21 PM Revision 43d74776 (git): check hash_hint is different.
-
08:16 PM Revision a1a198d0 (git): File.realpath can raise ENOTDIR
-
07:56 PM Bug #4436: FileUtils verbose mode prints output to stderr
- After a more thorough review, `fu_output_message` is only called in verbose mode. You can get the behavior you want via:
```ruby
FileUtils.instance_variable_set(:@fileutils_output, $stdout)
```
before calling other methods on Fil... -
07:27 PM Feature #16031: Raise ArgumentError when creating Time objects with invalid day of month, instead of rolling into next month
- Perhaps, an option to chose between the two kinds of behavior may be useful for both `Date` and `Time`. Something like `exception:` (`true` raises exception) or `rollover:` (`true` suppresses exception).
-
03:18 PM Feature #16031 (Open): Raise ArgumentError when creating Time objects with invalid day of month, instead of rolling into next month
- When parsing an invalid date, like February 31 or November 31, I get different results from Date and Time classes.
``` ruby
require 'date'
require 'time'
Date.strptime('2019-02-31', '%Y-%m-%d')
# Traceback (most recent call last):... -
06:51 PM Feature #15631: Let round_capa for ID table not allocate excess capacity for power of 2 ints >= 4
- I run several benchmark suites for both patches
https://github.com/ruby-bench/ruby-bench-suite
https://github.com/schneems/derailed_benchmarks
but all differences were within margin of error. Here's an optimized assembly comparsion ... -
06:41 PM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
- Attached is a patch to remove the warning and change the behavior, as well as update the tests and specs so that `eval("[__FILE__, __LINE__]", binding)` returns `["(eval)", 1]`.
-
05:34 PM Revision 5ad2dfd8 (git): Revert "Let prev EP move"
- This reverts commit e352445863588b90f7af6cdf6c1b6dc432ee33ab.
This is breaking CI and I'm not sure why yet, so I'll revert for now. - 04:43 PM Revision 8d138e97 (git): * 2019-08-01
-
04:42 PM Revision e3524458 (git): Let prev EP move
- This commit allows the previos EP pointer to move, then updates its
location -
03:52 PM Bug #15290 (Closed): load_from_binary Bus error on Solaris sparc
-
03:45 PM Bug #15290: load_from_binary Bus error on Solaris sparc
- Hi,
I just installed Ruby 2.5.5 and indeed the problem is no longer reproducible.
I thus believe that this issue is fixed.
-
03:11 PM Bug #15726 (Closed): Error compiling Ruby
-
01:32 PM Bug #15726: Error compiling Ruby
- Okay, I'm sorry for the noise here. Actually this was a setup problem.
As for the strange file names, this was due to the fact that I was using Fish as the shell to compile Ruby ; switching to Bash fixed the problem.
As for the `ar... -
02:58 PM Bug #15823: ARGF.lineno behavior and documentation disagree
- ruby_2_5 r67722 merged revision(s) 374c8f4ebab1a740990330c732b9de965c5e8d10.
-
02:15 PM Bug #15823: ARGF.lineno behavior and documentation disagree
- ruby_2_6 r67719 merged revision(s) 374c8f4ebab1a740990330c732b9de965c5e8d10.
- 02:58 PM Revision 0e383688 (git): merge revision(s) 374c8f4ebab1a740990330c732b9de965c5e8d10: [Backport #15823]
- Fixed about ARGF.lineno
[Bug #15823]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@67722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 PM Bug #15887: Process.argv0 can return bad values in Ruby 2.5
- ruby_2_6 r67721 merged revision(s) ea42423908ed055f9039b1dce6e9a232a3b2dd90.
-
02:47 PM Revision 86c338d6 (git): merge revision(s) ea42423908ed055f9039b1dce6e9a232a3b2dd90: [Backport #15887]
- Keep vm->orig_progname alive
`vm->orig_progname` can be different from `vm->progname` when user
code assigns to `$0`. While `vm->progname` is kept alive by the
global table, nothing marked `vm->orig_progname`.
... -
02:32 PM Bug #15821: ruby_process_options() may cause "WB miss (O->Y)"
- ruby_2_6 r67720 merged revision(s) b165bedcbd41d791a85fc1ce90b57a0d0525f319,ac00bdc8a8ac2c62a94dd36a7784d15bbcb7df19.
-
02:32 PM Revision 09b8eddc (git): merge revision(s) b165bedcbd41d791a85fc1ce90b57a0d0525f319,ac00bdc8a8ac2c62a94dd36a7784d15bbcb7df19: [Backport #15821]
- skip a test to pass CIs.
I'm debugging [Bug #15821] but my patch introduces another issue.
So I simply skip this test and re-enable it later.
Do not modify shared array
[Bug #15821]
git-svn-id: svn+ssh... -
02:14 PM Revision 9e4ab409 (git): merge revision(s) 374c8f4ebab1a740990330c732b9de965c5e8d10: [Backport #15823]
- Fixed about ARGF.lineno
[Bug #15823]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:10 PM Bug #15786: numbered parameterを使ったprocのparametersに記号が現れる
- ruby_2_6 r67718 merged revision(s) d0ba4abf1a00339ebbb5d405db3240a8bdb7b68b,54eac83b2ad77ddea84fa6d66c09e0bb014cf61e.
-
02:10 PM Revision 41d6bc37 (git): merge revision(s) d0ba4abf1a00339ebbb5d405db3240a8bdb7b68b,54eac83b2ad77ddea84fa6d66c09e0bb014cf61e: [Backport #15786]
- Add RB_ID_SERIAL_MAX
Hide internal IDs
* parse.y (internal_id): number the ID serial for internal use by
counting down from the neary maximum value, not to accidentally
match permanent IDs.
... -
02:03 PM Bug #15769: Backport r67563: SNI is not enabled in Net::IMAP
- ruby_2_5 r67717 merged revision(s) 67563.
- 02:02 PM Revision 402bf6d5 (git): merge revision(s) 67563: [Backport #15769]
- Support SNI (Reapplying r67488)
This fixes connecting using TLS 1.3 to imap.gmail.com
[Fix GH-2077] [Feature #15594]
From: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
git-svn-id: svn+ssh://ci.ruby-lang.o... -
11:46 AM Revision c94cc6d9 (git): run single spec [ci skip]
-
10:55 AM Revision 835fa9e5 (git): test/ruby/test_hash.rb: remove a unused vrible
- to suppress a warning
-
10:51 AM Revision 4562c130 (git): lib/bundler/shared_helpers.rb: remove require "rubygems"
- Because it causes circular require.
-
10:51 AM Feature #15912: Allow some reentrancy during TracePoint events
- Hi Koichi! Thanks for answering.
So, you mean to allow the reentrancy (TracePoint events being triggered from inside TracePoint handlers) if the TracePoint API user requests so? I guess that would work, I could call `tp.reopen {}` bef... -
09:45 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #15778] caller_locations(debug: true) to access bindings of the stack.
* Can we introduce the API? If not, why not? If not, please propose a way to support such functionality on other Ruby implementations (e.g., JRuby, Truf... -
03:49 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #16029] Expose fstring related APIs to C-extensions
-
09:37 AM Feature #15778: Expose an API to pry-open the stack frames in Ruby
- ko1 (Koichi Sasada) wrote:
> I heard that one advantage that current `debug_inspector` gem has is we can declare the usage of this API in Gemfile. It means that we can avoid some kind of vulnerable feature in production explicitly.
I... -
09:06 AM Revision e432f5da (git): Split in two spec examples
-
09:04 AM Revision eab6c534 (git): Attempt to fix Hash#rehash spec
-
08:45 AM Revision 14eede6e (git): Fix `Leaked thread`
- Sometimes `Leaked thread: Rinda::TestRingServer#test_ring_server_ipv6_multicast` happens
because `Rinda::TupleSpace#start_keeper` runs after stopping `@keeper`. -
07:29 AM Bug #16030 (Closed): test_memsize fails on x32 ABI: Unsupported RVALUE_SIZE=24
- Tests fail on Debian's build system for the x32 ABI port for `ruby-2.5` over a single issue:
https://buildd.debian.org/status/package.php?p=ruby2.5&suite=sid#problem-6
```
1) Failure:
TestTime#test_memsize [/<<PKGBUILDDIR>>/test/ru... -
06:14 AM Revision 40651cf1 (git): delete a check on bad assumption.
- If object was modified, but there is a case that
hash values (#hash) are same between before modified
and after modified objects. -
06:14 AM Revision 5f95edb7 (git): check SystemStackError
- This recursive iteration test can cause SystemStackError so
check it correctly. -
06:14 AM Revision cac44def (git): backtrace can be nil.
- Surprisingly, on SystemStackError#backtrace can return nil.
-
06:14 AM Revision efac0a23 (git): Revert "add debug code"
- This reverts commit e83ec207cd5fda973c41d6629d8504b515522b12.
-
05:35 AM Revision 06574ad9 (git): test/ruby/test_float.rb: suppress an overflow warning
- ```
warning: Float 0xf.fp10000000000000... out of range
``` -
04:42 AM Bug #15994: irb miscalculates nest level when typing do keyword
- Posted: https://github.com/ruby/irb/issues/21
-
04:21 AM Bug #15993: 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir
- @ko1: I can check whether this bug is reproducible. But I'm not too familiar with how Ruby deals with the Windows file system. So I'm not confident I will be able to find and fix this bug.
-
03:46 AM Revision e83ec207 (git): add debug code
-
02:52 AM Revision 816e5055 (git): test/ruby/test_io.rb (test_binmode_pipe): close all pipes explicitly
- to suppress the leak checker.
-
02:46 AM Revision 1d02832b (git): test/rdoc/test_rdoc_rubygems_hook.rb: suppress deprecation warning
-
02:46 AM Revision 823adea9 (git): test/ruby/test_file_exhaustive.rb: suppress method-redefined warning
-
02:32 AM Revision 31287969 (git): move macro to internal.h for documentation.
- 13e84d5c0a changes enum to macro, but the flags usage information
are lost in internal.h. It should be same place with other flags
information. -
02:27 AM Revision 4979ba38 (git): test/rubygems/test_gem_remote_fetcher.rb: suppress deprecation warnings
-
02:08 AM Revision 13e84d5c (git): Moved RHASH_LEV_MASK and turned into a macro
- Get rid of "ISO C restricts enumerator values to range of 'int'"
error. -
01:22 AM Feature #15602 (Closed): Eliminate recording full-width hash value for small Hash - Applied in changeset commit:git|72825c35b0d8b9d566663de961fddbf4f010fff7.
----------
Use 1 byte hint for ar_table [Feature #15602]
On ar_table, Do not keep a full-length hash value (FLHV, 8 bytes)
but keep a 1 byte hint from a FLHV (lo... - 01:22 AM Revision e315f3a1 (git): * expand tabs.
-
01:06 AM Feature #16029 (Closed): Expose fstring related APIs to C-extensions
- As discussed with @tenderlove here: https://github.com/ruby/ruby/pull/2287#issuecomment-513865160
We'd like to update various data format parsers (JSON, MessagePack, etc) to add the possibility to deduplicate strings while parsing.
... - 12:52 AM Revision 72825c35 (git): Use 1 byte hint for ar_table [Feature #15602]
- On ar_table, Do not keep a full-length hash value (FLHV, 8 bytes)
but keep a 1 byte hint from a FLHV (lowest byte of FLHV).
An ar_table only contains at least 8 entries, so hints consumes
8 bytes at most. We can store hints in RHash::ar_... - 12:44 AM Revision ebd398ac (git): remove RHash::iter_lev.
- iter_lev is used to detect the hash is iterating or not.
Usually, iter_lev should be very small number (1 or 2) so
`int` is overkill.
This patch introduce iter_lev in flags (7 bits, FL13 to FL19)
and if iter_lev exceeds this range, save...
07/30/2019
-
11:47 PM Revision 4afd8975 (git): File.exists? is deprecated.
-
11:47 PM Revision 3e4e8dbe (git): Uninstall ntlm-http and plist for failure of osx test.
- It contains too old configuration that is autorequire. It will be
removed at the RubyGems 3.1.0. -
11:47 PM Revision 77c0e23b (git): [rubygems/rubygems] Partly reverted be962ca0c411f3b4bcfebfb6e714c78cbad12775
- * `Gem::ConfigMap` is still used by Bundler.
* `Gem::RubyGemsVersion` is also still referred by the old gems.
https://github.com/rubygems/rubygems/commit/249c3ff44f -
11:47 PM Revision 2a81d3a2 (git): [rubygems/rubygems] Skip integration test for rake package task.
- https://github.com/rubygems/rubygems/commit/ca8afc01a3
- 11:47 PM Revision ab8d9a53 (git): [rubygems/rubygems] Initialize '@ran_rake' correctly, so we don't have to set it up later and cause confusion
- https://github.com/rubygems/rubygems/commit/6ec3ba983c
- 11:47 PM Revision 5824981d (git): [rubygems/rubygems] Remove extension 'double pipe equals' assigment since is not needed anymore
- https://github.com/rubygems/rubygems/commit/930de86a24
- 11:47 PM Revision b73ad499 (git): [rubygems/rubygems] Move 'build_for' to handle extension type before the extension is used
- https://github.com/rubygems/rubygems/commit/2a32c5ef0a
- 11:47 PM Revision 9dc0f39d (git): [rubygems/rubygems] Do not pass +build_dir+ argument to build_error
- https://github.com/rubygems/rubygems/commit/107fea3432
- 11:47 PM Revision d97fc48e (git): [rubygems/rubygems] Remove useless param +build_dir+
- https://github.com/rubygems/rubygems/commit/0402974149
- 11:47 PM Revision a51661d3 (git): [rubygems/rubygems] Drop support for 'gem env packageversion'
- https://github.com/rubygems/rubygems/commit/be962ca0c4
-
11:47 PM Revision 62e2b2e6 (git): [rubygems/rubygems] Improve `rake package` test error message
- https://github.com/rubygems/rubygems/commit/be962ca0c4
-
11:47 PM Revision 61893ddf (git): [rubygems/rubygems] Get `rake package` tested
- https://github.com/rubygems/rubygems/commit/006cdd4084
-
11:47 PM Revision bb6bd7e9 (git): [rubygems/rubygems] Generate a licenses.rb file with correct style
- https://github.com/rubygems/rubygems/commit/469fceeb2f
-
11:47 PM Revision 497efa0e (git): [rubygems/rubygems] Enable `Layout/AlignArray` cop
- https://github.com/rubygems/rubygems/commit/1ea674d8f7
-
11:47 PM Revision 0817d957 (git): [rubygems/rubygems] Enable `Layout/EmptyLinesAroundAccessModifier`
- https://github.com/rubygems/rubygems/commit/41b1cebc33
- 11:47 PM Revision 3cc814bd (git): [rubygems/rubygems] Remove warning: shadowing outer local variable - spec
- https://github.com/rubygems/rubygems/commit/70c5c17a5f
- 11:47 PM Revision 33025d97 (git): [rubygems/rubygems] Make error code a constant and remove TODO comment
- https://github.com/rubygems/rubygems/commit/3d6c7c92e4
- 11:47 PM Revision a3b784b3 (git): [rubygems/rubygems] Move default specifications dir definition out of BasicSpecification.
- This was never the right place. The method got there just by evolution,
not by design. Move it within default methods, where it suits better.
Since this method is presumably used just internally, it should be safe
to deprecate it and re... -
11:47 PM Revision d1806bd8 (git): [rubygems/rubygems] There is no usage of @orig_env_* variables in test suite.
- https://github.com/rubygems/rubygems/commit/2adef51dc9
-
11:47 PM Revision a3c0ea55 (git): [rubygems/rubygems] Ignore GEMRC variable for test suite. It affects with some test case.
- https://github.com/rubygems/rubygems/commit/4a0ca2583a
- 11:47 PM Revision 1eaacb1e (git): [rubygems/rubygems] Use File#open instead of Kernel#open
- https://github.com/rubygems/rubygems/commit/bfb3f67494
- 11:47 PM Revision 41dd9f7e (git): [rubygems/rubygems] Deprecate Gem::RemoteFetcher#fetch_size
- https://github.com/rubygems/rubygems/commit/c2049c3276
- 11:47 PM Revision a34168f2 (git): [rubygems/rubygems] Autorequire was used by old RubyGems, it is neither supported nor functional.
- https://github.com/rubygems/rubygems/commit/cadb66037d
-
11:47 PM Revision a2f0331c (git): [rubygems/rubygems] Simplify #to_ruby code
- Separate #add_runtime_dependency and #add_development_dependency
availability condition from #specification_version availability,
which is not related to directly.
Also check if the former method is available, instead of comparing
the ve... - 11:47 PM Revision 5947ea31 (git): [rubygems/rubygems] Missing dependency
- https://github.com/rubygems/rubygems/commit/79b62c233a
- 11:47 PM Revision 0d596c1a (git): [rubygems/rubygems] Making Gem::S3URISigner.sign method smaller with helper methods
- https://github.com/rubygems/rubygems/commit/2a96494d91
- 11:47 PM Revision 74419711 (git): [rubygems/rubygems] Use default value for expiration in the method signature
- https://github.com/rubygems/rubygems/commit/1372e50c17
- 11:47 PM Revision aa9015dd (git): [rubygems/rubygems] Moving rubygems/request dependencies into ec2_metadata
- https://github.com/rubygems/rubygems/commit/6a1856517f
- 11:47 PM Revision 4a8c2dd4 (git): [rubygems/rubygems] Extracting sign_s3_url & s3_source_auth into a separate S3URISigner class
- https://github.com/rubygems/rubygems/commit/c30d21ec7a
- 11:47 PM Revision 1dfe132a (git): [rubygems/rubygems] Move TODO comment to an information comment
- https://github.com/rubygems/rubygems/commit/853ecdd417
- 11:47 PM Revision 70811856 (git): [rubygems/rubygems] Remove unused 'raise' from test_case
- https://github.com/rubygems/rubygems/commit/2481efcb37
- 11:47 PM Revision eb35124c (git): [rubygems/rubygems] Remove TODO comment, there's no Gem::Dirs constant
- https://github.com/rubygems/rubygems/commit/4bacf577f1
- 11:47 PM Revision 60d3f9ef (git): [rubygems/rubygems] Remove useless TODO comment
- https://github.com/rubygems/rubygems/commit/44bc809dc8
- 11:47 PM Revision bd78eabc (git): [rubygems/rubygems] Addressing PR comments
- https://github.com/rubygems/rubygems/commit/fb62d3043c
- 11:47 PM Revision b2a54744 (git): [rubygems/rubygems] check_version_conflict don't have a 'dep' variable available for use
- https://github.com/rubygems/rubygems/commit/1783cf0fd3
- 11:47 PM Revision 56801d45 (git): [rubygems/rubygems] Remove missleading comment, no reason to move Gem.host to Gem::Util
- https://github.com/rubygems/rubygems/commit/e12c98aa72
- 11:47 PM Revision ff214e92 (git): [rubygems/rubygems] Remove useless comment in exceptions.rb
- https://github.com/rubygems/rubygems/commit/d7ad696fa2
- 11:47 PM Revision 6bd77723 (git): [rubygems/rubygems] Rename Gem::Package.metadata to Gem::Package.raw_spec
- https://github.com/rubygems/rubygems/commit/a76f25dff0
- 11:47 PM Revision 38daeded (git): [rubygems/rubygems] Upgrading S3 source signature to AWS SigV4
- https://github.com/rubygems/rubygems/commit/f289788ca5
- 11:47 PM Revision 688ccc96 (git): [rubygems/rubygems] Move metadata method to Gem::Package
- https://github.com/rubygems/rubygems/commit/2c9cfcb666
-
11:47 PM Revision 8103d46a (git): [rubygems/rubygems] Add a package attr_reader to Gem::Installer.
- Add some basic specs for the package attr_reader.
https://github.com/rubygems/rubygems/commit/68af2a0ee3 - 11:47 PM Revision 6be927ff (git): [rubygems/rubygems] Remove missleading TODO comment. Can't use @parser.accept since not
- every class where this is used has a parser available. i.e lib/rubygems/install_update_options.rb
https://github.com/rubygems/rubygems/commit/519fd4dcc0 - 11:47 PM Revision c421ef11 (git): [rubygems/rubygems] Move gemcutter utilities code to Gem::Command
- https://github.com/rubygems/rubygems/commit/f296645033
- 11:47 PM Revision 5eacb4c5 (git): [rubygems/rubygems] Remove conflict.rb code that was supposed to be removed in Rubygems 3
- https://github.com/rubygems/rubygems/commit/6d5f743a89
- 11:47 PM Revision a7bce011 (git): [rubygems/rubygems] Remove unnecessary &&= operator
- https://github.com/rubygems/rubygems/commit/a10b5265d7
- 11:47 PM Revision 8b91a6d0 (git): [rubygems/rubygems] Remove unnecessary TODO comment
- https://github.com/rubygems/rubygems/commit/ad7e379f79
-
11:47 PM Revision df0b41fc (git): [rubygems/rubygems] Explicitly deprecate `rubyforge_project`
- https://github.com/rubygems/rubygems/commit/9094740109
-
11:47 PM Revision 0ca494fc (git): [rubygems/rubygems] Silence deprecations when gemdeps is used in tests
- Because we can't control 3rd party gems using deprecated rubygems
behavior, and thus outputting warnings to the screen.
https://github.com/rubygems/rubygems/commit/6912ebf20a -
11:47 PM Revision 05ae2c11 (git): [rubygems/rubygems] Do not replace the cache entry if there is already one
- * That way, multiple lookups for the same file always return the same object.
https://github.com/rubygems/rubygems/commit/50a431b6db -
11:47 PM Revision 2453d16f (git): [rubygems/rubygems] Synchronize access to the Gem::Specification::LOAD_CACHE Hash
- * It's accessed concurrently, notably when installing a gem with a C extension.
https://github.com/rubygems/rubygems/commit/543294d7dd - 11:47 PM Revision 89bd1df8 (git): [rubygems/rubygems] Add a blank line after private to be consistent with the current style
- https://github.com/rubygems/rubygems/commit/df7c0e4223
- 11:47 PM Revision 673ef894 (git): [rubygems/rubygems] Return early if filename is empty
- https://github.com/rubygems/rubygems/commit/1b9ab33083
- 11:47 PM Revision d74ea2ee (git): [rubygems/rubygems] Simplify config_file_name assigment
- https://github.com/rubygems/rubygems/commit/1b3154f905
- 11:47 PM Revision 6c517063 (git): [rubygems/rubygems] Lazy require stringio
- https://github.com/rubygems/rubygems/commit/82f0d4ca69
- 11:47 PM Revision 7990d8dc (git): [rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if available
- https://github.com/rubygems/rubygems/commit/471239f1fa
- 11:47 PM Revision 6f60ead7 (git): [rubygems/rubygems] Move config_file_name logic to its own method
- https://github.com/rubygems/rubygems/commit/ac4596aace
-
11:47 PM Revision d64cc80b (git): [rubygems/rubygems] Migrate extension builder to use Open3
- Since it works on jruby.
https://github.com/rubygems/rubygems/commit/5229e00df4 -
11:47 PM Revision 4e27319c (git): [rubygems/rubygems] Remove unused method
- https://github.com/rubygems/rubygems/commit/f2dbf242ea
-
10:30 PM Misc #15723: Reconsider numbered parameters
- Eregon (Benoit Daloze) wrote:
>
> ...
What about those of us who don't like the current trend in Ruby of turning everything into a shorter, harder-to-grok jumble of non-alphanumeric symbols? Or is that just me?
WRT the issue at ha... -
06:59 PM Misc #15723: Reconsider numbered parameters
- shevegen (Robert A. Heiler) wrote:
First, it's Benoit (my first name) or Eregon/eregon, but not `benoit`.
I think it's perfectly fine to include a proposal in addition to the summary, and have that to guide the discussion at the me... -
03:34 PM Misc #15723: Reconsider numbered parameters
- I think we have quite a bit of repetitive statements going on here. I'll not write too much,
but instead I should like to point out that mame started another thread in regards to the
single argument situation (such as "it") versus mul... -
10:15 PM Bug #15727 (Closed): [BUG] Segmentation fault at 0x0000000000000000 ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
-
09:47 PM Bug #16023: json/add/core isn't complete
- I'm not sure why it's in the standard library if it isn't the standard library, but sure.
-
08:55 PM Bug #15551: The behavior of FIX2INT and FIX2UINT differs by platform
- I consider this an implementation detail and not a bug. I'm guessing the reason for this behavior is if `sizeof(int) == sizeof(long)`, then all Fixnums are convertible to int (since all Fixnums are convertible to long). This is differen...
-
08:49 PM Bug #12989 (Closed): Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
- Applied in changeset commit:git|ebc99e026d0ae770b297a93d1f1c1ceeffd13bfc.
----------
Do not change IO.pipe encodings if encodings explicitly given
This commit makes it so that if the binmode option is given with
any encoding arguments,... -
09:37 AM Bug #12989: Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
- jeremyevans0 (Jeremy Evans) wrote:
> Here's an updated patch based on tenderlove's original patch that does not change the encoding of the returned IO objects if encoding arguments are given in addition to the `binmode` option. Is this ... -
08:04 AM Bug #12989 (Assigned): Passing `binmode: true` to `IO.pipe` makes `binmode?` return `true` but encoding is not binary
- 08:49 PM Revision a4c09342 (git): * expand tabs.
-
07:12 PM Revision ebc99e02 (git): Do not change IO.pipe encodings if encodings explicitly given
- This commit makes it so that if the binmode option is given with
any encoding arguments, the reader and writer IO objects are
not set to binary encoding.
Fixes [Bug #12989] - 07:03 PM Revision d8562ab2 (git): Passing `binmode: true` to `IO.pipe` should behave like `binmode`
- When passing `binmode: true` to `IO.pipe`, it should behave the same way
as calling `binmode` on each of the file handles. It should set the
file to binmode *and* set the encoding to binary on the file.
Before this commit, passing `bin... -
07:00 PM Bug #14485 (Closed): For File#path.tainted? and File#to_path.tainted? should match original.tainted?
- Applied in changeset commit:git|a50bc9f3c8e0696ede25305c03eadecc543b863b.
----------
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:00 PM Revision 369c36ef (git): * 2019-07-31
-
06:55 PM Revision a50bc9f3 (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:32 PM Feature #15973: Let Kernel#lambda always return a lambda
- akr (Akira Tanaka) wrote:
> The lambda-ness of Proc object affects control flow: the behavior of "return" and "break".
> ...
I think everyone can agree with that. The issue I guess is **should it be allowed to define a lambda using blo... -
01:31 PM Feature #15973: Let Kernel#lambda always return a lambda
- I agree with @akr here, as long as `lambda` with a block argument warns.
We need to keep compatibility. But I think we should warn this inconsistent behavior.
Matz. -
08:08 AM Feature #15973 (Assigned): Let Kernel#lambda always return a lambda
- does anyone can write a discussion summary? :p
-
04:04 PM Bug #14834 (Open): rb_profile_frames SEGV when PC adjusted on IFUNC
- I believe since r64737 this is an issue again.
On Ruby 2.6.3 I get an almost identical stacktrace as before
```
Thread 1 "ruby" received signal SIGSEGV, Segmentation fault.
0x00005555555cac9e in succ_index_lookup (x=<optimized ou... -
01:35 PM Bug #12961: Bad value for range using infinity for Date or Time
- So we only need to fix `Date` class. I don't think we should enhance Time ranges to support Integer/Float.
Matz.
-
08:50 AM Bug #12961: Bad value for range using infinity for Date or Time
- matz (Yukihiro Matsumoto) wrote:
> Since both `Time` and `Date` work with float numbers at the other ends of the ranges, it should accept `Float::INFINITY` as well.
> ...
It looks only Date supports float number. -
01:26 PM Feature #16011 (Rejected): Digit grouping
- I agree with @duerst and @Hanmac
It's handy but it cannot be in the standard library.
Matz. -
07:56 AM Feature #16011 (Assigned): Digit grouping
-
12:16 PM Revision ceb9e276 (git): Shorten dependency hint [ci skip]
-
12:15 PM Revision f3b0ed3f (git): Try giving up `brew update` in Azure as well
- homebrew-cask fetch fails too often.
https://dev.azure.com/rubylang/ruby/_build/results?buildId=1917 -
11:30 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Feature #15868] Implement `File.absolute_path?`
-
08:42 AM Misc #15996: DevelopersMeeting20190829Japan
- Triage:
* [Feature #15998] Allow String#-@ to deduplicate tainted string, but return an untainted one
* taint removal schedule
* [Feature #15123] Enumerable#compact proposal
* [Feature #15854] Tracing instance variable assignment
... -
04:32 AM Misc #15996: DevelopersMeeting20190829Japan
- * [Misc #15723] Reconsider numbered parameters
* Reading from description, I think there are a few supporters of removing `@1`, `@2` in favor of just having `@` refer to the first argument.
* I also believe having just `@` is enoug... -
11:20 AM Misc #16025: 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
- k_takata (Ken Takata) wrote:
> 2\. Remove `st_check_for_sizeof_st_index_t`
> ...
This failure means the size of `st_index_t` doesn't equal the size of `void*`, so this check was not redundant actually. -
08:23 AM Misc #16025 (Assigned): 'st_check_for_sizeof_st_index_t' declared as array with a negative size (emscripten)
-
09:43 AM Bug #9529 (Third Party's Issue): TarHeader (Gem::Package) doesn't parse size correctly for +8GB entries
- I'm not sure what usecase of this issue.
Can you file the details into the upstream repository? https://github.com/rubygems/rubygems
Thanks. -
09:38 AM Bug #6702 (Rejected): Date should be either required or not
- This issue was too old. If anyone still has an issue, Please report the new issue.
-
08:38 AM Feature #16027 (Assigned): Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- I need to study USDT...
* I think dtrace feature is useful because they can operate *outside* of process (do not need to modify observed process). However, your proposal seems to introduce new Ruby APIs to enable them. What do you th... -
12:32 AM Feature #16027: Update Ruby's dtrace / USDT API to match what is exposed via the TracePoint API
- Hi Martin,
> Do you have any parts implemented already
Yes,I have a prototype gem that adds StaticTracing.tracepoint as a way to define
a stub library that can be used for a debugger (dtrace/bpftrace) to attach
to, similar to the... -
08:34 AM Bug #15490 (Third Party's Issue): socket.rb - recurring segmentation faults
-
08:34 AM Bug #15639 (Third Party's Issue): [BUG] Segmentation fault at 0x000000010e82ca3a
-
08:26 AM Bug #16000 (Closed): How to avoid the need for updating dependencies manually
- Applied in changeset commit:git|e25088488bbf7b4bf1be19e57ee5fba41ad6f21c.
----------
Hint for the dependency update [Bug #16000] -
08:23 AM Revision e2508848 (git): Hint for the dependency update [Bug #16000]
-
08:13 AM Feature #15955: UnboundMethod#apply
- > In fact, TruffleRuby does it for such a pattern.
I wonder that people use this pattern! (I'd never used it except test). -
08:13 AM Feature #16012 (Assigned): Add a (small) test-install suite?
-
07:54 AM Bug #10466 (Assigned): rb_eval_string_wrap does not actually wrap in a module binding
-
07:51 AM Feature #15923 (Rejected): New independent string without memcpy
- I didn't all comments, but it seems solved.
Please reopen it if it is my mistake.
-
07:45 AM Feature #15902: Add a specialized instruction for `.nil?`
- All right, go ahead.
-
07:44 AM Revision 47144f91 (git): Separate VCS::GIT#upstream
-
07:44 AM Bug #10919 (Assigned): [gem install] installs multipe platforms
-
07:30 AM Bug #15620 (Assigned): Block argument usage affects lambda semantic
-
07:26 AM Feature #16001: Provide an alias to Kernel#caller_locations(1,1) and Kernel#caller(1,1)
- * maybe it should be an alias of `caller_locations(1, 1).first`.
* do you know good name on it? `caller_location(n=1)`, for example?
* do people use it on performance important places? I assume it is debugging method. Other than debugg... -
07:07 AM Feature #14145: Proposal: Better Method#inspect
- > My motivation is that selection by double-clicking in the terminal just works with a space,
Good motivation! -
05:39 AM Bug #15977: Unobvious result value from #next_rotate_time and #previous_period_end methods of Logger::Period module
- I feel raising an ArgumentError for invalid value is the way to fix. It breaks backward behavior, but it is probably acceptable and a correct way to handle an invalid value.
-
04:23 AM Feature #15865: `<expr> in <pattern>` expression
- Alongside pattern matching in case statements, single line pattern matching must be useful too. I understand some are not fully satisfied with `in` operator, but it is a very tough compromise. Introducing a new keyword could break many e...
-
04:23 AM Bug #10006 (Rejected): instance_exec uses incorrect binding with curried proc
- I'm for the first interpretation of @jeremyevans0 . The semantics is simple and clear.
If `instance_eval` affects the context of curried proc, we need to decide how to handle an intermediate call to `instance_eval` that does not invo... -
04:08 AM Feature #15897: `it` as a default block parameter
- I'm against on this proposal because of compatibility issue.
I think current workaround introduces new confusion. -
04:04 AM Misc #15802: Reduce the minimum string buffer size from 127 to 63 bytes
- :)
-
04:03 AM Bug #15994 (Rejected): irb miscalculates nest level when typing do keyword
- could you make an issue on github?
https://github.com/ruby/irb -
03:58 AM Bug #10104 (Rejected): Fileutils cp_r fails on sockets or fifes even if File.mknod and File.mkfifo are defined
- continue on github issue?
-
03:54 AM Bug #15989 (Rejected): irb-1.1.0.pre.1 crashes on using arrow up, home and delete
- could you continue on github issue?
https://github.com/ruby/irb -
03:53 AM Bug #10715 (Closed): WEBrick::HTTPResponse#to_s calls send_response(), and make debugging quite difficult.
- should we continue on github issue?
-
03:47 AM Bug #11493 (Rejected): IRB/Ruby completely exits when attempting to use NoMethodError exception in BasicObject
- could you make an issue and continue to discuss on https://github.com/ruby/irb ?
Thanks,
Koichi -
03:44 AM Revision 2e6f777f (git): `/o` should not use with instance variable
- for example:
```
class C;def initialize(pat);@pat=pat;end;def re;/#{@pat}/o;end;end
C.new('1').re #=> /1/
C.new('2').re #=> /1/
``` -
03:41 AM Feature #15983 (Rejected): Can we have a similar syntax (string interpolation) the way V language has?
- > I know that Ruby has already occupied this $ character. But we can use another character which is not used in Ruby.
Please make new ticket if you have good character instead of `$`.
Thanks. -
03:39 AM Revision 3805ef7f (git): Separate test_set_lineno_gets
-
03:33 AM Feature #15964 (Assigned): Support for RFC2389 in Net::FTP
-
03:21 AM Feature #15963: Add *_start and *_running methods to VM_COLLECT_USAGE_DETAILS API
- Please list new methods to discuss.
```
existing:
rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_INSN_STOP", usage_analysis_insn_stop, 0);
rb_define_singleton_method(rb_cRubyVM, "USAGE_ANALYSIS_OPERAND_STOP", usage_... -
03:15 AM Bug #16028 (Closed): Backport r67563: SNI is not enabled in Net::IMAP
- Duplicate of #15769, which requires to be backported to also 2.4 and 2.5.
Only _closed_ ticket will be backported. -
03:01 AM Bug #14612 (Closed): IPv6 address inconsistency (downcase vs. upcase)
- Applied in changeset commit:git|1da3a31a5f0211db121e0df4ca456838a437537f.
----------
Use lowercase letters for IPv6 addresses.
Reported by chucke (Tiago Cardoso).
Patch by jeremyevans0 (Jeremy Evans).
[Bug #14612] -
02:59 AM Revision 1da3a31a (git): Use lowercase letters for IPv6 addresses.
- Reported by chucke (Tiago Cardoso).
Patch by jeremyevans0 (Jeremy Evans).
[Bug #14612] -
01:52 AM Feature #14240: warn four special variables: $; $, $/ $\
- jeremyevans0 (Jeremy Evans) wrote:
> > And non-default `$;` and `$,` are warned now.
> ...
There are tons of that warnings, and it is not easy to suppress parser warning within the given file only.
> One problem with the implementat...