Project

General

Profile

Activity

From 04/16/2019 to 04/22/2019

04/22/2019

11:09 PM Misc #15723: Reconsider numbered parameters
TL; DR: a keyword (e.g. `it`) could be used without breaking backwards-compatibility via a **pragma** e.g.:
```ruby
# implicit_parameter: true
http.get(url).then { JSON.parse(it) }
```
---
I don't mind `@1, @2` etc., given ...
chocolateboy (Chocolate Boy)
06:52 PM Bug #15508: Mutex recursive lock error when combined with Thread#raise
I verified that this issue is fixed by [PR #2131](https://github.com/ruby/ruby/pull/2131). larskanis (Lars Kanis)
04:27 PM Bug #15783 (Closed): 引数のデフォルト値にNumbered parameterを書ける、キーワード引数の場合デフォルト値にNumbered parameterを書くとSEGVする
キーワード引数のデフォルト値にNumbered parameterを使うとSEGVしました。
再現コードです
```ruby
->x:@2{}
```
キーワードじゃない引数でも以下のような感じでNumbered parameterを使えるようです。
```ruby
->x=@1{}
```
以下のようにまぜて使った場合はシンタックスエラーになるのに、デフォルト値として書いた場合はシンタックスエラーにならないのはバグだと思います。
...
hanachin (Seiei Miyagi)
02:11 PM Revision 6fbf4e22 (git): Adds a reference to `TracePoint` to `binding` docs
This change adds an explicit reference to `TracePoint` in the
documentation for `binding`. Currently it only refers to the now
deprecated `Kernel#set_trace_func`. This reference is left alone for
continuity in the documentation.
[Fix GH-...
znz (Kazuhiro NISHIYAMA)
01:45 PM Revision 8c689e21 (git): Merge branch 'patch-5' of https://github.com/sos4nt/ruby into trunk
[Fix GH-2084] znz (Kazuhiro NISHIYAMA)
01:32 PM Misc #14632: [ANN] git.ruby-lang.org
k0kubun (Takashi Kokubun) wrote:
> * Verify committer email from SSH user (@mame)
Done.
* I've created a script named [check-email.rb](https://github.com/ruby/ruby-commit-hook/blob/master/bin/check-email.rb) which includes the cor...
mame (Yusuke Endoh)
12:53 PM Misc #14632: [ANN] git.ruby-lang.org
## Remaining tasks related to Git migration
* Add more git support in:
* Git support to backport to future `ruby_2_7` branch:
* `tool/merger.rb`
* Discuss the timing to rename the branch "trunk" to "master"? (#15782)
k0kubun (Takashi Kokubun)
05:23 AM Misc #14632: [ANN] git.ruby-lang.org
naruse (Yui NARUSE) wrote:
> Anyway chat is out of this topic.
Yes please. Don't let the chat involve this kind of things.
shyouhei (Shyouhei Urabe)
04:33 AM Misc #14632: [ANN] git.ruby-lang.org
In this ticket, there's a list of pre and post tasks.
You can always add "pre-announcement" and "post-announcement" in these 3 months.
About git migration, investigation and organizing tasks themselves are also hard work.
I'm very a...
naruse (Yui NARUSE)
03:56 AM Misc #14632: [ANN] git.ruby-lang.org
hsbt (Hiroshi SHIBATA) wrote:
> >Next time tell us BEFORE you disable something, OK?
> ...
I now feel I am excluded from the community because I was not on the chat. Does this mean anyone _must_ join the slack if they have to be consi...
shyouhei (Shyouhei Urabe)
03:28 AM Misc #14632: [ANN] git.ruby-lang.org
>Next time tell us BEFORE you disable something, OK?
I will make an effort next time. Can you join ruby-lang slack team again?
We discuss the internal workflow on this slack.
hsbt (Hiroshi SHIBATA)
03:19 AM Misc #14632: [ANN] git.ruby-lang.org
hsbt (Hiroshi SHIBATA) wrote:
> done. I disabled the writable operation of trunk branch on svn.ruby-lang.org
Next time tell us BEFORE you disable something, OK?
shyouhei (Shyouhei Urabe)
12:16 AM Misc #14632: [ANN] git.ruby-lang.org
@k0kubun Thanks to your works.
I enabled and disabled some changes on our repository.
>Operations
> ...
done. I disabled the writable operation of trunk branch on svn.ruby-lang.org
> Also prohibit force-push to git.ruby-lang.o...
hsbt (Hiroshi SHIBATA)
01:00 PM Revision 4cd67a84 (git): Fix RUBY_REVISION spec
broken by 5da52d1210625fb00acd573b3f32281b4bde1730 k0kubun (Takashi Kokubun)
12:45 PM Revision 87261cf5 (git): Omit last_commit=RUBY_LAST_COMMIT_TITLE without local commits
znz (Kazuhiro NISHIYAMA)
12:43 PM Misc #15782: DevelopersMeeting20190522Japan
* [Misc #14632] git.ruby-lang.org
* See [5da52d1210](https://github.com/ruby/ruby/commit/5da52d1210625fb00acd573b3f32281b4bde1730). I committed tentative `RUBY_REVISION`/`RUBY_DESCRIPTION` behaviors for preview1 as follows. Is it okay...
k0kubun (Takashi Kokubun)
12:36 PM Misc #15782 (Closed): DevelopersMeeting20190522Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of ticket comments)
*DO NOT* discuss then on this ticke...
k0kubun (Takashi Kokubun)
12:34 PM Misc #15459 (Closed): DevelopersMeeting before/after RubyKaigi2019
k0kubun (Takashi Kokubun)
12:27 PM Revision 5da52d12 (git): Migrate RUBY_VERSION/RUBY_DESCRIPTION to Git
from Subversion.
This behavior is tentative and not discussed well. The point of
discussion will be just the length of commit hash, and I thought we
should include this kind of change in 2.7.0-preview1 release even before
the length is ...
k0kubun (Takashi Kokubun)
12:02 PM Revision dd0b5163 (git): Tk is already removed from stdlib at r55844
https://github.com/ruby/ruby/commit/303dc3c591e324b6bbc691326d8bea76fe3b8fda znz (Kazuhiro NISHIYAMA)
11:37 AM Bug #15766: Crash in 2.4, 2.5 involving at_exit
On ruby_2_5, I bisected the fix to be ruby_2_5|r65582.
With r65581:
```
../Bug-15766.rb: unexpected return
C:/Dev/msys64-20161025/opt/ruby_2_5/lib/ruby/gems/2.5.0/gems/minitest-5.11.3/lib/minitest.rb:60: [BUG] Segmentation fault
...
[email protected] (Christian Boos)
11:01 AM Revision c697bade (git): Ignore VSCode configuration from git.
hsbt (Hiroshi SHIBATA)
11:00 AM Revision 6a2c8e46 (git): Use github url instead of ViewVC.
hsbt (Hiroshi SHIBATA)
10:37 AM Revision 184447d9 (git): ViewVC of svn.ruby-lang.org was shutdown status.
hsbt (Hiroshi SHIBATA)
10:32 AM Bug #15728 (Feedback): error compiling C - file under Ruby
This issue depends what compiler is used.
Could you show what is your compiler and environment?
naruse (Yui NARUSE)
10:04 AM Misc #15630 (Closed): Clarification on Comparable documentation
Applied in changeset commit:ruby-git|f005ccc771574e8e4e17b7a35c19b352e0b7dc73.
----------
Clarify requirements of <=>
A return value of <=> is automatically converted to -1, 0, or 1, so
other values can be returned. [Misc #15630]
shugo (Shugo Maeda)
10:02 AM Revision ae3f38dc (git): CRuby trunk uses git instead of subversion now
znz (Kazuhiro NISHIYAMA)
08:15 AM Revision f005ccc7 (git): Clarify requirements of <=>
A return value of <=> is automatically converted to -1, 0, or 1, so
other values can be returned. [Misc #15630]
shugo (Shugo Maeda)
07:48 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
Whether an issue is "Bug" or "Feature" practically depends whether the fix should be backported or not.
Anyway as far as I understand, Ruby has following categories of characters.
* First character for constants (upper case)
* First...
naruse (Yui NARUSE)
02:39 AM Revision 6013e41a (git): Support of Ruby 2.3 has ended
https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/ znz (Kazuhiro NISHIYAMA)
02:33 AM Revision beaddd1d (git): Now only supports Git repository
U.Nakamura
01:06 AM Revision b26a7c8d (git): * remove trailing spaces.
svn[bot]
01:06 AM Revision e949c084 (git): README.ja.md: Update description about Git repository
Backported 4c570abf77 to Japanese k0kubun (Takashi Kokubun)
12:55 AM Revision 44a468cc (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision 4c570abf (git): README.md: Update description about Git repository
We started to switch from SVN to Git. Because GitHub would be more
reliable than our single-host cgit, I continued to list GitHub mirror
repository in the first place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67700 b2dd03c8-39d...
k0kubun (Takashi Kokubun)

04/21/2019

11:16 PM Feature #15781: Unify Method List Introspection?
Another idea - partially related perhaps. Or just totally random ...
If we were to ignore the current API, then we could have:
Object#methods
To obtain all methods, as an Array. And then we could still apply filtering
on th...
shevegen (Robert A. Heiler)
11:08 PM Feature #15781: Unify Method List Introspection?
Now this is for matz to consider, so I'll not comment much on the suggestion itself.
I would, however had, still like to point out a few things:
(1) Even if we assume that there may be confusion (let's only assume so for now), I th...
shevegen (Robert A. Heiler)
08:43 PM Feature #15781 (Open): Unify Method List Introspection?
Although Ruby has many core methods for retrieving the list of methods available to an object, or to the instances of a class, I believe they have gotten a little confusing ([also see](https://idiosyncratic-ruby.com/25-meta-methodology.h... rbjl (Jan Lelis)
03:10 PM Misc #14632: [ANN] git.ruby-lang.org
Progress:
* I migrated svn hooks repository to https://github.com/ruby/ruby-commit-hook, and supported git in all features.
* Backport tools (`tool/merger.rb` and `tool/redmine-backporter.rb`) supported to specify git revision in r67...
k0kubun (Takashi Kokubun)
03:04 PM Revision 693c28d5 (git): * 2019-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision fdd30912 (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:24 PM Revision b6fd7b1b (git): tool/redmine-backporter.rb: Git support in backport/rel
close https://github.com/ruby/ruby/pull/2138
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:13 PM Bug #15780 (Closed): Module#const_defined?(String) executes autoloads
The documentation of `Module#const_defined?` says that autoloads are not executed:
> [...] if the constant is not present but there is an autoload for it, true is returned directly without autoloading.
While this seems to work as d...
fxn (Xavier Noria)
01:05 PM Revision c7db05d2 (git): tool/redmine-backporter.rb: Remove unused methods
They seem to have never been used from the beginning (r45081).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:26 PM Revision 72be46f1 (git): Drop tool/generate-backport-changelog.rb
because we're not writing ChangeLog since ruby_2_4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:03 PM Revision 2c31e6de (git): tool/merger.rb: Guard match failure properly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
11:49 AM Revision de537823 (git): tool/merger.rb: Support fetching patch from cgit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
10:01 AM Revision 47676e96 (git): tool/merger.rb: Drop ChangeLog handling
We're not writing ChangeLog since ruby_2_4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:13 AM Revision 51cec009 (git): Revert "IRB is improved with Reline and RDoc"
This reverts commit 7f273ac6d0f05208b5b228da95205e20c0e8286c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
aycabta (aycabta .)
08:34 AM Revision 683834eb (git): Drop MJIT_FUNC_EXPORTED from rb_hash_bulk_insert
it's official API after r67677
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
08:19 AM Revision add82b7e (git): Drop obsoleted feature from help
I understand this is dropped in r67569
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:37 AM Revision 9c51ef5b (git): Merge upstream of Reline
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
07:27 AM Revision ea1835ca (git): Drop unnecessary newline in short line [ci skip]
I'm commiting safe things to test commit hooks on production...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:21 AM Revision 60455b39 (git): Fold too-long line for readability [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:17 AM Revision 0d23d02a (git): Use consistent comma in .ja [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:14 AM Revision c23b258d (git): Drop created at in .ja like en version [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:12 AM Revision 96147b3a (git): Slightly modify ja sentence [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:08 AM Revision 0d972252 (git): Backport README change to .ja.md [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:08 AM Revision 221e2937 (git): Add test/reline/ again, I'm back
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
06:08 AM Revision d9a01bc1 (git): Remove unused variable and check if successed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:48 AM Revision 9a83922b (git): suppress redefinition warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:48 AM Revision 7f09b5e9 (git): suppress warning in test/irb
https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos7/ruby-trunk/log/20190421T040003Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:37 AM Revision d3df725f (git): Make rb_hash_bulk_insert public
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:54 AM Revision d9c17c1a (git): git.ruby-lang.org may be slow than github.com from oversea
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:53 AM Revision 5906bcc9 (git): Remove debug lines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:52 AM Revision 66b6d766 (git): Show/unshow executing command as specified by `V`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:02 AM Revision 03c6cb5e (git): Note about cgit url [ci skip]
testing svn hook by this commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:56 AM Revision 710e763e (git): test/ruby/test_pattern_matching.rb: add missing tests for NODE_DASGN, NODE_LASGN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
03:51 AM Revision 2dc51bf4 (git): Remove test/reline temporary, I'll come back
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
03:46 AM Revision 2a5ea435 (git): add ensure to restore $stdout correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:38 AM Revision d0e50b7d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 AM Revision b02f368c (git): Restore pwd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:35 AM Revision 72cbc314 (git): Revert "Try dropping const qualifier to suppress msiwn warning"
This reverts commit b023c1cc07b2fd6e201bf3aeb4a1df9af3854888.
in favor of r67666.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:33 AM Revision e6a7b8a4 (git): Get rid of warinings of VC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:32 AM Revision b023c1cc (git): Try dropping const qualifier to suppress msiwn warning
https://ci.appveyor.com/project/ruby/ruby/builds/23995093/job/qo728n1uorepkx16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:31 AM Revision 4cb2dcdf (git): ubygems.rb is already removed from ruby repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:30 AM Revision a3adb11f (git): test/reline/helper.rb: define RELINE_TEST_ENCODING always
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 AM Revision 0db89a38 (git): Show the latest commit hash after update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:12 AM Revision 2c6e2414 (git): Remove obsoleted TODO comment [ci skip]
looks like it's updated sufficiently
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:11 AM Bug #15384 (Closed): ssl_certs are duplicated in RubyGems and Bundler
I fixed it at r67539 hsbt (Hiroshi SHIBATA)
03:11 AM Revision 01efa5d9 (git): Add missing test for p_var_ref
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
02:58 AM Revision e7d76e3f (git): tool/merger.rb: Drop some revision notations.
Maintainer use merger mainly from redmine-backporter.rb.
[Fix GH-2136]
From: Chikanaga Tomoyuki <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:58 AM Revision ffc93316 (git): tool/merger.rb: Remove unused command line format.
I believe no-one use this notation for years.
[Fix GH-2136]
From: Chikanaga Tomoyuki <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:51 AM Revision dad30476 (git): Remove redundant cast
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:43 AM Revision bb77cc18 (git): Add missing tests for p_args
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
02:40 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
Some points from a discussion at the Fukuoka post-RubyKaigi event:
- It might make sense to allow emoji as variable names (just for fun)
- Python also limits non-ASCII identifiers. See https://docs.python.org/3/reference/lexical_an...
duerst (Martin Dürst)
02:33 AM Revision 1a0990cb (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:33 AM Revision 65f1b811 (git): Fix test library name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:18 AM Revision eeee4f40 (git): Remove unnecessary condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:39 AM Revision ecf4e8fb (git): * 2019-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:06 AM Revision 985192f0 (git): Make README.md similar to README.ja.md [ci skip]
making safe commit to debug svn hook
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)

04/20/2019

10:25 PM Revision 838f1f61 (git): skip test until we can guarantee movement of certain objects
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:49 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
Yeah, it could be used to implement `Binding.of_caller`, but if we have the proposed API, we may not need actual `Binding.of_caller` as the tools can use `Kernel.caller_locations(debug: true)`. Our caller can be a C Frame in the case of ... gsamokovarov (Genadi Samokovarov)
03:12 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
So this could be used to implement `Binding.of_caller` as `caller_locations(1, 1, debug: true).first.binding`? chrisseaton (Chris Seaton)
02:43 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
I discussed with @gsamokovarov at RubyKaigi and I think this is a good idea and `Thread::Backtrace::Location#binding` is a natural fit for it.
chrisseaton (Chris Seaton) wrote:
> Is your idea that all exception backtraces always come...
Eregon (Benoit Daloze)
10:21 AM Feature #15778: Expose an API to pry-open the stack frames in Ruby
Is your idea that all exception backtraces always come with the bindings attached? Or just when you call `Kernel#caller_locations` you then get the bindings attached? chrisseaton (Chris Seaton)
02:27 AM Feature #15778 (Assigned): Expose an API to pry-open the stack frames in Ruby
Hello,
I'm the maintainer of the web-console (https://github.com/rails/web-console/) gem, where one of our features is to jump between the frames in which an error occurred. To accomplish this, I currently use the Debug Inspector CRub...
gsamokovarov (Genadi Samokovarov)
12:40 PM Bug #15779: After NoMemoryError, ruby freezes and takes 100% CPU
I rewrote this issue to English. buzztaiki (Taiki Sugawara)
12:15 PM Bug #15779: After NoMemoryError, ruby freezes and takes 100% CPU
Sorry, I wote bug report in Japanese to ruby-core.
In English:
Subject: After NoMemoryError, ruby freezes and takes 100% CPU
Description:
Run following reproduce code, ruby freezes and takes 100% CPU.
```
require 'open-uri'...
buzztaiki (Taiki Sugawara)
11:57 AM Bug #15779 (Closed): After NoMemoryError, ruby freezes and takes 100% CPU
Run following reproduce code, ruby freezes and takes 100% CPU.
```
require 'open-uri'
begin
"a" * 10000000000
ensure
p open('https://www.ruby-lang.org/')
end
```
But interestingly, the following code does not reproduce...
buzztaiki (Taiki Sugawara)
11:35 AM Bug #14918 (Closed): Use Reline for fallback of ext/readline
r67645 introduces this feature. naruse (Yui NARUSE)
09:32 AM Revision 3863b777 (git): Remove IRB's old test files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
09:29 AM Misc #9006 (Rejected): build and host binary rubies
I've been shipped the binary ruby named snaps.
https://snapcraft.io/ruby
hsbt (Hiroshi SHIBATA)
09:29 AM Revision 66ae3bd5 (git): skip test if mjit is enabled
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
09:23 AM Revision d4a555d4 (git): Add "require 'stringio'"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
09:16 AM Revision ffaee7b3 (git): Use require_relative for tests of Reline
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
08:51 AM Revision 7f273ac6 (git): IRB is improved with Reline and RDoc
Reline is a readline stdlib compatible library. It also supports
multiline input. IRB is improved with Reline and supports multiline.
Besides, supports showing documents when completed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
aycabta (aycabta .)
07:52 AM Revision 91faab7f (git): Fix wrong critical section label
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:37 AM Revision ef73bee8 (git): Prefix rb_ to MJIT wait call since it's exported
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:16 AM Revision e4a0304a (git): Workaround Wercker check which is not working now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
06:54 AM Revision 9c587d22 (git): Skip test_find_collided_object on problematic CIs for now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
06:08 AM Revision 78d3e439 (git): Make sure the has_remembered_objects flag is correctly set
Remembered objects can move between pages, so we need to make sure the
flags on the page are set correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:50 AM Revision c2b8cd42 (git): Revert "Revert "Skip ISeq reference for stale_units for debugging""
This reverts commit b79899b56a9ebadf5c493c4df2419ebf63934381.
I wanted to test r67638 first. Now let me try this as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
05:48 AM Revision b2ffafd2 (git): Invalidate JIT-ed code if ISeq is moved by GC.compact
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
05:45 AM Revision b79899b5 (git): Revert "Skip ISeq reference for stale_units for debugging"
This reverts commit 4bd4d4e4cfd164f767e88f844cf10b06faee14b9.
Sorry, let me test another one first
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
05:44 AM Revision 4bd4d4e4 (git): Skip ISeq reference for stale_units for debugging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
05:11 AM Revision 109633b1 (git): Always pin stack zombie and moved slots
We should always pin stack zombies and moved
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:00 AM Feature #15653 (Closed): Proposal: Add Time#floor
Applied in changeset trunk|r67632.
----------
Add `Time#floor`
[Feature #15653]
[Fix GH-2092]
From: manga_osyo <[email protected]>
nobu (Nobuyoshi Nakada)
05:00 AM Revision b25bf66a (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:00 AM Revision 5d9acf07 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:00 AM Revision 1686c0d4 (git): Add `Time#floor`
[Feature #15653]
[Fix GH-2092]
From: manga_osyo <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:50 AM Revision b914bea8 (git): Check ISeq references in stale_units too
This is a possible bug from recent "JIT recompile" introduction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:13 AM Revision c98d1f18 (git): add more assertions around moved object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:37 AM Revision 243842f6 (git): Avoid usage of the dummy empty BEGIN node
Use NODE_SPECIAL_NO_NAME_REST instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
03:29 AM Revision 27f75cf3 (git): Update ISeq references in stale_units as well
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
03:25 AM Revision b8b503d6 (git): Add symbol to the result of `RubyVM::AbstractSyntaxTree#children`.
Add symbol to the result to make pattern match easily.
For example:
(1) NODE_MASGN * NODE_SPECIAL_NO_NAME_REST
```
$ ./miniruby -e 'p RubyVM::AbstractSyntaxTree.parse("a, * = b").children[-1].children'
[#<RubyVM::AbstractSyntaxTree::N...
yui-knk (Kaneko Yuichiro)
03:00 AM Revision 91557d0c (git): check the index rather than include
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:00 AM Revision 79accaf8 (git): fix strict compile errors
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
02:40 AM Revision c784da17 (git): Update MJIT references
ISeq can move, so we need to tell MJIT where the new location is.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:59 AM Revision 6c4fd432 (git): Try harder to make objects move
Sometimes the objects we allocated may not get compacted. This change
is to increase the likelyhood that they will move
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:44 AM Feature #15663: Documenting autoload semantics
Let me share some thoughts that won't help much, but would like to contribute anyway :).
To me it is a surprise that constants for which there is an autoload are treated as existing by the constants API. My basic observation is that y...
fxn (Xavier Noria)
01:20 AM Revision db14ceae (git): * 2019-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:20 AM Revision c74a44d6 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:19 AM Revision 91793b89 (git): Add `GC.compact` again.
🙏
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)

04/19/2019

09:54 PM Feature #15777 (Closed): autoload?(cname, inherit=true)
Zeitwerk needs to be able to check if a given class or module has an autoload defined for a certain constant name, that would be `autoload?(cname, false)`, similar to `const_defined?(cname, false)`.
fxn (Xavier Noria)
09:30 PM Bug #15776: Difference between Time.parse behaviour between 2.6.0 and 2.6.1+
It is same as `Date.parse` and `DateTime.parse`. nobu (Nobuyoshi Nakada)
09:08 PM Bug #15776 (Assigned): Difference between Time.parse behaviour between 2.6.0 and 2.6.1+
By bisecting, I found this caused by r66735 which was for [Bug #15506]. I'm unsure what behavior is correct, but I recommend not to depend upon such a behavior of corner cases of Time.parse. mame (Yusuke Endoh)
06:52 PM Bug #15776 (Rejected): Difference between Time.parse behaviour between 2.6.0 and 2.6.1+
There is currently a major parsing difference ruby 2.6.0 and 2.6.1+ which affects time validation logic.
Ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin17] behaviour:
```
irb(main):001:0> require 'time'
irb(main):002:0> Tim...
budmc29 (Mugurel Chirica)
03:09 PM Bug #15775 (Closed): Update broken URL in Float documentation
This patch updates a broken URL to GitHub's wiki page in the documentation of the Float class (the GitHub URL changed).
Documentation (2nd link): https://ruby-doc.org/core-2.6/Float.html
davidpiegza (David Piegza)
01:57 PM Revision e3d547f6 (git): Reflect README.md contents to README.ja.md [ci skip]
I seem to have found the svn hook bug. Let me test that again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
01:38 PM Bug #15766: Crash in 2.4, 2.5 involving at_exit
I can repo the issues with
ruby 2.4.6p354 (2019-04-01 revision 67394) [x64-mingw32]
2.5 & 2.6 do not SEGV.
MSP-Greg (Greg L)
01:32 PM Feature #14183: "Real" keyword argument
During the developer meeting on Wednesday, Matz mentioned that with my approach, it would be useful to have a way to indicate that a method should be treated as a keyword argument method even if does not accept any keyword arguments. Doi... jeremyevans0 (Jeremy Evans)
01:11 PM Feature #15741 (Rejected): Ordinal parameters
I forgot to close this ticket. Thanks. mame (Yusuke Endoh)
10:55 AM Revision 5b3c099a (git): Removed extra empty lines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:45 AM Revision 4cfc6ced (git): template/prelude.c.tmpl: allow UTF-8 characters
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:28 AM Misc #15723: Reconsider numbered parameters
jeremyevans says:
> we should limit support to a single argument, and use @ to represent the argument.
> ...
Well said. Completely agree!
maedi (Maedi Prichard)
09:23 AM Revision f1a33775 (git): Use similar line length in README [ci skip]
still debugging svn hook...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:09 AM Revision af56793a (git): README.md simplified [ci skip]
- "do system management tasks" -> "manage the system"
- "talk about" -> "discuss"
- "The URL of the Ruby home page is:" and "This is what you need to do to compile and install Ruby:" are removed because of redundancy.
- "Bugs reports sho...
k0kubun (Takashi Kokubun)
09:00 AM Revision 1845c9d9 (git): Revert "README.md simplified [ci skip]"
This reverts commit 41fabbcc0ef7f6e025c1af8bf0387ee9e38d655f.
because I had a mistake in comment message.
(to commit svn hook again)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
08:53 AM Revision 4dd1cf3b (git): time.c: added in: option to Time.now
* time.c (time_s_now): added in: option to Time.now as well as
Time.at.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:44 AM Revision fb042e0f (git): * remove trailing spaces. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:44 AM Revision 41fabbcc (git): README.md simplified [ci skip]
- "do system management tasks" -> "manage the system"
- "talk about" -> "discuss"
- "The URL of the Ruby home page is:" and "This is what you need to do to compile and install Ruby:" are removed because of redundancy.
- "Bugs reports sho...
k0kubun (Takashi Kokubun)
06:21 AM Revision 390ea544 (git): Only mark the superclass if there is one
Some classes don't have a superclass, so we should check to see if it's
there before marking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:28 AM Feature #14912 (Assigned): Introduce pattern matching syntax
The specification is still under discussion, so I reopend the issue.
Current specifation summary:
~~~
case obj
in pat [if|unless cond]
...
in pat [if|unless cond]
...
else
...
end
pat: var ...
ktsj (Kazuki Tsujimoto)
01:32 AM Bug #15773 (Rejected): Net::HTTP doesn't try next IP address in case of timeout
In general resolving DNS is done by libc (getaddrinfo) and Ruby just uses their result.
Therefore it is not a bug and won't be a small feature.
naruse (Yui NARUSE)

04/18/2019

11:41 PM Feature #8834: Kernel#load_relative
This seems like a curious omission. It would be useful to have a `load_relative` that loads relative to the script path calling it, like `require_relative`.
I guess the workaround is to use `__dir__`?
``` ruby
load File.join(__dir...
TylerRick (Tyler Rick)
11:15 PM Feature #15771: Add `String#split` option to set `split_type string` with a single space separator
pull request: https://github.com/ruby/ruby/pull/2132 284km (kazuma furuhashi)
10:30 PM Revision 14626ed2 (git): fake.rb.in: split by whitespaces not to be affected by -F option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:25 PM Feature #14844: Future of RubyVM::AST?
Eregon (Benoit Daloze) wrote:
> I think we should have nodes with methods to access each part/field, such as ModuleDefinitionNode#body, ModuleDefinitionNode#name, etc.
A simpler alternative would be something like `RubyVM::AbstractSy...
Eregon (Benoit Daloze)
10:24 PM Revision c3c4e411 (git): parse.y: suppress warning
* parse.y (parser_append_options): explicitly pass $; when auto
splitting, to suppress the warning for non-nil $;.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:57 PM Revision 396c1846 (git): * 2019-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:56 PM Revision 3ee0648d (git): io.c: warn non-nil $,
* array.c (rb_ary_join_m): warn use of non-nil $,.
* io.c (rb_output_fs_setter): warn when set to non-nil value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:56 PM Revision 4751caec (git): Removed deprecated executable from bundler upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:56 AM Revision b86d87c8 (git): Suppress warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:34 AM Revision 4d1f86a1 (git): string.c: warn non-nil $;
* string.c (rb_str_split_m): warn use of non-nil $;.
* string.c (rb_fs_setter): warn when set to non-nil value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:55 AM Revision eb3d3dfc (git): * 2019-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:55 AM Revision 80282c76 (git): Take over strscan maintenance
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei

04/17/2019

05:34 PM Bug #15774 (Closed): OptionParser doesn't accept Date options as stated in the docs
The documentation for OptionParser states that Date, Time and DateTime are supported types for automatic coertion, however, it raises an error if any of those types are provided to the "on" method: "unsupported argument type: Date".
E...
rosenfeld (Rodrigo Rosenfeld Rosas)
02:09 PM Misc #15723: Reconsider numbered parameters
jeremyevans0 (Jeremy Evans) wrote:
> waheedi (Waheed Barghouthi) wrote:
> ...
Crystal clear. Thanks for the explanation once more.
waheedi (Waheed Barghouthi)
12:59 PM Misc #15723: Reconsider numbered parameters
waheedi (Waheed Barghouthi) wrote:
> But why it can't be like this? `@[0]` I think its more clear, just saying.
If you mean that you would like the intended behavior to be:
```ruby
proc{@[0]}.call(1,2)
# => 1
```
You would o...
jeremyevans0 (Jeremy Evans)
12:34 PM Misc #15723: Reconsider numbered parameters
jeremyevans0 (Jeremy Evans) wrote:
> As I expressed in the developer meeting today, after a lot of thought, I believe if we want to support implicit block arguments, we should limit support to a single argument, and use `@` to represent...
waheedi (Waheed Barghouthi)
12:13 PM Misc #15723: Reconsider numbered parameters
As I expressed in the developer meeting today, after a lot of thought, I believe if we want to support implicit block arguments, we should limit support to a single argument, and use `@` to represent the argument.
As Marc showed, bloc...
jeremyevans0 (Jeremy Evans)
01:20 PM Revision 286f0b8a (git): Added rubygems and bundler entries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:41 AM Revision 82835333 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:41 AM Revision 744e5df7 (git): Reverting compaction for now
For some reason symbols (or classes) are being overridden in trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:24 AM Revision f399134e (git): NEWS: note about recent changes around JIT [ci skip]
This diff is backported from the upcoming preview release note.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
08:53 AM Revision 0f31971a (git): Suppress warning in assertion too
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:42 AM Feature #15741: Ordinal parameters
You make localisation a problem of the language syntax. For example, in the original code: `2rd` is actually not correct, it should be `2nd`. Other localisations are even more complicated, e.g. Russian. ioquatix (Samuel Williams)
08:39 AM Revision a2366a15 (git): Suppress warnings in `make test-all`
suppress "warning: Pattern matching is experimental, and the behavior may change in future versions of Ruby!"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
08:27 AM Feature #15752: A dedicated module for experimental features
I think it's a good idea to reserve a namespace globally shared among Ruby implementations, even if it's up to each implementation whether to follow individual features proposed by other implementations. knu (Akinori MUSHA)
08:19 AM Feature #15752: A dedicated module for experimental features
Using a plural constant name sounds like a good idea because it wouldn't likely conflict with existing model names. 😄 knu (Akinori MUSHA)
07:35 AM Revision ffbcf9f8 (git): downloader.rb: enable cache files
* tool/downloader.rb (Downloader::Unicode.download): enable cache
files when index.html has not been modified since the previous
download, even if beta version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67594 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
07:35 AM Revision c576f140 (git): common.mk: download data and property files together
* common.mk (update-unicode-files): download data and property
files together, not to download index html twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:15 AM Revision bd698312 (git): Fix the format of NODE_IN node
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
07:09 AM Revision 5141398f (git): downloader.rb: use File.read instead of IO.read
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:09 AM Revision 8e6c1a18 (git): common.mk: update auxiliary and emoji files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:48 AM Revision fc9f19ab (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:48 AM Feature #14912 (Closed): Introduce pattern matching syntax
Applied in changeset trunk|r67586.
----------
Introduce pattern matching [EXPERIMENTAL]
[ruby-core:87945] [Feature #14912]
ktsj (Kazuki Tsujimoto)
06:48 AM Revision da8cd2dc (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:48 AM Revision 9c9db64d (git): Define Struct#deconstruct
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
06:48 AM Revision 9738f96f (git): Introduce pattern matching [EXPERIMENTAL]
[ruby-core:87945] [Feature #14912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
06:16 AM Revision b077654a (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:16 AM Revision 281a22a3 (git): Super should be marked regardless of whether or not ext exists
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
06:13 AM Revision 7bd58a4e (git): update super even if there is no ext
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:34 AM Revision e1eb54b9 (git): string.c: improve splitting into chars
* string.c (rb_str_split_m): improve splitting into chars by an
empty string, without a regexp.
Comparison:
to_chars-1
built-ruby: 1273527.6 i/s
compare-ruby: 189423.3 i/s ...
nobu (Nobuyoshi Nakada)
05:19 AM Revision 62c07674 (git): make verification more strict
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:05 AM Feature #14183: "Real" keyword argument
With Jeremy's proposal, I think there is no need to support non-Symbol keywords.
I think in the case of ActiveRecord or Sequel's #where, the method doesn't need to accept keywords, it can just accept a Hash.
This Hash might contain num...
Eregon (Benoit Daloze)
04:05 AM Revision dbc9f43c (git): call verification method in addition to compaction
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:17 AM Revision c54f9a5b (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 AM Revision aee9f249 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 AM Revision 3c55b643 (git): Adding `GC.compact` and compacting GC support.
This commit adds the new method `GC.compact` and compacting GC support.
Please see this issue for caveats:
https://bugs.ruby-lang.org/issues/15626
[Feature #15626]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67576 b2dd03c8-39d...
tenderlovemaking (Aaron Patterson)
01:03 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
[Feature #15765] `Module#name` without global constant search
- Looking for feedback
[Bug #15645] It is possible to escape `Mutex#synchronize` without releasing the mutex
- The suggestion posted as a comment seems to make sense....
alanwu (Alan Wu)

04/16/2019

11:19 PM Feature #14701: If the object is not frozen, I want to be able to redefine the compound assignment operator.
I agree with @shyouhei.
I think it breaks fundamental semantics of Ruby.
An explicit `add` or `add!` is I believe a good sign of the danger of mutating numeric values in place,
and with that we can still guarantee `+=` is safe and rea...
Eregon (Benoit Daloze)
11:12 PM Bug #15773 (Rejected): Net::HTTP doesn't try next IP address in case of timeout
This example requires to have a working IPv6 address. Since IPv6 is used in first priority, I am using it to demonstrate the problem, but it exists with plain IPv4, which will be more round-robin-style, so less deterministic to show a re... nicolasnoble (Nicolas Noble)
05:24 PM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
> 16:00-16:30 (5) new built-in class/method definition (ko1)
Sorry I couldn't make a new ticket about it. I write my idea here.
My RubyKaigi 2019 slide introduce this idea: http://www.atdot.net/~ko1/activities/2019_rubykaigi2019.pd...
ko1 (Koichi Sasada)
03:07 PM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
[Feature #15772] Proposal: Add `Time#ceil`
* I want to hear the opinions of developers.
[Feature #13645] Syntactic sugar for indexing when using the safe navigation operator
* I presented a use case.
osyo (manga osyo)
08:44 AM Misc #15459: DevelopersMeeting before/after RubyKaigi2019
> 12:00-13:20 door open.
My flight will arrive Fukuoka 11:35. So it seems difficult to open at 12:00. It depends on real flight schedule.
If I'm not available please take a sheet in a place (there are some chairs at 5F, Fukuoka Ruby ...
ko1 (Koichi Sasada)
05:02 PM Revision fcd679ed (git): Recompile without method inlining
if cancel happens in an inlined method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
05:02 PM Revision d71b7857 (git): Introduce frame-omitted method inlining
for ISeq including only leaf and no-handles_sp insns except leaf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
05:01 PM Revision b914166f (git): * 2019-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:01 PM Revision b0614dec (git): Implement single-level basic method inlining in JIT
"Basic" means it does not omit a call frame.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:03 PM Feature #15772 (Closed): Proposal: Add Time#ceil
## Summary
proposal for a method that rounds up the decimal part of `Time` (nanosecond) to the specified digit.
## Current status
* `Time#round` and `Time#floor` (https://bugs.ruby-lang.org/issues/15653) are defined.
* Howeve...
osyo (manga osyo)
03:00 PM Feature #13645: Syntactic sugar for indexing when using the safe navigation operator
hi. I would like to use `hash&.[key]` (or `hash&[key]` ) in following cases as below.
```ruby
class X
def initialize
@hash = { a: 1, b: 2, c: 3 }
end
def [](key)
@hash[key]
end
end
def get(key)
x = Symb...
osyo (manga osyo)
10:05 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
There may be a question as to what to do with encodings other than UTF-8. I see three possibilities:
1) Ignore (i.e. leave as is), because who still uses them?
2) Use a rule based on character properties such as letter and digit th...
duerst (Martin Dürst)
07:33 AM Bug #15768 (Closed): "and", &&, boolean issue, different ruby versions, confusing
This is per spec as explained, so I'm closing it.
If you should want to change it, please create a feature request, and explain in detail what the change would do and how it would be backwards compatible.
duerst (Martin Dürst)
04:42 AM Feature #15771 (Feedback): Add `String#split` option to set `split_type string` with a single space separator
When `String#split`'s separator is a single space character, it executes under `split_type: awk`.
When you want to split literally by a single space `" "`, and not a sequence of space characters, you need to take special care. For exa...
284km (kazuma furuhashi)
04:33 AM Bug #15360: "ThreadError: deadlock; recursive locking" error when recursive lock shouldn't be possible
https://github.com/ruby/ruby/pull/2131 nbh (nbh _)
12:02 AM Revision 69418c9f (git): * 2019-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:02 AM Revision fc275b2a (git): Mention SNI support in Net::IMAP
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
 

Also available in: Atom