Activity
From 01/30/2019 to 02/05/2019
02/05/2019
-
08:32 PM Bug #15569: TestResolvDNS#test_no_server always fails on usa's mswin environment
- usa@garbagecollect.jp wrote:
> FYI, I've never seen GREEN result of the test since last September.
> The environment is Windows10 + Visual C++ 14.0(=Visual Studio 2015).
Do you have info on which revision it started failing with?
... -
04:53 PM Feature #14915: Deprecate String#crypt
- I just read this issue and one thing confuses me...non-programmers will not see output from a webrick server will they (and only if basic auth is used)? Or is the argument that we cannot know which non-programmers use a ruby programs wh...
-
02:27 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- Hi Greg, could you please expand on your argument? Testing may start anywhere but tests should require the files they are testing, so I don't understand why autoload could make things more stable. If the tests are failing because of a mi...
-
12:50 PM Misc #15530 (Closed): [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
-
12:50 PM Misc #15530: [ANN] Upgrading bugs.ruby-lang.org to Redmine 4.0
- >Does the new version have a markup settings?
There is no specific configuration about Markdown. We need to use the new syntax. -
12:40 PM Bug #15280 (Closed): r65509 - bundler & make install, no CLI
- I believe this issue was fixed at r66384
-
12:38 PM Bug #15314 (Closed): Bundler with 2.6 fails when installing dependencies into a --path with --binstubs
-
12:15 PM Bug #15500: Behavior of require method in 2.5 is different from 2.4 and 2.6
- ruby_2_5 r67013 merged revision(s) 66867.
-
12:15 PM Revision 9b80483f (git): merge revision(s) 66867: [Backport #15500]
- Revert r58345 and r58371.
These changes break the behavior of default gems. Bug #13428 says
r58345 is reasonable because gemspec file is installed by `to_ruby_for_cache`
method. But I revert `to_ruby_for_ca... -
11:45 AM Revision 173ad520 (git): test_rinda.rb: extend timeout of wait_for as well
- https://app.wercker.com/ruby/ruby/runs/mjit-test2/5c5961adb18ed400951edeeb?step=5c596fd563e946000717df91
see also: r67003
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:19 AM Revision c1f0daeb (git): Make sure to wait with IO.select before using Socket#accept_nonblock and recvfrom_nonblock
- * On all platforms, as this is the recommended code pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:58 AM Revision 920b924e (git): Make sure to wait with IO.select before using Socket#recvfrom_nonblock
- * On all platforms, as this is the recommended code pattern.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:50 AM Revision 8552ee87 (git): Pass the Array from select() to Socket.udp_server_recv
- * As mentioned in the documentation.
* Use Array#size instead of #count, it's more common.
* Use :unset, it clarifies things if the specs fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:22 AM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
- I attached the patch of the upstream fixes.
The bundler team will ship Bundler 1.7.4/2.0.2 with this patch. -
04:58 AM Bug #15469 (Closed): Ruby2.6 included `bundler` does not handle specified `csv` gem.
- Applied in changeset trunk|r67006.
----------
Ignore to add bundler lib direcotry if it is same as rubylibdir.
[Bug #15469][ruby-core:90742] -
06:00 AM Revision af479d54 (git): README.win32: [DOC] added modeline [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 04:58 AM Revision 9d0b921a (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:58 AM Revision 0fadb484 (git): Ignore to add bundler lib direcotry if it is same as rubylibdir.
- [Bug #15469][ruby-core:90742]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:58 AM Misc #15546: DevelopersMeeting20190207Japan
- * [Feature #14609] `Kernel#p` without args shows the receiver (osyo)
* I feel this feature is very useful and some people say :+1: so let discuss about this feature. -
04:48 AM Misc #15546: DevelopersMeeting20190207Japan
- * [Feature #15374] Proposal: Enable refinements to #method_missing
* waited one month. -
04:42 AM Feature #15574: Prohibit to pass a block on super() implicitly
- duerst (Martin Dürst) wrote:
> ko1 (Koichi Sasada) wrote:
> ...
But we can explicitly pass `yield`, can't we?
I am for this proposal. -
03:27 AM Feature #15574: Prohibit to pass a block on super() implicitly
- ko1 (Koichi Sasada) wrote:
> Why don't you pass a block parameter explicitly?
> ...
Until quite recently, using an explicit block parameter was (considered to be?) less efficient than an implicit block parameter. -
02:02 AM Feature #15574: Prohibit to pass a block on super() implicitly
- marcandre (Marc-Andre Lafortune) wrote:
> Is there an actual use case for thinking about removing it (besides it being quirky)?
I assume this spec is because of historical reason. Block parameter is introduced ruby-1.1b9_01, but mayb... -
03:38 AM Bug #15585 (Third Party's Issue): Ruby 2.6.0p0 incompatible with google-protobuf C extensions
- 02:19 AM Revision 883d2d01 (git): * 2019-02-05
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:19 AM Revision c7628071 (git): Make sure to wait for socket to be readable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/04/2019
-
11:29 PM Bug #15586 (Closed): Requiring `bundler/setup` gets wrong version
- Sorry for the inconvenience. This is a duplicate of #15582, and it has been already fixed at trunk. You can also workaround the issue with this patch: https://bugs.ruby-lang.org/issues/15582#note-2
-
08:04 PM Bug #15586 (Closed): Requiring `bundler/setup` gets wrong version
- The statement 'require "bundler/setup"' always loads the version that ships with ruby (Bundler 1.17.2 as of Ruby 2.6.1), even if a newer version of Bundler is installed via RubyGems. On the other hand, requiring plain "bundler" gets the ...
-
08:50 PM Bug #15587 (Closed): Thread tests failing
- I compiled ruby with Visual Studio 2015 tools, but test is failing (#921 test_massign.rb, #1377 test_thread.rb,...)
C:\dev\build>nmake test
Microsoft (R) Program Maintenance Utility Version 14.00.24210.0
Copyright (C) Microsoft Co... -
07:24 PM Bug #15585: Ruby 2.6.0p0 incompatible with google-protobuf C extensions
- Please disregard: https://github.com/protocolbuffers/protobuf/issues/5161
-
07:19 PM Bug #15585 (Third Party's Issue): Ruby 2.6.0p0 incompatible with google-protobuf C extensions
- I discovered following this guide: https://grpc.io/docs/tutorials/basic/ruby.html#example-code-and-setup
The minimal setup to reproduce the error is the following:
1. install Ruby 2.6.0p0 and make it active (ex: `rbenv install 2.6.0`... -
06:37 PM Misc #15546: DevelopersMeeting20190207Japan
- * [Feature #15331] [PATCH] Faster hashing for short string literals
* Looking for feedback on this patch. -
06:25 PM Feature #15574: Prohibit to pass a block on super() implicitly
- I agree with Eregon that it would be a compatibility nightmare.
Moreover I rather like this quirk.
Is there an actual use case for thinking about removing it (besides it being quirky)?
I would bet that there are way more methods... -
03:38 PM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
- > Does anyone try with the attached patch?
I've also got the ideal result as follows. (with patched ruby 2.6.1)
Now there is no issue on `$LOAD_PATH`.
Thank you very much for your great work!
```
$ rbenv shell 2.6.1 && ruby --... -
12:55 PM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
- I think String#const_time_eql? is not an ideal name either.
A problem with "secure" is that it can mean different things in different contexts; on class String this
may be a bit more difficult since Strings in ruby can be so general ... -
12:19 PM Bug #15584 (Rejected): JSON parse error message too long, looks like a crash
- Please report an issue of JSON to its upstream, and it seems fixed already.
-
01:55 AM Bug #15584 (Rejected): JSON parse error message too long, looks like a crash
- When trying to parse text into JSON, parsing this specific input fills up my terminal with the content of the unzipped data. I then can't see what the error message is and it looks very much like a crash. I think there should be some lim...
-
08:20 AM Revision 190a61e3 (git): test_rinda.rb: increase timeout for --jit-wait CI
- https://app.wercker.com/ruby/ruby/runs/mjit-test2/5c57dbb6b18ed400951e3c74?step=5c57e8b963e94600070a5d61
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:17 AM Revision cc7dedfb (git): configure.ac: separate -std=gnu99 condition
- Also necessary on mingw, cygwin, darwin and netbsd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:13 AM Revision df2b8c05 (git): Show proper location for warning [Feature #15575]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 08:10 AM Revision 9acd2b20 (git): Update requirements
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:10 AM Feature #15575 (Closed): Prohibit to pass a block singleton class
- Applied in changeset trunk|r66999.
----------
check and show a warning for incorrect yield.
* compile.c (check_yield_place): this function check the yield location.
* show a warning if yield in `class` syntax. [Feature #15575]
* d... -
06:43 AM Feature #15575: Prohibit to pass a block singleton class
- Matz, Thank you for confirmation.
I add a warning (without -w) like that:
```ruby
def foo
class << Object.new
yield
end
end
foo{ p :ok } #=> :ok
```
```
test.rb: warning: `yield' in class syntax will not be suppo... -
07:10 AM Revision 0fc597f2 (git): check and show a warning for incorrect yield.
- * compile.c (check_yield_place): this function check the yield location.
* show a warning if yield in `class` syntax. [Feature #15575]
* do strict check for toplevel `yield`. Without this patch,
`1.times{ yield }` in toplevel is... -
06:28 AM Revision 8bda94f7 (git): For this may be a syntax error (instead of LocalJumpError) in Ruby 2.7
- [Fix GH-2078]
This patch is from Yutaka HARA <yutaka.hara+github@gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:12 AM Revision 0c18a3d9 (git): add debug code
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/03/2019
-
11:30 PM Revision cc1dbb61 (git): io.c: get src_size from stp. Fix r66995.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:01 PM Feature #5653: "I strongly discourage the use of autoload in any standard libraries" (Re: autoload will be dead)
- One issue that autoload helps with is stability when the code 'entry point' is not known. Many applications (eg RubyGems) are largely CLI based, but testing may start anywhere. Non-typical applications may also use something like RubyG...
-
10:28 PM Misc #15546: DevelopersMeeting20190207Japan
- * [Feature #10098] Timing-safe string comparison for OpenSSL::HMAC (bdewater)
* The feature is done (the title is old, it will be implemented in String) but blocked on picking a mehod name. I would like to ask for opinions so this can... - 09:04 PM Revision 3f0c9666 (git): * 2019-02-04
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:04 PM Revision e3fd9fa4 (git): io.c: reuse results of fstat(2) in copy functions
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/02/2019
-
11:15 AM Feature #15527: Redesign of timezone object requirements
- zverok (Victor Shepelev) wrote:
> Yes, 3 calls to `utc_offset` are kinda indirect, but the current implementation is also "indirect" in a sense it requires timezone library to calculate `Time` object but doesn't use it.
It is trivia... -
10:41 AM Revision 8cca079d (git): Fixup r66984. Update the location of bundler gemspec.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:54 AM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
- > Does anyone try with the attached patch?
I've got an expected result finally with the patch.
Thank you for great works!!!
```
$ bundle exec ruby -v test.rb
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin18]
"2.4.8"
... -
08:31 AM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
- Thanks all.
I investigate this issue with https://bugs.ruby-lang.org/issues/15469#note-4. and fixed this issue on `Bundler::SharedHelper.set_rubylib`.
Does anyone try with the attached patch? -
07:25 AM Revision 8f8b51c6 (git): README.win32: mention GIT as well as SVN
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:18 AM Revision c2781525 (git): README.win32: update required commands and platform names
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:54 AM Revision 33d02603 (git): rdoc.css: make label-list compact
- "Labeled Lists" section in lib/rdoc/markup.rb states labeled-list
will be formatted in same lines.
```
Notice that blank lines right after the label are ignored in labeled lists:
[one]
definition 1
[two]
definition 2... -
06:45 AM Bug #15583: Regex: ? on quantified group {n} is interpreted as optional, should be lazy
- Unfortunately it's expected behavior and the bug of documentation.
The upstream of Ruby's regexp, Onigmo, has such non greedy feature, but Ruby disables it.
https://github.com/k-takata/Onigmo/blob/master/doc/RE#L155-L156
It's beca... -
06:38 AM Revision fc7e1baf (git): COPYING: reformat as RDoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:38 AM Revision 009144e8 (git): NEWS: use note-list
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:38 AM Revision 3f78209c (git): README.win32: use label-list
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:34 AM Bug #15579 (Assigned): make step when building ruby 2.4.5 on AIX 7.1 results in a Segmentation fault : ruby-2.4.5/lib/rdoc/markup/parser.rb:325
-
06:21 AM Feature #11076: Enumerable method count_by
- sawa (Tsuyoshi Sawada) wrote:
> Since this feature is an inferior variant of `group_by` in the sense that it reduces the value arrays into their lengths, what about naming the method `group`?
Please not. The `_by` indicates that th... -
03:01 AM Feature #11076: Enumerable method count_by
- knu (Akinori MUSHA) wrote:
> In today's developer meeting, Matz understood the need for the feature but didn't like the name. One point he made was that existing pairs like sort/sort_by and max/max_by share their features, so count_by(... - 06:17 AM Revision b01a7a3e (git): * 2019-02-02
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:17 AM Revision 3dd0b616 (git): fix: https://twitter.com/_ko1/status/1086167481922646016
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/01/2019
-
08:56 PM Bug #15490: socket.rb - recurring segmentation faults
- I have run into a similar issue using Ruby 2.5.1 but unfortunately don't have an easy way to reproduce.
A couple of things that help mitigate it (and may be useful for finding the actual issue):
getaddrinfo is in the backtrace and ... -
06:06 PM Feature #15527: Redesign of timezone object requirements
- That's interesting problem indeed.
I'll look at it on particular example: my own timezone :)
We have GMT+2 at winter and GMT+3 at summer, transitions for 2018 were Mar 25 03:00 and Oct 28 04:00.
So....
For mid-period, everythin... -
09:41 AM Feature #15527: Redesign of timezone object requirements
- `zone.utc_offset(time)` seems to consider the timezone of the argument, or the UTC offset.
When constructing a time from each components (year, month, day, hour...), we don't know the offset.
That means we have to know the offset to ge... -
03:28 PM Bug #15583 (Closed): Regex: ? on quantified group {n} is interpreted as optional, should be lazy
- The Ruby regex docs have this to say about repetition ([specific link](https://ruby-doc.org/core-2.6.1/Regexp.html#class-Regexp-label-Repetition)):
> The constructs described so far match a single character. They can be followed by a ... -
01:42 PM Bug #15582 (Closed): default/bundler-1.17.2.gemspec has no file list
- Applied in changeset trunk|r66984.
----------
Fixed gemspec location of bundler.
FileCollector of rbinstall.rb requires location of gemspec under
the sub-direcotry with the same name as default gems.
I forgot to fix it with r668... -
01:23 PM Bug #15582: default/bundler-1.17.2.gemspec has no file list
- If you use rbenv and ruby-build, You can build 2.6.1 with this patch like this.
```
curl -sSL https://bugs.ruby-lang.org/attachments/download/7631/15582-bundler-gemspec.patch | rbenv install --patch 2.6.1 -f
``` -
01:21 PM Bug #15582: default/bundler-1.17.2.gemspec has no file list
- Thanks, I forgot to apply to move gemspec location for FileCollector of rbinstall.rb related r66913.
I attached the patch for this issue. -
12:39 PM Bug #15582 (Closed): default/bundler-1.17.2.gemspec has no file list
- Ruby 2.6.1's *prefix*/lib/ruby/gems/2.6.0/specifications/default/bundler-1.17.2.gemspec seems wrong.
```
s.files = ["bundler.rb".freeze, "exe/bundle".freeze, "exe/bundler".freeze]
```
It should have "bundler/setup.rb", "bundler... -
01:41 PM Revision 7c9771be (git): Fixed gemspec location of bundler.
- FileCollector of rbinstall.rb requires location of gemspec under
the sub-direcotry with the same name as default gems.
I forgot to fix it with r66867.
[Bug #15582][ruby-core:91374]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
01:40 PM Revision adbdbff2 (git): README.win32: reformat as RDoc
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:52 AM Revision 1f34da37 (git): insns.def: opt_regexpmatch1 is not a leaf insn
- Given `str`, if `str_coderange(str)` is `ENC_CODERANGE_BROKEN`,
it calls `rb_raise`. And it calls `rb_funcallv` from `rb_exc_new3`.
http://ci.rvm.jp/results/trunk-vm-asserts@silicon-docker/1673244
Maybe we can have a function to direct... -
08:14 AM Feature #15581: Split tool/* files to tool and script directories
- Hello, I placed tool/ruby_vm files there because I thought they are not needed for release tar balls. Do they?
-
07:32 AM Feature #15581 (Rejected): Split tool/* files to tool and script directories
- We use the tool directory for additional scripts like a utility, generator and etc.
But some files are required by `make` and `make install`. I think they are not the additional scripts, so It's the core toolchain.
I found the min... -
07:34 AM Misc #15546: DevelopersMeeting20190207Japan
- * [Feature #15581] Split tool/* files to tool and script directories
* What's a concern about this? -
07:26 AM Revision 232f31ca (git): on-smash canary detection
- In addition to detect dead canary, we try to detect the very moment
when we smash the stack top. Requested by k0kubun:
https://twitter.com/k0kubun/status/1085180749899194368
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66981 b2dd... -
06:29 AM Revision 8a098051 (git): insns.def: mark exception-raising instructions non-leaf
- These instructions were missed before. The stack canary mechanism
(see r64677) can not detect rb_raise() because exceptions jump over
the canary liveness check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66980 b2dd03c8-39d4-4d8... -
05:20 AM Revision 3c8ff424 (git): vm_trace.c: trick rdoc for TracePoint#enable
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:11 AM Bug #15578 (Closed): Missing TracePoint return event when a conditional is used before a rescue
- Applied in changeset trunk|r66977.
----------
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
c... -
03:37 AM Bug #15578: Missing TracePoint return event when a conditional is used before a rescue
- `git bisect` shows it is introduced by r63248.
- 05:11 AM Revision 8555c53e (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:11 AM Revision 1bc6c3f4 (git): 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:91366] [Bug #15578]
4cae5353c03009beb1e0a1619422072773580609
5afd479de63b6609ddcd1510da9... -
04:39 AM Revision e826b7d3 (git): _leaf_helpers.erb: some functions are not leaf
- If a function has rb_warning() that is not a leaf because warning
ultimately is a method call of Warning#warn.
If a function has rb_name_error() that is not a leaf because
NameError is allocated, then initialized. This of course
involv... - 02:17 AM Revision 1cc19523 (git): Revert r66968
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@66975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:31 AM Revision 5d5427cb (git): * 2019-02-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:31 AM Revision af83a85f (git): Run r66972 assertion only when a sticky-bit makes sense
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
01/31/2019
-
11:13 PM Feature #15580 (Open): Proposal: method addition to class String called .indices ( String#indices )
- Hello,
I am not sure whether this proposal has a realistic chance to be added to Ruby; but
I think it is ok to suggest it nonetheless and let matz and the core team decide
whether this may be a useful addition to ruby (at the least ... -
04:43 PM Bug #15579 (Closed): make step when building ruby 2.4.5 on AIX 7.1 results in a Segmentation fault : ruby-2.4.5/lib/rdoc/markup/parser.rb:325
- Environment :
Operating System Name : AIX
Operating System Version : 7
Operating System Release : 1
Operating System Level : 7100-03-04-1441
Operating System Bit Mode ... -
04:17 PM Bug #15578 (Closed): Missing TracePoint return event when a conditional is used before a rescue
- Hello, I've been using TracePoint on a Ruby on Rails project and noticed that the number of method 'return' events was less than the number of 'call' events. An example of a return event that isn't always logged (depending on inputs) is ...
-
02:02 PM Bug #15577 (Closed): FileUtils.remove_entry_secure() raises unexpected NameError
- Applied in changeset trunk|r66972.
----------
Fix exception namespace
* lib/fileutils.rb (remove_entry_secure): EISDIR is under the
Errno namespace. [ruby-core:91362] [Bug #15577]
From: Tietew (Toru Iwase) <tietew@tietew.net> -
12:06 PM Bug #15577 (Closed): FileUtils.remove_entry_secure() raises unexpected NameError
- ## How to reproduce
```
$ sudo mkdir /tmp/foobar
$ ruby -rfileutils -e 'FileUtils.remove_entry_secure("/tmp/foobar")'
Traceback (most recent call last):
4: from -e:1:in `<main>'
3: from /usr/local/anyenv/envs/rben... -
02:02 PM Revision cb5a3298 (git): Fix exception namespace
- * lib/fileutils.rb (remove_entry_secure): EISDIR is under the
Errno namespace. [ruby-core:91362] [Bug #15577]
From: Tietew (Toru Iwase) <tietew@tietew.net>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66972 b2dd03c8-39d4-4d8f-9... -
01:27 PM Misc #14632: [ANN] git.ruby-lang.org
- To remind us the current status, let me list up the details of remaining tasks for git migration:
## Preparations
* chkbuild: change all RubyCI's checkout source from svn to git https://github.com/ruby/chkbuild/pull/42
* And fix t... -
01:09 PM Bug #15576: Wrong error message from some class methods of `Dir`
- I'm not sure this difference between `IO` and `Dir` is intentional.
-
01:08 PM Bug #15576: Wrong error message from some class methods of `Dir`
- It is expected as these methods delegate to `Dir.open`.
So you can redefine the `open` method.
```
$ ruby -e 'def Dir.open(*)raise "boom";end; Dir.foreach("."){}'
Traceback (most recent call last):
2: from -e:1:in `<main>'
1: f... -
09:58 AM Bug #15576 (Closed): Wrong error message from some class methods of `Dir`
- When a error is raised in some class methods of `Dir`, the backtrace is as if the user called `Dir.open`.
```
$ ruby -e 'Dir.foreach {}'
Traceback (most recent call last):
2: from -e:1:in `<main>'
1: from -e:1:in `foreach'
-e:1... -
12:58 PM Revision 1f641924 (git): Use _NSGetMachExecuteHeader() instead of _mh_execute_header
- _mh_execute_header is not accessible from a dylib unless libruby.dylib is
built with -undefined dynamic_lookup. And using -undefined
dynamic_lookup is not good style.
Reported by Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-b... -
11:08 AM Bug #15284: Unintentional warnings with node.h
- ruby_2_4 r66970 merged revision(s) 65667.
- 11:08 AM Revision 05b05a8f (git): merge revision(s) 65667: [Backport #15284]
- Fix for bison 3.2 [Bug #15284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@66970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:04 AM Bug #15495: Backport r66685, r66686 (Try to update cert)
- ruby_2_4 r66969 merged revision(s) 66685,66686.
- 11:03 AM Revision 0f1b218f (git): merge revision(s) 66685,66686: [Backport #15495]
- Try to update cert
Try to update cert (2nd try)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@66969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:02 AM Bug #15041: [PATCH] cont.c: set th->root_fiber to current fiber at fork
- ruby_2_4 r66968 merged revision(s) 64589,64593.
- 11:02 AM Revision 1de793a5 (git): merge revision(s) 64589,64593: [Backport #15041]
- cont.c: set th->root_fiber to current fiber at fork
Otherwise, th->root_fiber can point to an invalid Fiber,
because Fibers do not live across fork. So consider
whatever Fiber is running the root fiber.
... -
10:59 AM Bug #15340: Time.local behaving inconsistently for excess days after 2038
- ruby_2_4 r66967 merged revision(s) 65974.
- 10:59 AM Revision 3d89e55b (git): merge revision(s) 65974: [Backport #15340]
- Normalize month-mday before finding epoch
Especially over the year 2038, 30 Feb and so on may cause odd behavior
on validating found epoch with given year-month-day [Bug #15340]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru... -
10:58 AM Bug #15479: Array#reject! modifies literal Array
- ruby_2_4 r66966 merged revision(s) 66756.
- 10:58 AM Revision c7dfe607 (git): merge revision(s) 66756: [Backport #15479]
- Mark array as "going to be modified" in `Array#reject!`
Before this patch, if `reject!` is called on a shared array it can
mutate the shared array rather than a copy. This patch marks the array
as "going to be m... -
10:56 AM Bug #15387: Backport r66242 (io.c (io_write_nonblock): add RB_GC_GUARD, io_fflush may switch threads)
- ruby_2_4 r66965 merged revision(s) 66242.
- 10:56 AM Revision 6d7cab3b (git): merge revision(s) 66242: [Backport #15387]
- io.c (io_write_nonblock): add RB_GC_GUARD, io_fflush may switch threads
Since io_fflush may block on mutex or rb_io_wait_readable and
switch threads, we need to ensure the `str' VALUE returned by
`rb_obj_as_strin... -
10:55 AM Bug #15412: backport r66401 (Move autoload to toplevel)
- ruby_2_4 r66964 merged revision(s) 66401.
- 10:55 AM Revision 67305e79 (git): merge revision(s) 66401: [Backport #15412]
- Move autoload to toplevel
So that classes which uses Net::HTTP with https can use OpenSSL
namespace for example exception classes like OpenSSL::SSL::SSLError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_... - 10:51 AM Revision f0a0909f (git): Fixed [Bug #14731]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@66963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:48 AM Bug #14729: Float("long_invalid_string") fails to throw an exception
- ruby_2_4 r66962 merged revision(s) 63334.
- 10:47 AM Revision 4c2f9198 (git): merge revision(s) 63334: [Backport #14729]
- object.c: raise on long invalid float string
* object.c (rb_cstr_to_dbl_raise): check long invalid float
string more precisely when truncating insignificant part.
[ruby-core:86800] [Bug #14729]
git-svn-id: s... -
10:36 AM Bug #15162: Encoding::Converter.search_convpath(Encoding::ASCII_8BIT, Encoding::Emacs_Mule) crashes on MinGW
- ruby_2_4 r66961 merged revision(s) 64879.
- 10:36 AM Revision 673de310 (git): merge revision(s) 64879: [Backport #15162]
- transcode.c: add GC guard on raise
* transcode.c (econv_s_search_convpath): add GC guard to fix SEGV
on raise.
[Bug #15162] [ruby-core:89172]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@669... -
09:45 AM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
- hsbt (Hiroshi SHIBATA) wrote:
> @watson1978
> ...
Thank you for your working.
I re-tried the test code in description,
However, there is not difference for me....
```
$ bundle install
Fetching gem metadata from https://rubygems.... -
06:13 AM Bug #15469: Ruby2.6 included `bundler` does not handle specified `csv` gem.
- @watson1978
Can you try this with Ruby 2.6.1? r66867 fixed this issue maybe.
-
08:02 AM Feature #15575: Prohibit to pass a block singleton class
- Agreed to prohibit. Disagree to change the scoping rule (@alanwu).
Matz.
-
04:36 AM Feature #15575: Prohibit to pass a block singleton class
- Another option would be to make everything use lexical scope, if the strangeness is indeed because locals are inaccessible inside class << self.
So imagine the following printing 1 2 3.
``` ruby
foo = 1
class A
bar = 2
def hi
... -
05:36 AM Revision 857bbfd0 (git): _insn_type_chars.erb: use C99
- Now that comma at the end of enum is allowed, we can write this much
more straight-forward.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:22 AM Revision e2071406 (git): _insn_operand_info.erb: use C99
- Same as r66957.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:00 AM Revision 971f965d (git): _insn_len_info.erb: add ASSERT_VM_INSTRUCTION_SIZE
- Also previous rb_vm_insn_len_info is now a function static variable.
It seems nobody else is using it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:46 AM Revision 72e318f1 (git): _insn_name_info.erb: use C99
- C99 allows string literals of at least 4095 characters (cf: ISO/IEC
9899:1999 section 5.2.4.1) so the previous complex struct layout is no
longer necessary. Just dump the verbatim memory contents we want.
git-svn-id: svn+ssh://ci.rub... - 04:35 AM Revision 69431818 (git): * 2019-01-31
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision 03dc91fa (git): test_iseq.rb: update expected error message
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:35 AM Revision ba4d6ae7 (git): test_iseq.rb: enabled
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:06 AM Bug #15569: TestResolvDNS#test_no_server always fails on usa's mswin environment
- FYI, I've never seen GREEN result of the test since last September.
The environment is Windows10 + Visual C++ 14.0(=Visual Studio 2015).
01/30/2019
-
11:57 PM Bug #15572: `RubyVM::InstructionSequence` doesn't work with `extend`.
- ioquatix (Samuel Williams) wrote:
> For some reason,`RubyVM::InstructionSequence.extend` doesn't seem to work as expected.
`Kernel#extend` seems to work fine.
```
$ ./miniruby -ve 'module Foo; def foo; p :foo; end; end; RubyVM::I... -
09:54 PM Bug #15404: Endless range has inconsistent chaining behaviour
- Just want to add to this that
``` ruby
Ripper.sexp("1..\n1..5")
```
breaks and returns nil
-
07:13 PM Feature #14973: Proposal of percent literal to expand Hash
- I just want to +1 this. I think it's a great idea, and had raised it independently in [15236](https://bugs.ruby-lang.org/issues/15236). It doesn't seem like Matz has given an opinion on it though either here or in 15236. Can we bump this...
-
06:17 PM Feature #15571: Add methods: iroot, root, and roots
- First, I think you should see the number of downloads for the `roots` gem in a different context. Instead of saying it only has 8837 downloads, you should say, Wow, over 8800 people found it useful enough to download to solve a problem f...
-
04:26 AM Feature #15571 (Open): Add methods: iroot, root, and roots
- Sorry, I misread this. The proposal is about including some of the methods from the gem into Ruby itself. Looking at the number of downloads on rubygems.org (8,836 for the latest version), I'm not exactly convinced this needs to be in Ru...
-
04:18 AM Feature #15571 (Third Party's Issue): Add methods: iroot, root, and roots
- This is the (bug/feature) tracker for Ruby the language. Most gems are maintained separately. Issues for bundled gems may occasionally end up here, but the roots gem is independent. In addition, this gem seems to have been created by you...
-
02:41 PM Revision a7f5bada (git): Ruby 2.6 is still C90
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:09 PM Revision b228a084 (git): merge revision(s) 66888: [Backport #15460]
- * Fix rubyspec to follow IO#ungetbyte's fix
Merge CRuby r66824
With fixing actual spec and the version the change applied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:30 PM Feature #15575: Prohibit to pass a block singleton class
- ko1 (Koichi Sasada) wrote:
> We can break from `class` syntax.
> ...
At least TruffleRuby doesn't implement it, and we had no bug report about this, so hopefully not used.
Agreed it should be deprecated/removed as it's confusing at best. -
12:28 PM Feature #15575: Prohibit to pass a block singleton class
- ko1 (Koichi Sasada) wrote:
> or make it syntax sugre of `singleton_class.class_exec do`?
I think that would be confusing as `class` (like `module` and `def`) is a keyword which normally adds a new lexical scope and does not capture t... -
12:27 PM Feature #15575: Prohibit to pass a block singleton class
- Similar strange example (off-topic):
```
1.times{
class C
break
def undefined_method; end
end
p :unrechable
}
p [:ok, C.instance_methods(false)] #=> [:ok, []]
```
We can break from `class` syntax.
I hope nob... -
12:24 PM Feature #15575: Prohibit to pass a block singleton class
- Eregon (Benoit Daloze) wrote:
> Agreed.
> ...
or make it syntax sugre of `singleton_class.class_exec do`?
Both are easy to explain the rule. Now, it is somewhat unclear.
-
12:17 PM Feature #15575: Prohibit to pass a block singleton class
- Agreed.
IMHO `class << expr` should be no different than the normal `class Name`, but currently various things are allowed in that context such as `return`, `yield`, etc.
Constant resolution also becomes somewhat dynamically-scoped w... -
07:19 AM Feature #15575 (Closed): Prohibit to pass a block singleton class
- The following code works now:
```
def foo
class << Object.new
yield
end
end
foo{ p :ok } #=> :ok
```
but I think this feature is very strange because local variables are not active in singleton class.
How about ... -
12:25 PM Feature #15567: Allow ensure to match specific situations
- @ioquatix Could you give one or two real-world examples where this would be useful?
-
12:22 PM Feature #15567: Allow ensure to match specific situations
- ioquatix (Samuel Williams) wrote:
> For example, there is no easy way to capture `retry` or `redo` exiting a block.
Which is intended, it would break the semantics of those if they were caught, or it would be very surprising if some ... -
12:12 PM Feature #15574: Prohibit to pass a block on super() implicitly
- I would think this is tricky for compatibility (there is definitely code relying on it), but let's see.
-
07:12 AM Feature #15574 (Rejected): Prohibit to pass a block on super() implicitly
- As described in [Feature #15554], `super()` (not `super`) pass the given block.
```
class C
def foo
p block_given?
end
end
class C1 < C
def foo
super #=> true
super() #=> true
end
end
C1.new.foo{}... -
11:58 AM Revision 15f8fb34 (git): Show the code in syntax assertions
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:44 AM Feature #15573: Permit zero step in Numeric#step and Range#step
- I can't say in which way to change it but I think this is indeed surprising
behaviour and should be changed either way towards more consistency
if possible. -
05:17 AM Feature #15573: Permit zero step in Numeric#step and Range#step
- There is also inconsistency in that, without the block, `0` is allowed in these forms.
```ruby
1.step(10, 0) # => ok
1.step(10, 0){} # => ArgumentError: step can't be 0
(1..10).step(0) # => ok
(1..10).step(0){} # => ArgumentError:... -
04:16 AM Feature #15573: Permit zero step in Numeric#step and Range#step
- mrkn (Kenta Murata) wrote:
> I want to relax also this restriction.
Tell us why? Consistency?
-
03:32 AM Feature #15573 (Closed): Permit zero step in Numeric#step and Range#step
- Numeric#step disallows zero in the 2nd argument, but it allows zero passed as the value of `by:` keyword argument. I confirmed that this inconsistency exists since 2.3. I want to allow zero in the 2nd argument, too.
```
>> 1.step(10... -
09:21 AM Bug #15570: rb_int2big signature change #14036 breaks VIM on 32b arches
- Hi!
I'm Zdenek, Fedora/RHEL Vim's maintainer and I confirm Vita's report - Vim started to fail on 32b archs since ruby 2.6 landed in Fedora rawhide because of change in [[https://bugs.ruby-lang.org/issues/14036]] , which seemed more ... -
06:20 AM Bug #15518: good old Infinite range notation behavior
- ruby_2_6 r66949 merged revision(s) 66947.
-
06:16 AM Bug #15518: good old Infinite range notation behavior
- I fixed the case for ranges whose end is Float::INFINITY.
If you want to continue to discuss for the other cases, please create the new issue. -
06:06 AM Bug #15518 (Closed): good old Infinite range notation behavior
- Applied in changeset trunk|r66947.
----------
enumerator.c: fix arith_seq_first for Infinity
* enumerator.c (arith_seq_first): fix for Float::INFINITY.
* test/ruby/test_arithmetic_sequence.rb: add tests.
* numeric.c (ruby_float_step_... -
06:20 AM Revision 0a9410ce (git): merge revision(s) 66947: [Backport #15518]
- enumerator.c: fix arith_seq_first for Infinity
* enumerator.c (arith_seq_first): fix for Float::INFINITY.
* test/ruby/test_arithmetic_sequence.rb: add tests.
* numeric.c (ruby_float_step_size): export for inter... - 06:06 AM Revision ea88f7dd (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 06:05 AM Revision 6f6cf042 (git): enumerator.c: fix arith_seq_first for Infinity
- * enumerator.c (arith_seq_first): fix for Float::INFINITY.
* test/ruby/test_arithmetic_sequence.rb: add tests.
* numeric.c (ruby_float_step_size): export for internal use.
* internal.h: add prototype declaration of ruby_float_step_siz... -
05:08 AM Revision e1e3d642 (git): hash.c: hoisted out st_index_hash
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:54 AM Revision a94b78e4 (git): hash.c: hoisted out dbl_to_index
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:36 AM Revision 15530088 (git): * 2019-01-30
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:36 AM Revision ef17936b (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:36 AM Revision d07d1928 (git): hash.c: remove repeated rb_hash_start
- * hash.c (rb_dbl_long_hash): remove repeated rb_hash_start as
rb_objid_hash includes rb_hash_start,
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:35 AM Misc #15546: DevelopersMeeting20190207Japan
- * [Feature #15573] Permit zero step in `Numeric#step` and `Range#step`
* I make this issue as a feature request because the behaviors exist at least since version 2.3. But I think it is a bug, so it should be resolved.