Project

General

Profile

Activity

From 11/04/2019 to 11/10/2019

11/10/2019

10:57 PM Feature #16253: Shorthand "forward everything" syntax
jeremyevans0 (Jeremy Evans) wrote:
> It is true that this means the syntax only handles a subset of delegation metho...
Eregon (Benoit Daloze)
09:41 PM Feature #16253: Shorthand "forward everything" syntax
Eregon (Benoit Daloze) wrote:
> Is it intentional that this ticket was closed but `def m(meth, ...)` is a SyntaxErro...
jeremyevans0 (Jeremy Evans)
09:23 PM Feature #16253 (Open): Shorthand "forward everything" syntax
Is it intentional that this ticket was closed but `def m(meth, ...)` is a SyntaxError?
I'm going to reopen this, b...
Eregon (Benoit Daloze)
10:39 AM Feature #16253: Shorthand "forward everything" syntax
Eregon (Benoit Daloze) wrote:
> Note: this feature allows `def m(...)` but not `def m(meth, ...)` on current Ruby ma...
mame (Yusuke Endoh)
10:27 AM Feature #16253: Shorthand "forward everything" syntax
Note: this feature allows `def m(...)` but not `def m(meth, ...)` on current Ruby master.
I found that in some cas...
Eregon (Benoit Daloze)
10:44 PM Misc #16333: DevelopersMeeting20191112Online to confirm Ruby 2.7 spec
I'd be interested to attend but I think those hours will be too early for me (5-9 AM CET).
I think we should discu...
Eregon (Benoit Daloze)
01:03 PM Misc #16333: DevelopersMeeting20191112Online to confirm Ruby 2.7 spec
Sorry for the question, I assume this here is meant mostly for core devs:
Will there be some kind of summary in en...
shevegen (Robert A. Heiler)
10:20 PM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Just to provide some context on the extent of the issue.
Running the spec suite for Discourse results in 2,698,774...
sam.saffron (Sam Saffron)
11:24 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
I updated the benchmark results above and measured on this branch.
It's ~100x faster in that micro benchmark.
If ...
Eregon (Benoit Daloze)
10:12 PM Revision a7338939 (git): Fix uplevel of test_jit
k0kubun (Takashi Kokubun)
09:54 PM Revision fcd9bc28 (git): qsymbols and symbols should be colored as Symbol
k0kubun (Takashi Kokubun)
09:41 PM Revision 25c53a8e (git): Colorize on_symbols_beg (%I)
k0kubun (Takashi Kokubun)
09:34 PM Revision 958d954a (git): * 2019-11-11 [ci skip]
git[bot]
09:33 PM Revision b5996b25 (git): Colorize string quotes as bold
like pry k0kubun (Takashi Kokubun)
02:00 PM Misc #16262: DevelopersMeeting20191128Japan
* [Misc #16291] Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_fre... methodmissing (Lourens Naudé)
01:53 PM Feature #15917 (Closed): Pattern matching for Struct
ktsj (Kazuki Tsujimoto)
01:40 PM Feature #16182 (Open): Should `expr in a, b, c` be allowed or not?
ktsj (Kazuki Tsujimoto)
01:39 PM Feature #16182 (Closed): Should `expr in a, b, c` be allowed or not?
Applied in changeset commit:git|6e70fa49b111e2a2839297b057a3df354cae265a.
----------
Disallow omission of parenthese...
ktsj (Kazuki Tsujimoto)
01:34 PM Revision 6e70fa49 (git): Disallow omission of parentheses/brackets in single line pattern matching [Feature #16182]
ktsj (Kazuki Tsujimoto)
01:21 PM Revision ef03d48c (git): Fix a typo
Yuichiro Kaneko
10:20 AM Feature #16296: Alternative behavior for `...` in method body if `...` is not in method definition
On current master `def m(a, ...); end` is a syntax error.
So I think we need to confirm first whether we will allow ...
Eregon (Benoit Daloze)
05:56 AM Revision 4570284c (git): Test opt_invokebuiltin_delegate_leave in test_jit
k0kubun (Takashi Kokubun)
05:40 AM Revision 5c168c7e (git): Support RB_BUILTIN in ISeq#to_a
k0kubun (Takashi Kokubun)
05:16 AM Revision 0483d01f (git): Test invokebuiltin in test_jit
ISeq#to_a is commented out because it's broken now k0kubun (Takashi Kokubun)
01:52 AM Revision 11aa07c2 (git): Define NULLCMD as printing NUL [Bug #16331]
nobu (Nobuyoshi Nakada)
01:10 AM Revision 2c55ba71 (git): Define NULLCMD as an empty label [Bug #16331]
nobu (Nobuyoshi Nakada)
12:27 AM Bug #16331 (Closed): fails to build with BSD make when any -j option is given (including -j 1)
Applied in changeset commit:git|faa4f4f23fbb6b48b158cc38d9b509fd00838976.
----------
Get rid of FreeBSD make incompa...
nobu (Nobuyoshi Nakada)
12:27 AM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
[email protected] (Koichiro Iwao) wrote:
> One of the FreeBSD folks Yuichiro NAITO provided more detail.
>
> See comm...
nobu (Nobuyoshi Nakada)
12:26 AM Revision faa4f4f2 (git): Get rid of FreeBSD make incompatibility [Bug #16331]
FreeBSD make works differently with `-j` option.
> -j max_jobs
> Specify the maximum number of jobs that `m...
nobu (Nobuyoshi Nakada)

11/09/2019

09:23 PM Revision ff767dd9 (git): * 2019-11-10 [ci skip]
git[bot]
09:22 PM Revision e0094df2 (git): Extend sleep duration for Solaris
k0kubun (Takashi Kokubun)
02:00 PM Revision 03fdf023 (git): Removed trial and errors
nobu (Nobuyoshi Nakada)
01:40 PM Revision a68205c5 (git): Specify the permission
To make the temporary directory non-writable by group and others. nobu (Nobuyoshi Nakada)
01:15 PM Revision 774cfb06 (git): Fixed the debug print
nobu (Nobuyoshi Nakada)
12:59 PM Revision 20bc038e (git): Debug-print tmpdir info
nobu (Nobuyoshi Nakada)
12:36 PM Revision f48655d0 (git): Remove unneeded exec bits from some files
I noticed that some files in rubygems were executable, and I could think
of no reason why they should be.
In general...
deivid (David Rodríguez)
12:16 PM Revision fcf37ca2 (git): Fix builtin scirpt paths
Do not search builtin scripts by using VPATH, to get rid of weird
nmake VPATH.
nobu (Nobuyoshi Nakada)
12:12 PM Revision 79f0e7aa (git): Fix typos
ktsj (Kazuki Tsujimoto)
11:16 AM Bug #16337 (Closed): kernel_gem.rb:68 - ThreadError
Applied in changeset commit:git|fdfad905227a0e2e4c224d87181041fb75d5082e.
----------
Revert "Promote uri to default ...
hsbt (Hiroshi SHIBATA)
07:22 AM Bug #16337: kernel_gem.rb:68 - ThreadError
`rm $(gem env gemdir)/specifications/default/uri-0.10.0.gemspec` is workaround.
But I don't know why.
znz (Kazuhiro NISHIYAMA)
04:35 AM Bug #16337 (Third Party's Issue): kernel_gem.rb:68 - ThreadError
Found with ruby-loco CLI tests
See: https://ci.appveyor.com/project/MSP-Greg/ruby-loco/builds/28731823#L2922
``...
MSP-Greg (Greg L)
11:16 AM Revision fdfad905 (git): Revert "Promote uri to default gems"
This reverts commit c5b4d2a2592942766dc2789f46105b91eba7026a.
This commit affects with activation feature of RubyG...
hsbt (Hiroshi SHIBATA)
11:08 AM Revision 4dd1caa1 (git): Updated miniprelude.o dependency
nobu (Nobuyoshi Nakada)
10:43 AM Revision e3c85244 (git): Full-path of builtin scripts no longer needed
nobu (Nobuyoshi Nakada)
10:28 AM Revision dfaac2b3 (git): Embed builtin ruby scripts in miniprelude.c
Instead of reading from the files by the full-path at runtime. As
rbinc files need to be included in distributed tar...
nobu (Nobuyoshi Nakada)
10:15 AM Revision 4dc4b189 (git): Fixed commit miss
nobu (Nobuyoshi Nakada)
10:14 AM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
[email protected] (Koichiro Iwao) wrote:
> Now it turned out the build fails even `-j 1` is specified. Any value to `-j`...
naruse (Yui NARUSE)
09:45 AM Revision 95aed94d (git): Fixed `#line` directives in miniprelude.c
nobu (Nobuyoshi Nakada)
07:45 AM Revision 352096ef (git): Add debug print
znz (Kazuhiro NISHIYAMA)
07:18 AM Revision 43ceedec (git): use STACK_ADDR_FROM_TOP()
vm_invoke_builtin() accesses VM stack via cfp->sp. However, MJIT
can use their own stack. To access them appropriatel...
ko1 (Koichi Sasada)
06:20 AM Revision 50bc7e7e (git): Add debug print
http://ci.rvm.jp/results/trunk-mjit@silicon-docker/2380788
```
test_all #<Thread:0x000055b6c8e9fca8@/tmp/...
znz (Kazuhiro NISHIYAMA)
02:08 AM Revision 352887b7 (git): Remove YAML::VERSION because it conflicts with Psych::VERSION
hsbt (Hiroshi SHIBATA)
01:04 AM Revision 21f7cca2 (git): initialize kw special local var.
A method which has keyword parameters has an implicit local variable
to specify which keywords are (un)specified.
vm...
ko1 (Koichi Sasada)

11/08/2019

11:26 PM Feature #16336: Allow private constants to be accessed with absolute references
This would make private constant handling inconsistent with private method handling:
```
class A
def self.b
...
jeremyevans0 (Jeremy Evans)
08:54 PM Feature #16336 (Open): Allow private constants to be accessed with absolute references
The purpose of constant privacy is to keep a constant from being accessed from outside the namespace. As such, it ca... dylants (Dylan Thacker-Smith)
11:13 PM Feature #16335: C Ruby time.c leap_year_p and date_core.c c_gregorian_leap_p - two suggestions for minor changes
Can you please provide a patch for CRuby and benchmark results showing the extent of the performance improvement? jeremyevans0 (Jeremy Evans)
05:01 PM Feature #16335: C Ruby time.c leap_year_p and date_core.c c_gregorian_leap_p - two suggestions for minor changes
colin13rg (Colin Bartlett) wrote:
...
> But if we rebracket the return statements as, for example:
> return ...
wishdev (John Higgins)
04:34 PM Feature #16335 (Closed): C Ruby time.c leap_year_p and date_core.c c_gregorian_leap_p - two suggestions for minor changes
This isn't a bug report because as written they work correctly.
But I think they are sub-optimal, and with minor cha...
colin13rg (Colin Bartlett)
10:51 PM Revision 3c7e764d (git): merge revision(s) 6333020fc924d3ae63775c032bbe8f57364cd42e:
atime may not updated unless strictatime is set on macOS Catalina
Cited from mount(8):
```
...
nagachika (Tomoyuki Chikanaga)
10:32 PM Revision c5b4d2a2 (git): Promote uri to default gems
hsbt (Hiroshi SHIBATA)
10:32 PM Revision 8c9438d2 (git): Promote yaml to default gems
hsbt (Hiroshi SHIBATA)
10:32 PM Revision 2a0ed569 (git): Promote timeout to default gems
hsbt (Hiroshi SHIBATA)
10:32 PM Revision 9a90a4d9 (git): Fixup 368ee984ed52f6abe1fdf8360ad72e6cf1cbfa66
hsbt (Hiroshi SHIBATA)
10:32 PM Revision 5f206ceb (git): Promote observer to default gems. But not yet released
hsbt (Hiroshi SHIBATA)
10:32 PM Revision 3d731c36 (git): Promote readline to default gems named readline-ext
hsbt (Hiroshi SHIBATA)
10:32 PM Revision fc1d06b2 (git): Added gemspec for readline gem that is wrapper library for reline and readline extension
hsbt (Hiroshi SHIBATA)
10:31 PM Feature #16291: Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_freeze for String and Array types
Results of `Array#frozen` -> `rb_ary_freeze` with shrink support as per suggestion from Shyouhei:
```
lourens@Car...
methodmissing (Lourens Naudé)
10:09 PM Revision b5d88492 (git): Revert "don't embed full-path."
This reverts commit dfac2e9eb3d697e56d91151584f1d3cf9d2c79c9.
It does not work if cwd is different from builddir...
ko1 (Koichi Sasada)
09:57 PM Revision dfac2e9e (git): don't embed full-path.
miniruby load *.rb from srcdir. To specify file path,
tool/mk_builtin_loader.rb embed full path of each *.rb file.
Ho...
ko1 (Koichi Sasada)
08:41 PM Revision 3b6954f8 (git): Fix passing actual object_id to finalizer
Previously we were passing the memory_id. This was broken previously if
compaction was run (which changes the memory_...
jhawthorn (John Hawthorn)
06:09 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
> Some `.ext/common/*.rb` files are newer than `.ext/.timestamp/.RUBYCOMMONDIR.time` file.
> That is the reason of t...
jaruga (Jun Aruga)
03:40 PM Bug #16334: Wrong line numbers for multiline method chains
A new line number counting mechanism was introduced at 2.6. The patch would be too big to backport to 2.5. @usa, wh... mame (Yusuke Endoh)
03:15 PM Bug #16334 (Closed): Wrong line numbers for multiline method chains
I faced a strange distribution of line numbers in bytecode for multiline expressions like this:
```
class Test
d...
ViugiNick (Nickolay Viuginov)
03:25 PM Revision 9deca1a3 (git): Try to fix test-spec failure on macOS
Not sure what is happening, but spec/ruby/security/cve_2018_6914_spec.rb
fails on macOS.
https://github.com/ruby/ruby...
mame (Yusuke Endoh)
03:21 PM Revision 88b9a0f7 (git): Prettify builtin_binary format
nobu (Nobuyoshi Nakada)
03:04 PM Revision cd706c52 (git): * 2019-11-09 [ci skip]
git[bot]
03:03 PM Revision 579aa4dc (git): Fixed the dependency
nobu (Nobuyoshi Nakada)
02:59 PM Revision 248d0008 (git): Added pack.rb to BUILTIN_RB_SRCS
nobu (Nobuyoshi Nakada)
02:51 PM Revision a3141e3c (git): Rubified the APIs of pack.c
mame (Yusuke Endoh)
02:29 PM Revision 882179a0 (git): tool/mk_builtin_loader.rb: check if op is an array or not
The insn array includes not only an array but also some literal objects. mame (Yusuke Endoh)
02:25 PM Feature #14183: "Real" keyword argument
Dan0042 (Daniel DeLorme) wrote:
> Did you try counting how many unique warnings were generated? I'm interested in ex...
mame (Yusuke Endoh)
01:50 PM Feature #14183: "Real" keyword argument
> As it stands the deprecation warning writes to STDERR every time it hits a bad usage. Running our spec suite causes... Dan0042 (Daniel DeLorme)
10:14 AM Feature #14183: "Real" keyword argument
Hi @sam.saffron , the issue you are talking about is being discussed in #16289.
It might be a good idea to limit u...
mame (Yusuke Endoh)
07:01 AM Feature #14183: "Real" keyword argument
Matz said:
> If we made the decision, we will make it warn you first for a year or two before the actual change.
...
sam.saffron (Sam Saffron)
02:00 PM Revision 11e21f19 (git): Make prefix static
nobu (Nobuyoshi Nakada)
01:31 PM Revision ff2d9940 (git): Update builtin include files
nobu (Nobuyoshi Nakada)
09:49 AM Revision 7acf7a4f (git): Add VPATH to rbinc rule for nmake
nobu (Nobuyoshi Nakada)
08:37 AM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
Now it turned out the build fails even `-j 1` is specified. Any value to `-j` option will fail.
Not giving `-j` opti...
[email protected] (Koichiro Iwao)
03:31 AM Bug #16331: fails to build with BSD make when any -j option is given (including -j 1)
One of the FreeBSD folks Yuichiro NAITO provided more detail.
See comment 13:
https://bugs.freebsd.org/bugzilla/s...
[email protected] (Koichiro Iwao)
08:29 AM Revision a4933de6 (git): merge revision(s) 6333020fc924d3ae63775c032bbe8f57364cd42e:
atime may not updated unless strictatime is set on macOS Catalina
Cited from mount(8):
```
...
U.Nakamura
07:38 AM Revision e02b8194 (git): delete cc->aux.inc_sp
Nobody uses it. shyouhei (Shyouhei Urabe)
07:37 AM Revision 2e29b651 (git): Add file mode to generated files [ci skip]
nobu (Nobuyoshi Nakada)
07:31 AM Revision 99b1c19b (git): builtin.h must be included *AFTER* vm_core.h
nobu (Nobuyoshi Nakada)
07:30 AM Revision 20971799 (git): Renamed `load_*.inc` as `*.rbinc` to utilize a suffix rule
nobu (Nobuyoshi Nakada)
07:18 AM Revision 6e72b728 (git): Suppress "shadowing outer local variable" warning in 2.5
aycabta (aycabta .)
07:16 AM Revision 83c563cf (git): cstr -> bytes
rb_iseq_ibf_load_cstr() accepts bytes, but not NUL-terminate
C string. To make it clear, rename it to _bytes.
ko1 (Koichi Sasada)
06:32 AM Revision 0b296626 (git): fix line break code (fix to LF)
ko1 (Koichi Sasada)
06:29 AM Revision 054cb6d3 (git): forget to add gc.rb
ko1 (Koichi Sasada)
06:29 AM Revision 8fa41971 (git): use builtins for GC.
Define a part of GC in gc.rb. ko1 (Koichi Sasada)
06:29 AM Revision 2eb02dfd (git): Stop compiling if type mismatch was found.
If there is a type mismatch between expected builtin function type
and actual function type, C compiler shows warning...
ko1 (Koichi Sasada)
05:28 AM Feature #14912: Introduce pattern matching syntax
@pitr.ch
Matz rejcted your proposal.
Please check https://bugs.ruby-lang.org/issues/15930 for more details.
ktsj (Kazuki Tsujimoto)
05:26 AM Revision 0ad0a8ff (git): builtin.h must be included *AFTER* vm_core.h
nobu (Nobuyoshi Nakada)
04:21 AM Revision 61cff5c5 (git): Removed BOM [ci skip]
nobu (Nobuyoshi Nakada)
03:44 AM Revision cfccd59c (git): Fix typo
ktsj (Kazuki Tsujimoto)
03:09 AM Revision 90fc5552 (git): name the result of calccall
This is a pure refactoring for better understanding of what is
happening here. Should change nothing but readability.
shyouhei (Shyouhei Urabe)
02:37 AM Revision d4da74ea (git): Define Struct#deconstruct_keys
ktsj (Kazuki Tsujimoto)
02:12 AM Revision 76611501 (git): revival of __func__
dad2abc69fdd1af52df353b8604017bd6a5c6a99 deleted __func__ but ruby
already use this feature under RUBY_FUNCTION_NAME_...
shyouhei (Shyouhei Urabe)
01:31 AM Revision a1a08ac9 (git): describe vm_cache_check_for_class_serial [ci skip]
Added comments describing what it is. Requested by ko1. shyouhei (Shyouhei Urabe)
01:10 AM Revision eaa011ff (git): Change requirements of BASERUBY.
"BASERUBY: Ruby 1.9.3" test on Travis-CI checks builds on Ruby 1.9.3.
However this version is too old and 46acd0075d ...
ko1 (Koichi Sasada)
01:03 AM Revision 365557f1 (git): Define IO#read/write_nonblock with builtins.
IO#read/write_nonblock methods are defined in prelude.rb with
special private method __read/write_nonblock to reduce ...
ko1 (Koichi Sasada)
01:03 AM Revision dad2abc6 (git): do not use __func__.
Microsoft Visual Studio 12.0 doesn't support it. ko1 (Koichi Sasada)
12:30 AM Revision 08ff9edb (git): fix line break code (fix to LF)
ko1 (Koichi Sasada)
12:26 AM Revision 46b9ca6c (git): fix type
ko1 (Koichi Sasada)
12:09 AM Feature #16254 (Closed): MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
Applied in changeset commit:git|46acd0075d80c2f886498f089fde1e9d795d50c4.
----------
support builtin features with R...
ko1 (Koichi Sasada)
12:09 AM Revision 4c00b9e8 (git): * remove trailing spaces. [ci skip]
git[bot]
12:09 AM Revision a47d058e (git): use builtin for RubyVM::AbstractSyntaxTree.
Define RubyVM::AbstractSyntaxTree in ast.rb
with __builtin functions.
ko1 (Koichi Sasada)
12:09 AM Revision e2a45cb9 (git): use builtin for TracePoint.
Define TracePoint in trace_point.rb and use __builtin_ syntax. ko1 (Koichi Sasada)
12:09 AM Revision 46acd007 (git): support builtin features with Ruby and C.
Support loading builtin features written in Ruby, which implement
with C builtin functions.
[Feature #16254]
Several...
ko1 (Koichi Sasada)

11/07/2019

09:43 PM Misc #16333 (Closed): DevelopersMeeting20191112Online to confirm Ruby 2.7 spec
Hi, we will open DevMeeting with Matz.
Date: 2019/11/12 13:00-17:00
Place: online meeting (ask me if you want to ...
ko1 (Koichi Sasada)
09:35 PM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
Eregon (Benoit Daloze) wrote:
> A common syntax for intrinsics/primitives would allow to share Ruby code for core cl...
ko1 (Koichi Sasada)
09:32 PM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
Design change:
(1) Table auto generation
> Should we maintain intrinsic function table?
I wrote "yes", but ...
ko1 (Koichi Sasada)
08:46 PM Revision dddf5afb (git): Add a counter for compaction
Keep track of the number of times the compactor ran. I would like to
use this as a way to keep track of inline cache...
tenderlovemaking (Aaron Patterson)
08:43 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
jaruga (Jun Aruga) wrote:
> Shall we add debug code to investigate a random "make install" error on arm64 to `.travi...
jaruga (Jun Aruga)
02:37 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
Ah I see. Thank you for your help, Eregon!
jaruga (Jun Aruga)
06:32 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
Dan0042 (Daniel DeLorme) wrote:
> Is there a benefit to the change apart from consistency? A concrete benefit I mean...
Eregon (Benoit Daloze)
05:31 PM Revision 597ec435 (git): * 2019-11-08 [ci skip]
git[bot]
05:31 PM Revision b99833ba (git): Use a monotonically increasing number for object_id
This changes object_id from being based on the objects location in
memory (or a nearby memory location in the case of...
jhawthorn (John Hawthorn)
04:42 PM Bug #16332 (Closed): `defined?` constant access on `nil` is inconsistent with normal constant access
The fix for https://bugs.ruby-lang.org/issues/11718 to disallow constant access through `nil` (e.g. `nil::CONSTANT`) ... dylants (Dylan Thacker-Smith)
04:09 PM Feature #16295: Chainable aliases for String#-@ and String#+@
It would be nice to see some real-world examples where chaining of these methods makes sense. `"foo".-.size` (always ... Dan0042 (Daniel DeLorme)
04:42 AM Feature #16295: Chainable aliases for String#-@ and String#+@
For what it's worth, I'm not *against* `#dedup` per se. `-@` is great for signalling a frozen literal, but in the co... phluid61 (Matthew Kerwin)
03:56 AM Feature #16295: Chainable aliases for String#-@ and String#+@
@phluid61 Sorry bout that. I should have checked the history before posting my misleading comment!
alanwu (Alan Wu)
03:05 AM Feature #16295: Chainable aliases for String#-@ and String#+@
alanwu (Alan Wu) wrote:
> I like `dedup` too. `-@` was introduced to expose deduplication in the first place.
#11...
phluid61 (Matthew Kerwin)
12:31 AM Feature #16295: Chainable aliases for String#-@ and String#+@
I like `dedup` too. `-@` was introduced to expose deduplication in the first place.
Usages I've seen all have to do ...
alanwu (Alan Wu)
04:00 PM Feature #1089: Stable sorting for sort and sort_by
sawa wrote:
> Do you really mean it's sad? Or do you mean it's said?
I think he meant "sad", rather than "said"...
shevegen (Robert A. Heiler)
04:29 AM Feature #1089: Stable sorting for sort and sort_by
rogerdpack (Roger Pack) wrote:
> It's sad that #sort on linux is "mostly stable" but on OS X is unstable [1]. It's ...
sawa (Tsuyoshi Sawada)
03:58 AM Feature #1089: Stable sorting for sort and sort_by
It's sad that #sort on linux is "mostly stable" but on OS X is unstable [1]. It's confusing, unfortunately.
Since a...
rogerdpack (Roger Pack)
02:43 PM Feature #16276: For consideration: "private do...end" / "protected do...end"
> - Possibility #3: renders SyntaxError. This requires a massive rewrite of our parser. Theoretically possible but ... Dan0042 (Daniel DeLorme)
05:09 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
adh1003 (Andrew Hodgkinson) wrote:
> shyouhei (Shyouhei Urabe) wrote:
>
> > I can think of other cursed usages of...
mame (Yusuke Endoh)
12:02 AM Feature #16276: For consideration: "private do...end" / "protected do...end"
shyouhei (Shyouhei Urabe) wrote:
> I can think of other cursed usages of private taking a block.
Then it is for...
adh1003 (Andrew Hodgkinson)
02:33 PM Revision d62abc47 (git): Suppress unused variable warning
nobu (Nobuyoshi Nakada)
09:53 AM Revision 6aa80d55 (git): Use FIX2LONG instead of FIX2INT like 26843cbcd0
naruse (Yui NARUSE)
09:50 AM Revision 26843cbc (git): Use FIX2LONG to avoid unexpected exception
Though it won't happen in the real world in this context, FIX2INT may
raise an exception and it cause to generate ext...
naruse (Yui NARUSE)
08:41 AM Revision d45a013a (git): extend rb_call_cache
Prior to this changeset, majority of inline cache mishits resulted
into the same method entry when rb_callable_method...
shyouhei (Shyouhei Urabe)
08:09 AM Revision 3c252651 (git): Fixed test failure related Net::Protocol
hsbt (Hiroshi SHIBATA)
08:04 AM Bug #16331 (Closed): fails to build with BSD make when any -j option is given (including -j 1)
When building Ruby parallely with BSD make (FreeBSD make), it fails to build.
Reported by FreeBSD Ruby folks. Please...
[email protected] (Koichiro Iwao)
07:44 AM Revision c916f960 (git): SMTP is not module
hsbt (Hiroshi SHIBATA)
07:36 AM Revision fc85bdeb (git): Promote cgi to default gems
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 223d3c46 (git): Promote net-smtp to default gems
hsbt (Hiroshi SHIBATA)
07:36 AM Revision eb0b1359 (git): Promote net-pop to default gems
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 77c94e0d (git): Promote benchmark to default gems
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 1159dbf3 (git): Promote delegate to default gems
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 3b0bd340 (git): Promote pstore to default gems
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 6797c3e3 (git): Promote getoptlong to default gems
hsbt (Hiroshi SHIBATA)
07:36 AM Revision 478f6e2b (git): Fixed an Errno::ENOENT with non-test libraries
hsbt (Hiroshi SHIBATA)
06:40 AM Revision a396bef8 (git): Disallow duplicated pattern variable
ktsj (Kazuki Tsujimoto)
04:45 AM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
For the record: I am even surprised with myself, but I am not really used to the new order of the backtrace. I may b... mame (Yusuke Endoh)
04:20 AM Revision 1e620c67 (git): Add missing semicolon
ktsj (Kazuki Tsujimoto)
12:31 AM Revision d0d743ad (git): Remove duplicate code
These functions are the same, so remove one.
Co-authored-by: John Hawthorn <[email protected]>
tenderlovemaking (Aaron Patterson)

11/06/2019

11:12 PM Revision e58814d1 (git): Revert "Use a monotonically increasing number for object_id"
This reverts commit bd2b314a05ae9192b3143e1e678a37c370d8a9ce. tenderlovemaking (Aaron Patterson)
10:59 PM Revision bd2b314a (git): Use a monotonically increasing number for object_id
This changes object_id from being based on the objects location in
memory (or a nearby memory location in the case of...
jhawthorn (John Hawthorn)
10:16 PM Revision d1630d41 (git): Promote open3 to default gems
hsbt (Hiroshi SHIBATA)
10:16 PM Revision fb7fe7f1 (git): Added rubygems url for published gem
hsbt (Hiroshi SHIBATA)
10:16 PM Revision ec2603c3 (git): fallback standard structure library to sync_lib_gem method
hsbt (Hiroshi SHIBATA)
10:16 PM Revision 91135f6d (git): Promote singleton to default gems
hsbt (Hiroshi SHIBATA)
10:12 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
Fixed in 40e161a61238625e1ef021311759b2159be5b50a Eregon (Benoit Daloze)
10:08 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
RUBY_PLATFORM is `armv8l-linux-eabi` there, I'll adapt the `platform_is` guard. Eregon (Benoit Daloze)
10:07 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
About the clock_getres() specs, it seems they fail because I guess on Drone CI, clock_getres(CLOCK_PROCESS_CPUTIME_ID... Eregon (Benoit Daloze)
07:26 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
As another issue, there are 2 test failures in spec/ruby/core/process/clock_getres_spec.rb on Drone CI arm32 case.
...
jaruga (Jun Aruga)
07:09 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
Shall we add debug code to investigate a random "make install" error on arm64 to `.travis.yml`?
At least we can remo...
jaruga (Jun Aruga)
05:11 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
I sent a pull-request to fix following failure on Travis arm64.
https://github.com/ruby/ruby/pull/2653
```
1)
P...
jaruga (Jun Aruga)
10:10 PM Revision 40e161a6 (git): Exclude some clocks on armv8 too
* See https://bugs.ruby-lang.org/issues/16234#note-16 Eregon (Benoit Daloze)
08:45 PM Feature #16295: Chainable aliases for String#-@ and String#+@
byroot (Jean Boussier) wrote:
> phluid61 (Matthew Kerwin) wrote:
> > It doesn't exactly fit the way messages are na...
phluid61 (Matthew Kerwin)
10:59 AM Feature #16295: Chainable aliases for String#-@ and String#+@
phluid61 (Matthew Kerwin) wrote:
> It doesn't exactly fit the way messages are named in Ruby, but how about:
>
> ...
byroot (Jean Boussier)
05:53 PM Revision a1be11eb (git): Revert "Remove arm64 from allow_failures"
This reverts commit 212f4d49bac844b3c0fa52f2185b3df30aa62e75.
It worked on PR, but master branch builds have another...
k0kubun (Takashi Kokubun)
05:10 PM Revision 212f4d49 (git): Remove arm64 from allow_failures
k0kubun (Takashi Kokubun)
05:09 PM Revision 7750edd1 (git): * 2019-11-07 [ci skip]
git[bot]
05:08 PM Revision f5c7fc49 (git): Fix spawn_spec.rb for Travis arm64 environment.
The process group id (/proc/[pid]/stat 5th field) is 0
in the Travis arm64 environment.
This is a case where it is a...
Jun Aruga
11:09 AM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
> I think we all agree this is a good way to "deprecate" methods returning mutable strings and let them return frozen... byroot (Jean Boussier)
10:49 AM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
Dan0042 (Daniel DeLorme) wrote:
> And for that I think it's necessary to handle the situation of `str = str.dup if s...
Eregon (Benoit Daloze)
10:37 AM Feature #16150: Add a way to request a frozen string from to_s
hsbt (Hiroshi SHIBATA) wrote:
> This discussion started with "how big the incompatibility is?" at https://bugs.ruby-...
Eregon (Benoit Daloze)
10:27 AM Feature #16150: Add a way to request a frozen string from to_s
duerst (Martin Dürst) wrote:
> I didn't find the text "a possible incompatibility reported by one user" anywhere in ...
Eregon (Benoit Daloze)
12:34 AM Feature #16150: Add a way to request a frozen string from to_s
This discussion started with "how big the incompatibility is?" at https://bugs.ruby-lang.org/issues/16150#note-18
...
hsbt (Hiroshi SHIBATA)
12:29 AM Feature #16150: Add a way to request a frozen string from to_s
Just to cross-check:
Eregon (Benoit Daloze) wrote:
> I find it frustrating that the change is reverted without ...
duerst (Martin Dürst)
03:46 AM Bug #16293 (Closed): Numbered parameter confirmation in Ruby 2.7
Applied in changeset commit:git|82e840ad15bba42b399a21de746967a731240ec2.
----------
Numbered parameter cannot appea...
nobu (Nobuyoshi Nakada)
03:45 AM Bug #16293: Numbered parameter confirmation in Ruby 2.7
> ```ruby
> def _1; end
>
> # expected: warning: `_1' is used as numbered parameter
> # actual: No warning
> # ...
nobu (Nobuyoshi Nakada)
12:58 AM Bug #16293: Numbered parameter confirmation in Ruby 2.7
Thank you all.
I updated text.
osyo (manga osyo)
03:45 AM Revision 2fd46554 (git): Numbered parameter is an ID_LOCAL now [Bug #16293]
nobu (Nobuyoshi Nakada)
03:44 AM Revision 82e840ad (git): Numbered parameter cannot appear outside block now [Bug #16293]
nobu (Nobuyoshi Nakada)
02:17 AM Revision f72dc407 (git): Prohibit calling undefined allocator [Bug #16297]
nobu (Nobuyoshi Nakada)
02:16 AM Bug #16297 (Closed): calling undefined allocator by `Class.instance_method(:allocate)`
For instance, `Rational.allocate` is undefined.
```ruby
Rational.allocate #=> undefined method `allocate' for Rat...
nobu (Nobuyoshi Nakada)
01:11 AM Feature #16294: Make MatchData frozen and forbid MatchData.allocate
I'm not against the proposal itself, but is it okay to introduce an incompatibility at this time? cc: @naruse mame (Yusuke Endoh)
12:05 AM Feature #16294: Make MatchData frozen and forbid MatchData.allocate
It would be OK to remove `MatchData.allocate`, I think.
And `Regexp.allocate` too, but rubyspec has a couple of code...
nobu (Nobuyoshi Nakada)
12:04 AM Feature #16294 (Closed): Make MatchData frozen and forbid MatchData.allocate
Applied in changeset commit:git|aa94245a09887f95bc0cd353b3462108d76d13ed.
----------
Undefine MatchData.allocate [Fe...
nobu (Nobuyoshi Nakada)
12:56 AM Feature #16296: Alternative behavior for `...` in method body if `...` is not in method definition
This proposal would change ... though and add a new meaning.
People then have to remember that ... can be omitted in...
shevegen (Robert A. Heiler)
12:46 AM Revision 5251d189 (git): Time#strftime does not support `%Q`
```
% ruby -r date -e 't=Time.utc(2001,2,3,4,5,6,7);p t; p [t, t.to_date, t.to_datetime].map{|d|d.strftime("%Q")}'
20...
znz (Kazuhiro NISHIYAMA)

11/05/2019

11:54 PM Revision aa94245a (git): Undefine MatchData.allocate [Feature #16294]
nobu (Nobuyoshi Nakada)
10:24 PM Feature #16150: Add a way to request a frozen string from to_s
I'm sorry if the above is rude.
I find it frustrating that the change is reverted without much else than "a possib...
Eregon (Benoit Daloze)
09:30 PM Feature #16150: Add a way to request a frozen string from to_s
naruse (Yui NARUSE) wrote:
> As already Matz stated, I reverted this at bea322a3.
So you reverted without a singl...
Eregon (Benoit Daloze)
11:00 AM Feature #16150: Add a way to request a frozen string from to_s
If that change is reverted, could we make it a deprecation instead?
Any idea how such deprecation warning would be...
byroot (Jean Boussier)
08:38 AM Feature #16150 (Open): Add a way to request a frozen string from to_s
Eregon (Benoit Daloze) wrote:
> I agree it's not ideal, but I also feel it's really not the biggest problem for Ruby...
naruse (Yui NARUSE)
09:16 PM Feature #16103: Make the dot-colon method reference frozen
FWIW, I think it would be better to freeze all Method and UnboundMethod objects.
Is there any use-case for adding in...
Eregon (Benoit Daloze)
09:12 PM Feature #16295: Chainable aliases for String#-@ and String#+@
I like `#dedup` for `String#-@`, partly for the relation with `#dup`.
For `String#+@`, I'd propose `#buffer` like ...
Eregon (Benoit Daloze)
08:56 PM Feature #16295: Chainable aliases for String#-@ and String#+@
It doesn't exactly fit the way messages are named in Ruby, but how about:
```ruby
alias -@ frozen
alias +@ thawe...
phluid61 (Matthew Kerwin)
04:33 PM Feature #16295: Chainable aliases for String#-@ and String#+@
I agree that + and - are not very elegant, as names. They are not very meaningful (as names).
On the other hand th...
shevegen (Robert A. Heiler)
01:44 PM Feature #16295 (Closed): Chainable aliases for String#-@ and String#+@
Original discussion https://bugs.ruby-lang.org/issues/16150?next_issue_id=16147&prev_issue_id=16153#note-40
In #16...
byroot (Jean Boussier)
04:53 PM Feature #16296 (Open): Alternative behavior for `...` in method body if `...` is not in method definition
In #16253 we settled on a syntax where the remainder arguments captured via `...` in the method definition can be for... Dan0042 (Daniel DeLorme)
04:24 PM Revision 7460c884 (git): Use an identity hash for pinning Ripper objects
Ripper reuses parse.y for its implementation. Ripper changes the
grammar productions to sometimes return Ruby object...
tenderlovemaking (Aaron Patterson)
04:18 PM Bug #16293: Numbered parameter confirmation in Ruby 2.7
The present behaviour:
```ruby
def _1; end
```
seems correct and osyo's example of expecting a warning instea...
shevegen (Robert A. Heiler)
01:05 PM Bug #16293: Numbered parameter confirmation in Ruby 2.7
It is difficult for me to analyze this ticket, too. Could you write your expectations and the actual results?
```...
mame (Yusuke Endoh)
12:56 PM Bug #16293: Numbered parameter confirmation in Ruby 2.7
I couldn't understand your request. Please summarize actual and expect behavior with your request. hsbt (Hiroshi SHIBATA)
12:14 PM Bug #16293 (Closed): Numbered parameter confirmation in Ruby 2.7

## Overview
I want to make a final check on the behavior of Numbered parameter( No warning or Warning or Error)....
osyo (manga osyo)
03:39 PM Revision d47b6434 (git): * 2019-11-06 [ci skip]
git[bot]
03:31 PM Revision 07f2062c (git): Improve string literal concatenation for C++11
Downstream C++ projects that compile with C++11 or newer and include
the generated config.h file issue compiler warni...
Mark Abraham
01:32 PM Feature #14430: net/http: use Socket.tcp with connect_timeout, instead of TCPSocket.open wrapped in Timeout.timeout
We've been recently bitten by this.
Does the merge of [#15553] makes https://github.com/ruby/ruby/pull/1806 functi...
byroot (Jean Boussier)
12:59 PM Feature #16294 (Closed): Make MatchData frozen and forbid MatchData.allocate
Currently, `MatchData.allocate` is allowed, but almost every MatchData method called on it `raise TypeError, 'uniniti... Eregon (Benoit Daloze)
12:20 PM Misc #16262: DevelopersMeeting20191128Japan
* [Feature #16293] Numbered parameter confirmation in Ruby 2.7
* Numbered parameter confirmation in Ruby 2.7
osyo (manga osyo)
12:06 PM Revision 6aacef49 (git): Assert return value of Readline.readline only if Ruby is before 2.7
aycabta (aycabta .)
11:57 AM Revision c4b627e2 (git): Only taint on Ruby <2.7
Ruby 2.7 deprecates taint and it no longer has an effect. jeremyevans (Jeremy Evans)
11:54 AM Revision 652800cc (git): Only untaint line on Ruby <2.7
Untaint is deprecated and has no effect on Ruby 2.7+. jeremyevans (Jeremy Evans)
11:38 AM Feature #16275: Revert `.:` syntax
I'm also in favor of what Tim stated but at the same time, I want to point out, that the way it is now is not optimal... maciej.mensfeld (Maciej Mensfeld)
09:35 AM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
Makes sense to me what mame wrote, so +1; marcandre's suggestion for a deprecation-specific
notice makes sense as we...
shevegen (Robert A. Heiler)
09:23 AM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
NOTE: warning message should be improved if this is deprecated before 2.7.0. naruse (Yui NARUSE)
03:30 AM Feature #13083 (Open): Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
Eregon (Benoit Daloze) wrote:
> shugo (Shugo Maeda) wrote:
> > Code like `/regex/ =~ str` has often been used when ...
shugo (Shugo Maeda)
08:43 AM Revision c6a52cff (git): Separated `@counter` and `@tally` so that "-ft" works with "-j"
nobu (Nobuyoshi Nakada)
08:42 AM Revision fa52a924 (git): Enable "-f" option in multi_exec mode
Make `MultiFormatter` a module and extend the formatter specified
by "-f" option.
nobu (Nobuyoshi Nakada)
08:42 AM Revision 19f91f78 (git): `DottedFormatter#finish` consistency
Rmoved optional parameter `printed_exceptions`, and clear
`exceptions` just after printing each exception, instead.
nobu (Nobuyoshi Nakada)
08:42 AM Revision dfb3322d (git): `DottedFormatter#state` consistency
Let the method of `DottedFormatter` subclasses have the same
arity.
nobu (Nobuyoshi Nakada)
08:30 AM Revision bea322a3 (git): Revert "[EXPERIMENTAL] Make Symbol#to_s return a frozen String [Feature #16150]"
This reverts commit 6ffc045a817fbdf04a6945d3c260b55b0fa1fd1e. naruse (Yui NARUSE)
07:46 AM Feature #16290: Add Ruby C API to acquire aligned memory
naruse (Yui NARUSE) wrote:
> shyouhei (Shyouhei Urabe) wrote:
> > I'm not in favor of this. There are many ways to...
shyouhei (Shyouhei Urabe)
07:26 AM Feature #16290: Add Ruby C API to acquire aligned memory
shyouhei (Shyouhei Urabe) wrote:
> I'm not in favor of this. There are many ways to allocate a memory region, like ...
naruse (Yui NARUSE)
01:41 AM Feature #16290: Add Ruby C API to acquire aligned memory
I'm not in favor of this. There are many ways to allocate a memory region, like mmap(2). Do we have to provide ruby... shyouhei (Shyouhei Urabe)
07:01 AM Feature #16146: Array .difference allow custom comparison
jonathanhefner (Jonathan Hefner) wrote:
> duerst (Martin Dürst) wrote:
> > Well, that assumes that the block return...
duerst (Martin Dürst)
06:31 AM Revision 853d91a0 (git): Fix coroutine support on win32
Ruby master branch currently fails on win32 MINGW at this spec:
https://github.com/ruby/spec/blob/master/core/thread/...
Lars Kanis
05:33 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
I don't have a control on docs.ruby-lang.org. Please file another ticket or issue on https://github.com/ruby/docs.rub... k0kubun (Takashi Kokubun)
04:46 AM Revision 7c073004 (git): let the .bss section initialize static variables
ISO/IEC 9899:1999 section 6.7.8 specifies the values of static
storage which are not explicitly initialized. Accordi...
shyouhei (Shyouhei Urabe)
02:39 AM Revision 6ff12507 (git): rb_method_basic_definition_p with CC
Noticed that rb_method_basic_definition_p is frequently called.
Its callers include vm_caller_setup_args_block(),
rb_...
shyouhei (Shyouhei Urabe)
01:49 AM Feature #16291: Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_freeze for String and Array types
Years ago I thought we don't need any per-class extension of rb_obj_freeze. However it seems rb_str_freeze is a thin... shyouhei (Shyouhei Urabe)
01:29 AM Bug #16292 (Closed): Allow RDoc & YARD to find Encoding class doc's
Applied in changeset commit:git|8869384367a1b5e856b2f4b7b7d56296c71a572c.
----------
Moved Init_encoding from wrong ...
nobu (Nobuyoshi Nakada)
01:28 AM Revision 1390d56e (git): Set $JOBS to Tests for parallel tests
nobu (Nobuyoshi Nakada)
01:28 AM Revision 88693843 (git): Moved Init_encoding from wrong place [Bug #16292]
nobu (Nobuyoshi Nakada)
01:09 AM Revision 30a74aae (git): Fix a typo in WARN_EOL
znz (Kazuhiro NISHIYAMA)

11/04/2019

11:45 PM Revision c7632fa8 (git): Do not occupy `ARGV` by XRUBY command
Instead run test-bundled-gems.rb by `ENV['RUBY']`, which should be
set by runruby.rb.
nobu (Nobuyoshi Nakada)
11:27 PM Revision ebbe396d (git): Use ident hash for top-level recursion check
We track recursion in order to not infinite loop in ==, inspect, and
similar methods by keeping a thread-local 1 or 2...
jhawthorn (John Hawthorn)
11:07 PM Revision 7c3bc0aa (git): Put an empty line [ci skip]
nobu (Nobuyoshi Nakada)
11:03 PM Revision 74bb8fb3 (git): More rdoc for ENV
burdettelamar (Burdette Lamar)
09:49 PM Bug #16288: Segmentation fault with finalizers, threads
```
modified lib/timeout.rb
@@ -94,7 +94,7 @@ def timeout(sec, klass = nil, message = nil) #:yield: +sec+
...
davidw (David Welton)
05:11 PM Bug #16288: Segmentation fault with finalizers, threads
mame (Yusuke Endoh) wrote:
> Thank you for the report and the great investigation! I could reproduce the issue by u...
davidw (David Welton)
09:35 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
Actually, after rereading what Jonathan wrote, he referred not to "true" values
per se, but as to whether "non nil v...
shevegen (Robert A. Heiler)
09:32 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
Jonathan recently added this to the upcoming developer discussion (at https://bugs.ruby-lang.org/issues/16262),
in r...
shevegen (Robert A. Heiler)
09:35 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
> Ruby having a single nil, instead of JavaScript's null and undefined, is a net benefit, in my opinion.
undefine...
bughit (bug hit)
05:42 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
bughit (bug hit) wrote:
> The penalty the language pays is it has a demoware, checklist item, default value feature,...
jeremyevans0 (Jeremy Evans)
05:00 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
> The "penalty" I pay for this is one line of code
The penalty the language pays is it has a demoware, checklist i...
bughit (bug hit)
03:22 PM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
alanwu (Alan Wu) wrote:
> Since the beginning of time (correct me if I'm wrong), the two falsy values in Ruby has be...
Dan0042 (Daniel DeLorme)
10:24 AM Feature #11660: a falsy value (similar to js undefined) that facilitates forwarding of default arguments
The "penalty" I pay for this is one line of code like `period = Undefined.default(period, :day)`. Given this doesn't ... decuplet (Nikita Shilnikov)
09:13 PM Misc #16262: DevelopersMeeting20191128Japan
* [Feature #15323] Enumerable#filter_map
* This feature has already been merged, but there may have been some conf...
jonathanhefner (Jonathan Hefner)
08:57 PM Feature #15899: String#before and String#after
I use monkey-patched versions of these in many of my Ruby scripts. They have a few benefits vs. the alternatives:
...
jonathanhefner (Jonathan Hefner)
07:43 PM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
Related to this change, would it be possible to redirect https://docs.ruby-lang.org/en/trunk/ to https://docs.ruby-la... jonathanhefner (Jonathan Hefner)
07:25 PM Feature #16146: Array .difference allow custom comparison
duerst (Martin Dürst) wrote:
> Well, that assumes that the block return values can be ordered. But it's easy to crea...
jonathanhefner (Jonathan Hefner)
05:51 PM Bug #16292 (Closed): Allow RDoc & YARD to find Encoding class doc's
Documentation code (RDoc, YARD) cannot pick up the class comments for Encoding after the following commit:
https://g...
MSP-Greg (Greg L)
05:14 PM Revision 9d04fa71 (git): Updated minitest to 5.13.0
nobu (Nobuyoshi Nakada)
05:12 PM Revision c0c9a00f (git): Simplify test tasks
Removed `if` conditions separating `test-bundled-gems`, and pass
`TESTOPTS` and `TEST_BUNDLED_GEMS_ALLOW_FAILURES` vi...
nobu (Nobuyoshi Nakada)
05:05 PM Revision 929a4aa7 (git): Adjust a fucntion signature
nobu (Nobuyoshi Nakada)
04:58 PM Revision ec54261b (git): Fix zero free objects assertion
This commit is to attempt fixing this error:
http://ci.rvm.jp/results/trunk-gc-asserts@ruby-sky1/2353281
Each non...
tenderlovemaking (Aaron Patterson)
04:41 PM Feature #16289: Reduce duplicated warnings for the change of Ruby 3 keyword arguments
> > If they only warn once, they are not that annoying, and people may be less inclined to fix the issue.
>
> It's...
Dan0042 (Daniel DeLorme)
04:32 PM Revision a087e027 (git): Fixed conditional expressions with only one void side
nobu (Nobuyoshi Nakada)
04:17 PM Feature #16153: eventually_frozen flag to gradually phase-in frozen strings
Eregon (Benoit Daloze) wrote:
> For this discussion, I would focus on having this for Strings only initially.
Fai...
Dan0042 (Daniel DeLorme)
03:07 PM Revision bd3463ee (git): * 2019-11-05 [ci skip]
git[bot]
03:05 PM Revision 4e8336ba (git): Share test-bundled-gems-run in common.mk
nobu (Nobuyoshi Nakada)
02:37 PM Revision e91e3274 (git): Keep `lex.pcur` after `looking_at_eol_p`
nobu (Nobuyoshi Nakada)
02:31 PM Misc #16234: Enabling ARM 64/32-bit cases by Drone CI
I like to share my investigation about below issue (random error) at "make install" on arm64 environment.
https://...
jaruga (Jun Aruga)
02:17 PM Revision 26316cc3 (git): Warn `if` and `elsif` at EOL [EXPERIMENTAL]
It is unnatural and probably a typo. nobu (Nobuyoshi Nakada)
01:51 PM Feature #13083: Regexp#{match,match?} with a nil argument are deprecated and will raise a TypeError in Ruby 3.0
Is there a benefit to the change apart from consistency? A concrete benefit I mean. Dan0042 (Daniel DeLorme)
01:45 PM Feature #16291 (Assigned): Introduce support for resize in rb_ary_freeze and prefer internal use of rb_ary_freeze and rb_str_freeze for String and Array types
References Github PR https://github.com/ruby/ruby/pull/2640
### Why?
While working on https://github.com/ruby/r...
methodmissing (Lourens Naudé)
01:27 PM Revision c303854e (git): Revert "Warn `if` and `elsif` at EOL [EXPERIMENTAL]"
This reverts commit ba35c14325ebbf1da8f200df83c45ee9937ff8a1.
This is because ripper fails symbol lookup error.
mame (Yusuke Endoh)
12:39 PM Revision ba35c143 (git): Warn `if` and `elsif` at EOL [EXPERIMENTAL]
It is unnatural and probably a typo. nobu (Nobuyoshi Nakada)
09:16 AM Feature #16290 (Closed): Add Ruby C API to acquire aligned memory
Related to https://github.com/ruby/ruby/pull/2614
I have required to acquire aligned memory in Ruby C-extension li...
watson1978 (Shizuo Fujita)
08:12 AM Revision cf377c55 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
07:38 AM Revision ffa92980 (git): Fixed a typo
nobu (Nobuyoshi Nakada)
12:40 AM Revision 823f25bb (git): sync_default_gems.rb: Show the progress at fetching
It looks like hanging up when fetching from a remote first time. nobu (Nobuyoshi Nakada)
12:28 AM Revision cbbdb4e5 (git): [ruby/racc] Strip trailing whitespaces at the last line of actions
https://github.com/ruby/racc/commit/a887ebe529 nobu (Nobuyoshi Nakada)
12:18 AM Revision 046be65c (git): * 2019-11-04 [ci skip]
git[bot]
12:14 AM Revision df62d652 (git): Use the dedicated function `rb_io_check_io`
nobu (Nobuyoshi Nakada)
 

Also available in: Atom