Project

General

Profile

Activity

From 01/13/2020 to 01/19/2020

01/19/2020

04:08 PM Feature #16517: mkmf.rb - changes for Windows ?
@nobu
### MinGW devkit issue
`devkit.rb` is a file included in RubyInstaller and RubyInstaller2 builds. These ...
MSP-Greg (Greg L)
12:47 PM Feature #16517: mkmf.rb - changes for Windows ?
duerst (Martin Dürst) wrote:
> I don't think so. Please have a look at https://github.com/oneclick/rubyinstaller/wik...
nobu (Nobuyoshi Nakada)
06:29 AM Feature #16517: mkmf.rb - changes for Windows ?
nobu (Nobuyoshi Nakada) wrote:
> What is `devkit`?
> Is it https://rubygems.org/gems/devkit ?
I don't think so...
duerst (Martin Dürst)
05:04 AM Feature #16517: mkmf.rb - changes for Windows ?
MSP-Greg (Greg L) wrote:
> I propose two changes to mkmf.rb to make it more Windows friendly.
>
> 1) mingw
Wha...
nobu (Nobuyoshi Nakada)
12:21 PM Revision 884897db (git): README.ja.md: removed the badge for Cygwin [ci skip]
The workflow for Cygwin has been removed at
3344f811074e1e6119eec23684013457dab4f8b0.
nobu (Nobuyoshi Nakada)
12:16 PM Revision 2d61684e (git): README.md: removed the badge for Cygwin [ci skip]
The workflow for Cygwin has been removed at
3344f811074e1e6119eec23684013457dab4f8b0.
nobu (Nobuyoshi Nakada)
12:13 PM Feature #16495: Inconsistent quotes in error messages
@nobu
> Why don't you use block quoting?
Because error messages are by their nature something you frequently wa...
zverok (Victor Shepelev)
02:22 AM Feature #16495: Inconsistent quotes in error messages
zverok (Victor Shepelev) wrote:
> > I fail to see the actual gain.
>
>
> As it was already pointed in related t...
nobu (Nobuyoshi Nakada)
12:07 PM Revision 0ab93e09 (git): NEWS.md: set code format explicitly [ci skip]
It is not set by default in the Github viewer. nobu (Nobuyoshi Nakada)
11:51 AM Bug #16506: Documentation for `Module#const_souce_location` is wrong
Clarification PR: https://github.com/ruby/ruby/pull/2850 zverok (Victor Shepelev)
07:02 AM Bug #16518 (Closed): Should we rationalize Rational's numerator automatically?
In this [Rails issue](https://github.com/rails/rails/issues/38041) we found that using `BigDecimal` as a `Rational`'s... st0012 (Stan Lo)
06:54 AM Feature #8709 (Closed): Dir.glob should return sorted file list
Applied in changeset commit:git|2f1081a451f21ca017cc9fdc585883e5c6ebf618.
----------
Sort globbed results by default...
nobu (Nobuyoshi Nakada)
05:46 AM Revision 2f1081a4 (git): Sort globbed results by default [Feature #8709]
Sort the results which matched single wildcard or character set in
binary ascending order, unless `sort: false` is gi...
nobu (Nobuyoshi Nakada)
04:06 AM Revision af6563f0 (git): Fix typo s/test_ruby2_keywords_hash!/test_ruby2_keywords_hash/
In #2818, `Hash.ruby2_keywords!` has renamed to `Hash.ruby2_keywords_hash`. kamipo (Ryuta Kamizono)
02:56 AM Revision edf2cedc (git): Allow rexml to fail on macOS of Github Actions
And revert "Stop test-bundled-gems on macOS for now",
28b290f7f4cb332dab3ddf3132e1916d413ea65c.
nobu (Nobuyoshi Nakada)
02:35 AM Revision 496f295f (git): Test bundled gems with timeout
nobu (Nobuyoshi Nakada)
12:48 AM Revision b5a2e734 (git): * 2020-01-19 [ci skip]
git[bot]
12:48 AM Revision 28b290f7 (git): Stop test-bundled-gems on macOS for now
nobu (Nobuyoshi Nakada)

01/18/2020

11:49 PM Feature #16517 (Open): mkmf.rb - changes for Windows ?
I propose two changes to mkmf.rb to make it more Windows friendly.
1) mingw - `devkit` has been the standard for '...
MSP-Greg (Greg L)
09:50 PM Feature #16513: TracePoint#inspect to return "... file:line" instead of "...@file:line"
+1 from me. Eregon (Benoit Daloze)
05:23 PM Feature #16495: Inconsistent quotes in error messages
> I fail to see the actual gain.
As it was already pointed in related tickets, the gain (or rather the problem s...
zverok (Victor Shepelev)
05:14 PM Feature #16495: Inconsistent quotes in error messages
I fail to see the actual gain.
This would introducing potential incompatibilities. For example, I remember [parsin...
marcandre (Marc-Andre Lafortune)
09:46 AM Revision 979b32d7 (git): Removed useless sorts of lists generated from literals
nobu (Nobuyoshi Nakada)
09:14 AM Revision eb96e4e9 (git): Made glob option keyword IDs static
nobu (Nobuyoshi Nakada)
08:46 AM Revision 79f0ed35 (git): NEWS.md: reduce headings level [ci skip]
As the only h2 did not have its exclusively owned body text,
merged it to the first paragraph. Then pulled up h3 and...
nobu (Nobuyoshi Nakada)
08:43 AM Revision 59d255b9 (git): NEWS.md: made ticket references links [ci skip]
nobu (Nobuyoshi Nakada)
08:23 AM Revision a1ce1dc2 (git): NEWS.md: fixed lists and indents [ci skip]
* The definition lists extensions of the RDoc Markdown parser does
not support nesting.
* The RDoc Markdown parser...
nobu (Nobuyoshi Nakada)
07:47 AM Revision 93a51c15 (git): Update clean-local [ci skip]
* Remove builtin_binary.inc which is generated for each time
miniruby is built.
* dSYM is a directory, not a file.
nobu (Nobuyoshi Nakada)
01:07 AM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
nobu (Nobuyoshi Nakada) wrote:
> It is an interesting usage.
> Does that metadata need to be a separate member, not...
jeremyevans0 (Jeremy Evans)
12:51 AM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
jeremyevans0 (Jeremy Evans) wrote:
> For example, in OpenBSD's packages, the first gzip stream in the package contai...
nobu (Nobuyoshi Nakada)

01/17/2020

08:21 PM Bug #16510: irb crashes when hitting 'Home' or 'End' keys
I've found the issue using RedHat 6.10 and reproduced the behavior in CentOS 6.
I was using GNOME Terminal (v 2.31...
packerbacker89 (Josh Johnson)
08:07 PM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
Copy implementation is the right one. But what architecture are you compiling for? because copy coroutine is so slow. ioquatix (Samuel Williams)
04:20 PM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
jeremyevans0 (Jeremy Evans) wrote:
> In this case the minimum arity is met, but you would still end up with Argument...
Dan0042 (Daniel DeLorme)
04:00 PM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
Dan0042 (Daniel DeLorme) wrote:
> I'm rethinking the issue pointed out by Jeremy. It makes no sense to introduce a n...
jeremyevans0 (Jeremy Evans)
04:04 AM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
I'm rethinking the issue pointed out by Jeremy. It makes no sense to introduce a new kind of incompatibility for the ... Dan0042 (Daniel DeLorme)
04:04 PM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
shyouhei (Shyouhei Urabe) wrote:
> Do you know if there are cases when taking a random member of such gzip file is a...
jeremyevans0 (Jeremy Evans)
02:17 PM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
I can't think of taking a random member but I can imagine wanting to extract to separate files.
```ruby
Zlib::Gzi...
Dan0042 (Daniel DeLorme)
04:51 AM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
Dan0042 (Daniel DeLorme) wrote:
> > matz: it should behave like zcat. Handling each member should be deleted.
>
...
shyouhei (Shyouhei Urabe)
03:46 PM Misc #16407 (Feedback): Add .github/workflows/cygwin.yml
> Adding a platform to the official CI may make users misunderstand that the platform is officially supported.
I'm...
naruse (Yui NARUSE)
08:33 AM Misc #16407: Add .github/workflows/cygwin.yml
I have deleted the github action file for cygwin CI. That is broken.
https://github.com/ruby/ruby/runs/394774858
...
mame (Yusuke Endoh)
03:17 PM Bug #16509 (Closed): puts from a thread seem to be missing linefeed when run in ruby 2.7.0 console
Applied in changeset commit:git|4e56ec4ef74cf77dbcb4ce7c669e0595cd0d12fa.
----------
[ruby/io-console] Set `OPOST` w...
nobu (Nobuyoshi Nakada)
03:17 PM Revision 1e29fe77 (git): * 2020-01-18 [ci skip]
git[bot]
03:17 PM Revision 199d829a (git): [ruby/io-console] bump up to 0.5.5
nobu (Nobuyoshi Nakada)
03:15 PM Revision 4e56ec4e (git): [ruby/io-console] Set `OPOST` when `intr` is true
To enable implementation-defined output processing, for the
compatibility with readline. [Bug #16509]
https://bugs....
nobu (Nobuyoshi Nakada)
03:15 PM Revision 569f56e0 (git): [ruby/io-console] Filter Ruby engine name rather than just /ruby/
This breaks tests using this path on JRuby because the `jruby`
executable turns into `jjruby` after the sub.
https:/...
headius (Charles Nutter)
03:14 PM Revision 4e1a7678 (git): [ruby/io-console] Update the minimum requirement of Ruby version
https://github.com/ruby/io-console/commit/73e7b6318a hsbt (Hiroshi SHIBATA)
03:06 PM Feature #16495: Inconsistent quotes in error messages
Maybe a fix could involve customization of which quotes to display via an ENV var or something?
Instead of changing ...
Dan0042 (Daniel DeLorme)
12:34 PM Bug #16516 (Closed): [BACKPORT] AST locations with numbered parameter
The locations in args node for numbered parameters are left the default values, and `test_ranges` and `test_not_cared... nobu (Nobuyoshi Nakada)
10:53 AM Bug #16514 (Closed): Documentation mistake for method syntax (splat/array parameter)
nobu (Nobuyoshi Nakada)
10:50 AM Revision 09271acd (git): Update documentation for Array/Hash Argument section of methods.rdoc
adamisom (Adam Isom)
10:00 AM Misc #16515 (Closed): one of authoritative name server of ruby-lang.org "pichu.netlab.jp" not responding DNS query
I'm reporting issue about ruby-lang.org network infrastructure. If here's not the place to report such issues,
I'd a...
[email protected] (Koichiro Iwao)
08:25 AM Revision 3344f811 (git): .github/workflows/cygwin.yml: Removed
There is no active maintainer for cygwin. The CI failure is too noisy.
[Misc #16407]
mame (Yusuke Endoh)
08:20 AM Bug #16486 (Closed): Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
Applied in changeset commit:git|7cfe93c028fbf7aa0022ca8a4ac6a66d0103337a.
----------
hash.c: Add a feature to manipu...
mame (Yusuke Endoh)
08:20 AM Bug #16501 (Closed): Support marshaling of ruby2_keywords flag
Applied in changeset commit:git|b23fd59cbb3f097bcd559d0c85a86ff7a1eeeb7e.
----------
marshal.c: Support dump and loa...
mame (Yusuke Endoh)
08:20 AM Revision 7cfe93c0 (git): hash.c: Add a feature to manipulate ruby2_keywords flag
It was found that a feature to check and add ruby2_keywords flag to an
existing Hash is needed when arguments are ser...
mame (Yusuke Endoh)
08:20 AM Revision b23fd59c (git): marshal.c: Support dump and load of a Hash with the ruby2_keywords flag
It is useful for a program that dumps and load arguments (like drb).
In future, they should deal with both positional...
mame (Yusuke Endoh)
07:56 AM Revision c98c4925 (git): Added test for f38b3e8c707ebdcad05aa9485cf1760640b74fbb
nobu (Nobuyoshi Nakada)
07:41 AM Revision f9788ca7 (git): Update dependencies
internal/rational.h needs internal/warnings.h with Apple clang,
for `UNALIGNED_MEMBER_ACCESS`.
nobu (Nobuyoshi Nakada)
05:51 AM Misc #16454 (Closed): DevelopersMeeting20200116Japan
Published. Closing. mame (Yusuke Endoh)
05:35 AM Misc #16454: DevelopersMeeting20200116Japan
The linked log https://docs.google.com/document/d/1NxNMc7tlt-olPRyRQDhAjZWw30Atr6a-rfQxQ9BRXfY is not updated. Can I ... sawa (Tsuyoshi Sawada)
03:00 AM Bug #5179: Complex#rationalize and to_r with approximate zeros
We discussed #5321 at the dev-meeting. Whether a value is exact or inexact, is not decidable based on a class. For ... mame (Yusuke Endoh)
01:18 AM Bug #5179: Complex#rationalize and to_r with approximate zeros
As Numeric#exact? has been rejected, and BigDecimal is not a core class, I'm not sure what to do about this issue. @m... jeremyevans0 (Jeremy Evans)
02:19 AM Revision 4e6bcac2 (git): Update dependencies in makefiles again
patch from https://travis-ci.org/ruby/ruby/jobs/638231960 znz (Kazuhiro NISHIYAMA)
01:57 AM Revision 5275d8bf (git): rb_rational_raw: convert num and den by to_int
Kenta Murata
01:57 AM Revision 47465ab1 (git): rb_rational_raw: make a denominator always positive
Kenta Murata
01:25 AM Revision 73618d84 (git): Update dependencies in makefiles
patch from https://travis-ci.org/ruby/ruby/jobs/638226493 znz (Kazuhiro NISHIYAMA)
01:06 AM Revision 07ce51c5 (git): internal/rational.h: insert assertions in RATIONAL_SET_{NUM,DEN}
Kenta Murata
01:06 AM Revision fbc00c2d (git): rational.c: remove nurat_s_new
Kenta Murata
01:04 AM Revision 019a0ed0 (git): Make RATIONAL_SET_{NUM,DEN} static inline functions
Kenta Murata

01/16/2020

09:50 PM Bug #16514: Documentation mistake for method syntax (splat/array parameter)
I've submitted Github pull request 2844 [here](https://github.com/ruby/ruby/pull/2844)
I've **attached** the patch...
adamisom (Adam Isom)
08:45 PM Bug #16514 (Closed): Documentation mistake for method syntax (splat/array parameter)
Hello,
In the docs for method definition syntax [here](https://github.com/ruby/ruby/blob/master/doc/syntax/methods...
adamisom (Adam Isom)
07:32 PM Bug #8841: Module#included_modules and prepended modules
Thank you.
I clarified the documentation to reflect this.
marcandre (Marc-Andre Lafortune)
06:19 AM Bug #8841 (Closed): Module#included_modules and prepended modules
This intentional.
Matz.
matz (Yukihiro Matsumoto)
07:31 PM Revision 8ab11096 (git): Clarify documentation for Module#included_modules and Module#included?
[DOC] [ci skip] [Bug #8841] Marc-Andre Lafortune
07:27 PM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
jeremyevans0 (Jeremy Evans) wrote:
> I believe this approach would break the following code:
>
> ```ruby
> def d...
Dan0042 (Daniel DeLorme)
05:36 PM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
I believe this approach would break the following code:
```ruby
def debug_log(arg, output: $stderr)
output.pri...
jeremyevans0 (Jeremy Evans)
03:55 PM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
matz (Yukihiro Matsumoto) wrote:
> I was going to use an internal flag instead of making them subclass.
Eregon (B...
Dan0042 (Daniel DeLorme)
08:57 AM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
Matz already commented. :)
I will briefly give my opinion. I think aside from special cases, one issue is that
ru...
shevegen (Robert A. Heiler)
08:47 AM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
I was going to use an internal flag instead of making them subclass. Subclassing standard class has often made troubl... matz (Yukihiro Matsumoto)
07:33 AM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
Thank you for filing this and explaining your idea.
My understanding is this is basically a different way to repre...
Eregon (Benoit Daloze)
04:30 AM Feature #16511 (Open): Staged warnings and better compatibility for keyword arguments in 2.7.1
As an alternative to #16463 and #16494 I'd like to propose this approach, which I believe allows a **much** more flex... Dan0042 (Daniel DeLorme)
06:27 PM Bug #16509: puts from a thread seem to be missing linefeed when run in ruby 2.7.0 console
**Ruby 2.7.0**
```
irb(main):002:1* EventMachine.run do
irb(main):003:1* EM.add_periodic_timer(1) { puts "Tick ....
Marthyn (Marthyn Olthof)
04:37 PM Revision 95301378 (git): * 2020-01-17 [ci skip]
git[bot]
04:37 PM Revision 800c2a8e (git): Implement vi_insert_at_bol and vi_add_at_eol
aycabta (aycabta .)
04:37 PM Revision ec0b366a (git): Add tests for vi_insert and vi_add
aycabta (aycabta .)
03:12 PM Feature #8709: Dir.glob should return sorted file list
It's good to sort the result of `Dir["*"]`, but as jhawthorn pointed out the brace expansion _must_ keep the same ord... Dan0042 (Daniel DeLorme)
06:03 AM Feature #8709: Dir.glob should return sorted file list
Accepted. We will add `sort: false` keyword option to disable sorting.
Matz.
matz (Yukihiro Matsumoto)
05:22 AM Feature #8709: Dir.glob should return sorted file list
I'm for adding `NOSORT` option to the second argument. nobu (Nobuyoshi Nakada)
02:32 PM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
> matz: it should behave like zcat. Handling each member should be deleted.
Really? I agree that `Zlib::GzipReade...
Dan0042 (Daniel DeLorme)
07:39 AM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
* mame: can each_file return an Enumerator? Seems difficult to implement it
* matz: How about always behaving like ...
ko1 (Koichi Sasada)
11:42 AM Bug #16510: irb crashes when hitting 'Home' or 'End' keys
What OS and virtual console software (Terminal.app, command prompt, xterm...) are you using? aycabta (aycabta .)
09:57 AM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
Unfortunately `define_method` is currently the only way to retrieve `Proc#parameters` without information loss. See #... larskanis (Lars Kanis)
08:18 AM Feature #16499 (Rejected): define_method(non_lambda) should not change the semantics of the given Proc
There could be enormous code breakages by the proposed change. The compatibility is more important than slightly bett... matz (Yukihiro Matsumoto)
09:56 AM Feature #16432 (Closed): Using `_1` inside `binding.irb` will cause unintended behavior
Applied in changeset commit:git|c171ab23e376b6c7f1094a77f137d916b0a403e6.
----------
Separate numbered parameter sco...
nobu (Nobuyoshi Nakada)
07:27 AM Feature #16432: Using `_1` inside `binding.irb` will cause unintended behavior
* in short:
```ruby
1.times{
p _1 #=> 0
eval("[:a, :b].each{p _1}")
#=> 0
#=> 0
}
```
mame: it ...
ko1 (Koichi Sasada)
09:38 AM Revision c171ab23 (git): Separate numbered parameter scope in eval
[Feature #16432] nobu (Nobuyoshi Nakada)
09:34 AM Revision f38b3e8c (git): Fixed the location of args node with numbered parameter
nobu (Nobuyoshi Nakada)
08:52 AM Revision 52bb32d6 (git): Fix Proc#<< spec
[Bug #16406] alanwu (Alan Wu)
08:51 AM Misc #16512 (Assigned): Improving `www.ruby-lang.org` reference by merging with `rubyreferences.github.io`
hsbt (Hiroshi SHIBATA)
08:38 AM Misc #16512 (Assigned): Improving `www.ruby-lang.org` reference by merging with `rubyreferences.github.io`
@zverok prepared better-looking reference pages at `rubyreferences.github.io`. I think there's room for improvement o... matz (Yukihiro Matsumoto)
08:46 AM Feature #16513 (Closed): TracePoint#inspect to return "... file:line" instead of "...@file:line"
[`Proc#to_s`](https://bugs.ruby-lang.org/issues/16101) and [`Thread#to_s`](https://bugs.ruby-lang.org/issues/16412) h... znz (Kazuhiro NISHIYAMA)
08:43 AM Bug #11878 (Rejected): Comparison of prepended modules
For the code like below:
```
module A; end
module I
include A
end
p A < I #=> false
p A > I #=> true
...
matz (Yukihiro Matsumoto)
08:30 AM Feature #16495: Inconsistent quotes in error messages
It was something cultural. I admit nowadays very few people use backquote as a left-hand quote, but it used to be. I ... matz (Yukihiro Matsumoto)
08:12 AM Feature #15973: Let Kernel#lambda always return a lambda
Quote from today's devmeeting.
Discussion:
* Proposing to deprecate `lambda(&block)` (`lambda` call with `Proc`...
ko1 (Koichi Sasada)
08:04 AM Feature #5321 (Rejected): Introducing Numeric#exact? and Numeric#inexact?
Rejected.
Matz.
matz (Yukihiro Matsumoto)
07:57 AM Feature #16484 (Closed): Remove xmlrpc and net-telnet from bundled gems
Applied in changeset commit:git|62baad9fe17077f8881e8512234cf55563aa9fca.
----------
Removed xmlrpc and net-telnet f...
hsbt (Hiroshi SHIBATA)
07:56 AM Revision 62baad9f (git): Removed xmlrpc and net-telnet from the bundled gems.
[Feature #16484][ruby-core:96682] hsbt (Hiroshi SHIBATA)
07:28 AM Bug #16383: TracePoint does not report calls to attribute reader methods
* matz: good to have, but not a showstopper
ko1 (Koichi Sasada)
06:58 AM Feature #16435 (Rejected): Array#to_proc
Rejected. `Array#to_proc` to too generic for queries. It only makes the code more cryptic.
Matz.
matz (Yukihiro Matsumoto)
06:56 AM Feature #16446 (Rejected): Enumerable#take_*, Enumerable#drop_* counterparts with positive conditions
I don't think this many methods only introduce confusion. I feel negative. Besides that, I see the `cut` method is to... matz (Yukihiro Matsumoto)
06:53 AM Feature #16441 (Rejected): Enumerable#take_while_after
I don't see the real-world usage of `take_while_after`. Use `take_while` with proper condition.
Matz.
matz (Yukihiro Matsumoto)
06:45 AM Bug #11014 (Closed): String#partition doesn't return correct result on zero-width match
Applied in changeset commit:git|fce54a5404139a77bd0b7d6f82901083fcb16f1e.
----------
Fix `String#partition`
Split w...
nobu (Nobuyoshi Nakada)
05:44 AM Bug #11014: String#partition doesn't return correct result on zero-width match
I feel the current behavior is just a bug and `"abc".partition(//)` should return `["", "", "abc"]` instead `["abc", ... akr (Akira Tanaka)
05:31 AM Bug #11014: String#partition doesn't return correct result on zero-width match
nobu (Nobuyoshi Nakada) wrote:
> These methods have been taken from Python, and seems same in Python.
> I'm not sur...
akr (Akira Tanaka)
06:36 AM Revision fce54a54 (git): Fix `String#partition`
Split with the matched part when the separator matches the empty
part at the beginning. [Bug #11014]
nobu (Nobuyoshi Nakada)
06:26 AM Revision db4d1368 (git): `Regexp` in `MatchData` can be `nil`
`String#sub` with a string pattern defers creating a `Regexp`
until `MatchData#regexp` creates a `Regexp` from the ma...
nobu (Nobuyoshi Nakada)
06:19 AM Bug #10388 (Rejected): Operator precedence problem in multiple assignment (massign)
matz (Yukihiro Matsumoto)
06:18 AM Bug #10388: Operator precedence problem in multiple assignment (massign)
We are not going to change the behavior. We may warn (with `-W`) if we see the simple assignments on the right-hand s... matz (Yukihiro Matsumoto)
06:13 AM Revision 8e8841f6 (git): reload AR table body for transient heap.
ar_talbe (Hash representation for <=8 size) can use transient heap
and the memory area can move. So we need to restor...
ko1 (Koichi Sasada)
06:12 AM Feature #8026: Need Module#prepended_modules
I am still OK with the idea (but not for ancestors). `prepended_modules` should list direct prepended modules for the... matz (Yukihiro Matsumoto)
06:09 AM Revision 48f324e9 (git): lib/net/imap.rb: use `&blk` instead of Kernel#proc with no block
[Bug #16488] mame (Yusuke Endoh)
06:08 AM Revision 580edc25 (git): script_compiled event on compile error.
script_compiled event for TracePoint should not be invoked on
compile error (SyntaxError) because it is not "compiled...
ko1 (Koichi Sasada)
05:31 AM Feature #16494 (Rejected): Allow hash unpacking in non-lambda Proc
I admit the recent change disables something once we theoretically could. But there's no big usage for this particula... matz (Yukihiro Matsumoto)
04:36 AM Feature #16494: Allow hash unpacking in non-lambda Proc
My alternative proposal to accomplish the same objective: #16511 Dan0042 (Daniel DeLorme)
05:30 AM Bug #16501: Support marshaling of ruby2_keywords flag
I agree. Accepted.
Matz.
matz (Yukihiro Matsumoto)
05:25 AM Misc #16487: Potential for SIMD usage in ruby-core
I think we can sidestep some maintainability problems by being liberal about ripping out SIMD code if we need to make... alanwu (Alan Wu)
04:43 AM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #16511] Subclass of Hash for keyword arguments
* I'm too late (the dev meeting has started!) but it wou...
Dan0042 (Daniel DeLorme)
04:36 AM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
My alternative proposal to accomplish the same objective: #16511 Dan0042 (Daniel DeLorme)
04:28 AM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
I propose
* Hash.ruby_keywords_hash(hash) to turn the flag on (non mutating)
* Hash.ruby_keywords_hash?(hash) to ...
matz (Yukihiro Matsumoto)
02:34 AM Bug #16508 (Closed): Segmentation fault with Regexp in ruby 2.7.0preview2
Applied in changeset commit:git|4f19666e8b144600e959e4673f79d63f98bd637d.
----------
`Regexp` in `MatchData` can be ...
nobu (Nobuyoshi Nakada)
02:34 AM Revision 0b6682dc (git): * 2020-01-16 [ci skip]
git[bot]
02:32 AM Revision 4f19666e (git): `Regexp` in `MatchData` can be `nil`
`String#sub` with a string pattern defers creating a `Regexp`
until `MatchData#regexp` creates a `Regexp` from the ma...
nobu (Nobuyoshi Nakada)

01/15/2020

08:34 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
> How did you fix delegation cases? Using ruby2_keywords?
Yes, mostly.
> Was it easy to find where to add ruby2...
decuplet (Nikita Shilnikov)
07:58 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
decuplet (Nikita Shilnikov) wrote:
> I also want to state I understand the change was necessary.
Making delegatio...
Eregon (Benoit Daloze)
07:15 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
Side note. One particular technique I used to deal with warnings is the gem 'warning' made by Jeremy some time ago an... decuplet (Nikita Shilnikov)
05:10 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
Here are slides I made to explain this proposal more visually:
https://docs.google.com/presentation/d/1J6voqHFQ46-Ms...
Eregon (Benoit Daloze)
07:00 PM Feature #15541: Add alias symbolize_keys for symbolize_names kwarg for JSON.parse
This would be a nice simple addition, as I have gotten this wrong several times. `JSON.parse` does not raise any erro... jsc (Justin Collins)
03:23 PM Bug #16510: irb crashes when hitting 'Home' or 'End' keys
Note: none of this behavior occurs in Ruby 2.6.5. This is related exclusively to 2.7.0. packerbacker89 (Josh Johnson)
03:22 PM Bug #16510 (Closed): irb crashes when hitting 'Home' or 'End' keys
There were similar bugs opened in the past few months, but they all appear to be closed.
System: Ruby 2.7.0, relin...
packerbacker89 (Josh Johnson)
06:19 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
akr (Akira Tanaka) wrote:
> Do you have good definition of exactness of numeric classes?
Like alexeymuranov, I m...
sawa (Tsuyoshi Sawada)
03:03 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
sawa (Tsuyoshi Sawada) wrote:
> akr (Akira Tanaka) wrote:
> > I think associating class with exactness is wrong ide...
akr (Akira Tanaka)
02:43 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
akr (Akira Tanaka) wrote:
> I think associating class with exactness is wrong idea.
> ...
> I think exactness and ...
sawa (Tsuyoshi Sawada)
02:23 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
I think associating class with exactness is wrong idea.
Please define the exactness of numeric classes, at first.
...
akr (Akira Tanaka)
06:07 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
Ah that's a good catch. I fixed two similar references in https://bugs.ruby-lang.org/projects/ruby-master/wiki/C99 an... k0kubun (Takashi Kokubun)
04:36 AM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
JustJosh (Joshua Stowers) wrote:
> The "List of maintainers" link is now broken on this page: https://bugs.ruby-lang...
mame (Yusuke Endoh)
05:54 AM Misc #16454: DevelopersMeeting20200116Japan
I'm sorry but let me insert my two proposals since they should be determined before 2.7.1.
* [Feature #16501] Supp...
mame (Yusuke Endoh)
02:36 AM Misc #16454: DevelopersMeeting20200116Japan
> Comment deadline: 2020/01/09 (one week before the meeting)
So the following issues are optional (candidates for ...
ko1 (Koichi Sasada)
03:43 AM Revision 815807d2 (git): NEWS.md: mention "Freeze Regexp literals" [Feature #8948]
mame (Yusuke Endoh)
03:42 AM Revision 9feca5ce (git): NEWS.md: converted from NEWS
and NEWS is deleted mame (Yusuke Endoh)
01:50 AM Revision ac93cf4f (git): Update version guard
fix up 98ef38ada43338c073f50a0093196f0356284625 znz (Kazuhiro NISHIYAMA)
01:39 AM Feature #8948 (Closed): Frozen regex
Applied in changeset commit:git|98ef38ada43338c073f50a0093196f0356284625.
----------
Freeze Regexp literals
[Featur...
byroot (Jean Boussier)
01:39 AM Feature #16377 (Closed): Regexp literals should be frozen
Applied in changeset commit:git|98ef38ada43338c073f50a0093196f0356284625.
----------
Freeze Regexp literals
[Featur...
byroot (Jean Boussier)
01:38 AM Feature #16377: Regexp literals should be frozen
Could you add a NEWS entry? ko1 (Koichi Sasada)
01:38 AM Revision 98ef38ad (git): Freeze Regexp literals
[Feature #8948] [Feature #16377]
Since Regexp literals always reference the same instance,
allowing to mutate them c...
byroot (Jean Boussier)
01:23 AM Bug #14408 (Closed): Add hash argument description for GC.stat and GC.latest_gc_info document
Applied in changeset commit:git|eb4c86a698e1be9fa2a79f4edb1c891396e6074e.
----------
Add option hash doc for GC stat...
ko1 (Koichi Sasada)
01:23 AM Revision 07aef4c9 (git): * 2020-01-15 [ci skip]
git[bot]
01:20 AM Revision eb4c86a6 (git): Add option hash doc for GC stats.
Add a description about optional hash objects for GC.stat and
GC.latest_gc_info. [Bug #14408]
The patch is provided ...
ko1 (Koichi Sasada)

01/14/2020

10:08 PM Misc #15843: Make "trunk" a symbolic-ref of "master" on git.ruby-lang.org
The "List of maintainers" link is now broken on this page: https://bugs.ruby-lang.org/projects/ruby/wiki/Maintainers
...
JustJosh (Joshua Stowers)
09:33 PM Bug #16509 (Closed): puts from a thread seem to be missing linefeed when run in ruby 2.7.0 console
This is strange, and I'm hoping I explain it sufficiently - but I've upgraded to ruby 2.7.0 and I'm seeing missing li... jmaino (Jim Maino)
06:35 PM Bug #16383: TracePoint does not report calls to attribute reader methods
miniruby.modif is patch applied version.
```ruby
Benchmark.driver(repeat_count: 10){|x|
x.executable name: '...
ko1 (Koichi Sasada)
04:18 PM Bug #15262 (Closed): WeakRef::RefError for object that is still in use
jeremyevans0 (Jeremy Evans)
11:13 AM Bug #15262: WeakRef::RefError for object that is still in use
This issue appears to be fixed in ruby-2.7.0 by the recent WeakMap modifications. It is still present on:
```
ruby ...
larskanis (Lars Kanis)
10:38 AM Bug #15262 (Open): WeakRef::RefError for object that is still in use
larskanis (Lars Kanis)
02:25 PM Bug #16462: Ruby 2.7 autoload not working with $RUBYLIB (maybe circular dependency error)
Any update for this?
zw963 (Wei Zheng)
01:21 PM Feature #15357: Proc#parameters returns incomplete type information
I agree, and discussed that a bit in #16499.
I think `Proc#parameters` should expose source-level information, not i...
Eregon (Benoit Daloze)
10:11 AM Feature #15357: Proc#parameters returns incomplete type information
Sorry for my late answer! I didn't get a notification mail.
As noted above: The application of argument assignment...
larskanis (Lars Kanis)
12:24 PM Feature #16274 (Closed): Transform hash keys by a hash
znz (Kazuhiro NISHIYAMA)
12:24 PM Feature #16273 (Open): Proposal: Shorthand operator for "#instance_method"
znz (Kazuhiro NISHIYAMA)
12:08 PM Bug #16508: Segmentation fault with Regexp in ruby 2.7.0preview2
Its' reproductible on 2.5.7, 2.6.5 and 2.7.0p0. byroot (Jean Boussier)
09:51 AM Bug #16508 (Closed): Segmentation fault with Regexp in ruby 2.7.0preview2
code:
```
#!/usr/bin/env ruby
data = "test 000000000 test asdasdsa"
data.gsub(/test (?<m1>\d+) test (?<m2>\w*...
tdrive (Stanislav Boldaev)
11:14 AM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
mame (Yusuke Endoh) wrote:
> If we set `ruby2_keywords` by default, users cannot identify where to fix, and their co...
Eregon (Benoit Daloze)
06:45 AM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
Hi, I talked about this ticket with ko1, nobu, and znz before the dev-meeting. After the discussion, I am still agai... mame (Yusuke Endoh)
10:44 AM Feature #8709: Dir.glob should return sorted file list
Even C's glob(3) is sorted (by default), as @bmwiedemann said:
```
$ man 3 glob
...
GLOB_NOSORT
...
Eregon (Benoit Daloze)
10:40 AM Feature #8709: Dir.glob should return sorted file list
@jhawthorn Good point, I forgot to mention this.
The sorting must respect explicit order for `{...,...}` and conce...
Eregon (Benoit Daloze)
07:27 AM Feature #8709: Dir.glob should return sorted file list
Hi @jhawthorn, I'm unsure whether you agree with the proposal or not. Do you mean sorting the result may break Rails... mame (Yusuke Endoh)
06:27 AM Feature #8709: Dir.glob should return sorted file list
> the Principle of Least Astonishment.
You shouldn't use "the Principle of Least Astonishment".
Without the term ...
naruse (Yui NARUSE)
10:38 AM Bug #15509 (Open): TCPServer#accept isn't interrupted
Thank you @jeremyevans0 for checking this! Unfortunately it still fails on Linux. I tried the following recent ruby v... larskanis (Lars Kanis)
10:29 AM Feature #16494: Allow hash unpacking in non-lambda Proc
I remember. I talked about the issue with matz before 2.7 release, and he said it does not matter. He may have chan... mame (Yusuke Endoh)
07:45 AM Feature #16494: Allow hash unpacking in non-lambda Proc
> I'm negative because allowing the automatic Hash conversion makes the semantics complicated. However, the argument ... zverok (Victor Shepelev)
07:21 AM Feature #16494: Allow hash unpacking in non-lambda Proc
The background of this proposal: https://bugs.ruby-lang.org/issues/14183#note-101
My personal feeling is the same ...
mame (Yusuke Endoh)
10:11 AM Feature #16233: winruby UTF8 Fallback for no CodePage
Will do, but probably not very soon, because it's now the most busy time of the year at work, sorry.
Some notes: F...
duerst (Martin Dürst)
09:17 AM Feature #16233: winruby UTF8 Fallback for no CodePage
It looks Ruby should support CP720.
https://web.archive.org/web/20130328005206/http://msdn.microsoft.com/en-us/goglo...
naruse (Yui NARUSE)
09:43 AM Misc #16487: Potential for SIMD usage in ruby-core
> It should be decided based on not micro benchmark
That's understandable. I'll try to produce a proper macro benc...
byroot (Jean Boussier)
09:09 AM Misc #16487: Potential for SIMD usage in ruby-core
Remaining topic is
* What function should use SIMD. It should be decided based on not micro benchmark, but the impac...
naruse (Yui NARUSE)
06:47 AM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
Please ignore the previous comment. I took the wrong ticket. It should have been written in #16463. mame (Yusuke Endoh)
06:27 AM Bug #16486: Hash.ruby2_keywords?(hash) and Hash.ruby2_keywords!(hash)
Hi, I talked about this ticket with ko1, nobu, and znz before the dev-meeting. After the discussion, I am still agai... mame (Yusuke Endoh)
06:40 AM Revision 8c3efa49 (git): Use Reline.encoding_system_needs if exists
aycabta (aycabta .)
06:40 AM Revision a2638c0d (git): Remove an unused setting variable
aycabta (aycabta .)
06:40 AM Revision f8ea2860 (git): Introduce an abstracted structure about the encoding of Reline
The command prompt on Windows always uses Unicode to take input and print
output but most Reline implementation depen...
aycabta (aycabta .)
06:40 AM Revision c94025b6 (git): [ruby/irb] Fix crashing when multiple open braces per line
https://github.com/ruby/irb/issues/55
If we had put multiple open braces on a line the with no closing brace
spaces_...
Ben
06:40 AM Revision 9994eb8a (git): [ruby/irb] Fix newline depth with multiple braces
This commit fixes the check_newline_depth_difference method to multiple
open braces on one line into account. Before ...
Ben
05:05 AM Feature #16441: Enumerable#take_while_after
mame (Yusuke Endoh) wrote:
> @akr What do you think?
I'm neutral with this feature.
I don't like the name, take_...
akr (Akira Tanaka)
03:24 AM Feature #16441: Enumerable#take_while_after
@akr What do you think? mame (Yusuke Endoh)
04:33 AM Bug #9790: Zlib::GzipReader only decompressed the first of concatenated files
ko1 (Koichi Sasada) wrote:
> do you have real (popular) usecases?
For real but not necessarily popular, but at le...
jeremyevans0 (Jeremy Evans)
04:10 AM Bug #9790 (Feedback): Zlib::GzipReader only decompressed the first of concatenated files
do you have real (popular) usecases? ko1 (Koichi Sasada)
02:49 AM Bug #11014: String#partition doesn't return correct result on zero-width match
We'd like to focus on String#partition in this ticket.
IMO, String#scan and #split are heavily used so they should...
mame (Yusuke Endoh)
02:31 AM Bug #10929 (Rejected): NilClass#to_proc and & don't mix?
it can break delegation methods. ko1 (Koichi Sasada)
02:14 AM Bug #9815 (Rejected): attr_reader doesn't warn on a uninitialized instance variable
ko1 (Koichi Sasada)
12:46 AM Revision 440013b2 (git): Remove s390x from allow_failures
Jun Aruga

01/13/2020

09:58 PM Revision e0a9b8ec (git): * 2020-01-14 [ci skip]
git[bot]
09:58 PM Revision 91601dcc (git): Simplify obj2ubits checks
If this value is less than zero, then the mask check is guaranteed to
fail as well, so we might as well rely on that.
jhawthorn (John Hawthorn)
09:58 PM Revision 5f318947 (git): Avoid rb_check_string_type in month_arg
This will usually receive a fixnum so we should check that first instead
of the more expensive rb_check_string_type c...
jhawthorn (John Hawthorn)
09:58 PM Revision c2e45422 (git): Store "UTC" and "" fstring as globals in time.c
jhawthorn (John Hawthorn)
06:49 PM Feature #8709: Dir.glob should return sorted file list
One potential issue with this is that though globs which scanned directories (ex. `Dir.glob("foo/*")`) would return r... jhawthorn (John Hawthorn)
10:04 AM Feature #8709: Dir.glob should return sorted file list
I got bit by this in the past too when trying to reproduce order dependent test failures (https://github.com/rubygems... deivid (David Rodríguez)
09:28 AM Feature #8709: Dir.glob should return sorted file list
For what it's worth I also think it should return a sorted array, because:
- Pretty much any rubyist I know have...
byroot (Jean Boussier)
05:33 PM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
StringIO has been documented for a while to *ignore* it's own internal encoding, but respect it's own external encodi... jrochkind (jonathan rochkind)
02:27 PM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
mame (Yusuke Endoh) wrote:
> Okay, I'll ask matz which is right. But I believe that the 2.6 and current behavior is...
marcandre (Marc-Andre Lafortune)
01:21 PM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
Agreed left-to-right would be far more consistent.
We just need to be aware that whoever writes `foo(*args, &args....
Eregon (Benoit Daloze)
12:01 AM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
I spent an hour to find the ticket: https://bugs.ruby-lang.org/issues/12860 mame (Yusuke Endoh)
12:23 PM Feature #16273 (Closed): Proposal: Shorthand operator for "#instance_method"
Applied in changeset commit:git|5aa0e6bee916f454ecf886252e1b025d824f7bd8.
----------
Mention new feature of Hash#tra...
znz (Kazuhiro NISHIYAMA)
12:22 PM Revision 5aa0e6be (git): Mention new feature of Hash#transform_keys [Feature #16273]
ref b25e27277dc39f25cfca4db8452d254f6cc8046e znz (Kazuhiro NISHIYAMA)
03:27 AM Revision f4394063 (git): test-bundled-gems.rb: Use real paths for symlinks
nobu (Nobuyoshi Nakada)
01:31 AM Revision c9b1969f (git): Checkout with git on cygwin for EOL code
`shell: bash` runs bash on msys which prefers git on msys too,
then checked out in CRLF mode. Cygwin sed doesn't con...
nobu (Nobuyoshi Nakada)
12:04 AM Feature #16502 (Closed): Add option :allow_trailing_comma to JSON#parse
Thanks! If the pull request is merged, it will be backported to ruby/ruby. So I close this ticket. mame (Yusuke Endoh)
 

Also available in: Atom