Project

General

Profile

Activity

From 01/10/2020 to 01/16/2020

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)

01/12/2020

11:44 PM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
Okay, I'll ask matz which is right. But I believe that the 2.6 and current behavior is wrong because Ruby has a prin... mame (Yusuke Endoh)
04:37 PM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
What's the definition of `foo` here?
I believe the previous behavior is the block expression gets evaluated before...
Eregon (Benoit Daloze)
12:52 AM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
https://github.com/ruby/ruby/pull/2833 mame (Yusuke Endoh)
12:47 AM Bug #16504 (Closed): `foo(*args, &args.pop)` should pass all elements of args
https://bugs.ruby-lang.org/issues/16500?next_issue_id=16499&prev_issue_id=16501#note-7
```
def foo(*args)
p ar...
mame (Yusuke Endoh)
11:34 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
Thank you very much for your quick fix. I left a comment in the meta-tags issue:
https://github.com/kpumuk/meta-ta...
jnchito (Junichi Ito)
06:44 PM Bug #16503 (Closed): "ret: 2, hash modified during iteration" error in Ruby 2.7.0
350dafd56a9cff58d36303aeb7515ab41c5dbbb3 ko1 (Koichi Sasada)
06:40 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
> This patch should be back-ported for Ruby 2.6.
sorry I mean 2.7. 2.6 doesn't have this problem.
ko1 (Koichi Sasada)
06:36 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
All right. I got a script:
```ruby
loop{
h = {a:1, b:2, c:3, d:4, e:5, f:6, g:7, h:8}
h.each{|k,v| GC.start...
ko1 (Koichi Sasada)
06:19 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
Could you make reproducible script?
ko1 (Koichi Sasada)
11:27 PM Misc #16507 (Open): =~ vs include? or match?
While working on getting the mswin build working on Actions, I thought adding mswin? and ci? methods to Minitest::Uni... MSP-Greg (Greg L)
11:03 PM Revision 61ff5cd5 (git): Fix syntax error in obj_free with hash size debug counter when USE_DEBUG_COUNTER is enabled
methodmissing (Lourens Naudé)
07:19 PM Feature #16502: Add option :allow_trailing_comma to JSON#parse
mame (Yusuke Endoh) wrote:
> The json library has another upstream repository: https://github.com/flori/json
>
> ...
j.spanjers (Jan-Joost Spanjers)
07:05 PM Bug #16488: 2.7 spews warnings about net/imap
That patch appears to have fixed the symptoms I see with Net/imap. chdiza (Charles Diza)
06:44 PM Revision 83b8dfac (git): * 2020-01-13 [ci skip]
git[bot]
06:41 PM Bug #16506: Documentation for `Module#const_souce_location` is wrong
Ah, while I was writing the comment, you've updated the description with the same thoughts :)
Will fix.
zverok (Victor Shepelev)
06:40 PM Bug #16506: Documentation for `Module#const_souce_location` is wrong
@sawa That's an interesting question! I wrote an original doc, and I meant this:
```ruby
# test.rb:
class A
end...
zverok (Victor Shepelev)
06:17 PM Bug #16506 (Closed): Documentation for `Module#const_souce_location` is wrong
https://ruby-doc.org/core-2.7.0/Module.html#method-i-const_source_location says:
> Returns the Ruby source filenam...
sawa (Tsuyoshi Sawada)
06:36 PM Revision 350dafd5 (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)
04:45 PM Bug #16500: Argument is added to both splat and last &block argument
FWIW the 2.6 behavior is detailed in ruby/spec:
https://github.com/ruby/spec/blob/84d606aa8e85a8fef6521b3402dae612d0...
Eregon (Benoit Daloze)
04:38 PM Bug #16500: Argument is added to both splat and last &block argument
mame (Yusuke Endoh) wrote:
> * The behavior of `args = [1, 2, -> {}]; foo( *args, &args.pop)` should pass `[1, 2, ...
Eregon (Benoit Daloze)
12:12 AM Bug #16500: Argument is added to both splat and last &block argument
Ruby 2.7 partially changed the behavior. Coped from my comment: https://github.com/ruby-grape/grape/issues/1967#issu... mame (Yusuke Endoh)
04:27 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
Eregon (Benoit Daloze) wrote:
> If we do the approach where we just wrap the non-lambda Proc in a lambda automatical...
Eregon (Benoit Daloze)
04:24 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
zverok (Victor Shepelev) wrote:
> I believe curent behavior is pretty consistent, as it describes what it would real...
Eregon (Benoit Daloze)
04:19 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
marcandre (Marc-Andre Lafortune) wrote:
> One example is RSpec's `let`:
I guess we'll have to disagree on that on...
Eregon (Benoit Daloze)
02:20 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
@eregon what is the exact proposal of this ticket? I am not sure neither from title nor from description :(
As a s...
zverok (Victor Shepelev)
01:42 PM Feature #16505 (Closed): Improve preformance of `RubyVM::InstructionSequence#to_binary`
## Abstract
Within #to_binary, deduplication of objects output to binary is performed, but the current implementatio...
NagayamaRyoga (Nagayama Ryoga)
12:36 PM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
A bit more discussion on fixing the behavior, after discussing on Reddit.
Basically, it is two ways to fix it:
1...
zverok (Victor Shepelev)
10:54 AM Revision e288632f (git): Clean generated ChangeLog [ci skip]
nobu (Nobuyoshi Nakada)
10:52 AM Revision 8afd304f (git): Ignore existing ChangeLog file and generate always [ci skip]
nobu (Nobuyoshi Nakada)
10:43 AM Revision b34f39e8 (git): vcs.rb: Allow to empty a part in commit log
nobu (Nobuyoshi Nakada)
10:39 AM Revision cccfc667 (git): Added make target to export the ChangeLog file
nobu (Nobuyoshi Nakada)
03:28 AM Feature #16485 (Closed): Make rexml, rss to the bundled gems
Applied in changeset commit:git|c3ccf23d5807f2ff20127bf5e42df0977bf672fb.
----------
Make rexml library to the bundl...
hsbt (Hiroshi SHIBATA)
03:28 AM Revision ae69aea3 (git): * 2020-01-12 [ci skip]
git[bot]
03:28 AM Revision ca654670 (git): Allow failures with rss tests on test-bundled-gems
hsbt (Hiroshi SHIBATA)
03:28 AM Revision c7ef7d8a (git): Also ignored cve_2014_8080_spec
hsbt (Hiroshi SHIBATA)
03:28 AM Revision e61cab3a (git): Ignore rexml examples on ruby/spec
hsbt (Hiroshi SHIBATA)
03:28 AM Revision 83240f31 (git): Make rss library to the bundle gems
[Feature #16485][ruby-core:96683] hsbt (Hiroshi SHIBATA)
03:28 AM Revision c3ccf23d (git): Make rexml library to the bundle gems
[Feature #16485][ruby-core:96683] hsbt (Hiroshi SHIBATA)

01/11/2020

11:59 PM Bug #16500: Argument is added to both splat and last &block argument
ioquatix (Samuel Williams) wrote:
> On Ruby 2.7.0:
>
> ```
> irb(main):020:-> x = [1, 2, ->{}]; puts(*x, &x.pop)...
jeremyevans0 (Jeremy Evans)
11:44 PM Bug #16500 (Open): Argument is added to both splat and last &block argument
On Ruby 2.7.0:
```
irb(main):020:-> x = [1, 2, ->{}]; puts(*x, &x.pop)
1
2
=> nil
irb(main):021:-> x = [1, 2,...
ioquatix (Samuel Williams)
01:28 AM Bug #16500 (Rejected): Argument is added to both splat and last &block argument
https://github.com/ruby-grape/grape/issues/1967 ioquatix (Samuel Williams)
01:21 AM Bug #16500: Argument is added to both splat and last &block argument
https://github.com/ruby-grape/grape/blob/d58dc0ab7a0b51625217deedd8110d1030be7cf7/lib/grape/middleware/stack.rb#L80-L... ioquatix (Samuel Williams)
12:52 AM Bug #16500: Argument is added to both splat and last &block argument
We cannot reproduce this.
Can you make some script to reproduce this in isolation?
Including Gemfile and Gemfil...
ioquatix (Samuel Williams)
12:31 AM Bug #16500: Argument is added to both splat and last &block argument
Thank you for the report! I cannot reproduce the issue by a simple config.ru:
```
require "rack/oauth2"
use R...
mame (Yusuke Endoh)
12:00 AM Bug #16500 (Closed): Argument is added to both splat and last &block argument
Here is a followup for a ruby2.7 issue discussed here https://gitlab.com/groups/gitlab-org/-/epics/2380
I run gitl...
anatolik (Anatol Pomozov)
10:44 PM Bug #16503 (Closed): "ret: 2, hash modified during iteration" error in Ruby 2.7.0
I am running a Rails app on Heroku. After upgrading to Ruby 2.7, I sometimes get `ret: 2, hash modified during iterat... jnchito (Junichi Ito)
10:44 PM Feature #16499: define_method(non_lambda) should not change the semantics of the given Proc
> I believe exactly 0 people want foo { return 42 } to change its meaning based on whether foo calls define_method or... marcandre (Marc-Andre Lafortune)
08:48 PM Feature #8709: Dir.glob should return sorted file list
The benchmark numbers above show a difference of 12%
That is probably the worst case, because usually, globs will ...
bmwiedemann (Bernhard M. Wiedemann)
11:35 AM Feature #8709: Dir.glob should return sorted file list
I added this issue to the next meeting's agenda:
https://bugs.ruby-lang.org/issues/16454
Eregon (Benoit Daloze)
11:33 AM Feature #8709: Dir.glob should return sorted file list
Here are some benchmark results in the ruby repository:
```
$ ruby -e 'p Dir["**/*"].size'
12171
$ ruby -rbench...
Eregon (Benoit Daloze)
11:32 AM Feature #8709: Dir.glob should return sorted file list
I have no opinion about this feature. hsbt (Hiroshi SHIBATA)
11:27 AM Feature #8709 (Open): Dir.glob should return sorted file list
I agree always sorting the result of `Dir.glob` makes sense.
Non-determinism caused by Dir.glob is very annoying and...
Eregon (Benoit Daloze)
11:18 AM Feature #8709 (Rejected): Dir.glob should return sorted file list
Do not update the `status` without a maintainer's decision. hsbt (Hiroshi SHIBATA)
06:28 AM Feature #8709 (Open): Dir.glob should return sorted file list
There are two problems with unsorted glob:
1) it is different from glob in C, bash and perl that all sort by defau...
bmwiedemann (Bernhard M. Wiedemann)
08:44 PM Feature #11747: "bury" feature, similar to 'dig' but opposite
A one-liner alternative for hash-only cases can be implemented using `Enumerable#reduce`:
```
root = {}
[:a, :b,...
cvss (Kirill Vechera)
08:38 PM Feature #11747: "bury" feature, similar to 'dig' but opposite
A proposal to specify the path for `bury` with classes as values of a hash arg:
```
{}.bury(users: Array, 0 => Ha...
cvss (Kirill Vechera)
02:59 PM Feature #16502 (Feedback): Add option :allow_trailing_comma to JSON#parse
The json library has another upstream repository: https://github.com/flori/json
Could you please send a pull reque...
mame (Yusuke Endoh)
02:43 PM Feature #16502 (Closed): Add option :allow_trailing_comma to JSON#parse
Hello everyone,
I'd like to be able to parse JSON sources that contain trailing commas in arrays and/or objects.
...
j.spanjers (Jan-Joost Spanjers)
12:34 PM Bug #16496: Numbered Parameter not parsed properly in lambda
We are now migrating. If we change it immediately, a program that uses `_1` as a method name will break. So it is n... mame (Yusuke Endoh)
11:50 AM Bug #16496 (Feedback): Numbered Parameter not parsed properly in lambda
JustinFeng (Justin Feng)
11:49 AM Bug #16496: Numbered Parameter not parsed properly in lambda
mame (Yusuke Endoh) wrote:
> `_1 *1` is parsed as `_1(*1)`, a call to a method `_1` with a variable-length argument ...
JustinFeng (Justin Feng)
11:35 AM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #16484] Remove xmlrpc and net-telnet from bundled gems
* Does anyone have an objection?
hsbt (Hiroshi SHIBATA)
11:34 AM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #8709] Dir.glob should return sorted file list (eregon)
* It causes non-determinism on e.g., Linux, whi...
Eregon (Benoit Daloze)
11:33 AM Feature #16484 (Assigned): Remove xmlrpc and net-telnet from bundled gems
hsbt (Hiroshi SHIBATA)
11:19 AM Revision 012f2973 (git): Get rid of use of magic number 'E'
nobu (Nobuyoshi Nakada)
11:07 AM Bug #16501: Support marshaling of ruby2_keywords flag
Makes sense to me that Marshal knows how to preserve that flag.
(Sidekiq used Marshal in previous versions, but swit...
Eregon (Benoit Daloze)
06:31 AM Bug #16501 (Closed): Support marshaling of ruby2_keywords flag
This patch makes Marshal.dump and load aware of ruby2_keywords flag.
https://github.com/ruby/ruby/pull/2830
```...
mame (Yusuke Endoh)
07:24 AM Revision e62aead2 (git): Add branch option to checkout on push
znz (Kazuhiro NISHIYAMA)
03:16 AM Bug #16497: StringIO#internal_encoding is broken (more severely in 2.7)
Note the StringIO is _not_ transcoding. it is simply changing the encoding "tagging" of the String without changing a... jrochkind (jonathan rochkind)
01:58 AM Bug #16480 (Closed): Ruby 2.7, C++, and rb_define_method compilation error
The arities must be eventually compile-time constants for the nature.
I think this case is quite special, and it is ...
nobu (Nobuyoshi Nakada)
01:43 AM Revision 7584853c (git): st_delete_wrap is no longer used
nobu (Nobuyoshi Nakada)
01:42 AM Revision eb737916 (git): Warn when :newline precedes other newline options
nobu (Nobuyoshi Nakada)
01:42 AM Revision 8bb24712 (git): Added assertions for newline decorators
nobu (Nobuyoshi Nakada)
01:40 AM Revision 52a9e4ff (git): * 2020-01-11 [ci skip]
git[bot]
01:40 AM Revision 40c57ad4 (git): Let execution context local storage be an ID table
methodmissing (Lourens Naudé)

01/10/2020

10:36 PM Feature #16499 (Rejected): define_method(non_lambda) should not change the semantics of the given Proc
From https://bugs.ruby-lang.org/issues/15973?next_issue_id=15948&prev_issue_id=15975#note-38
But I think we should...
Eregon (Benoit Daloze)
10:21 PM Feature #15973: Let Kernel#lambda always return a lambda
Yes, sorry I should not have mentioned `define_method` here, even though it's related it's not the main topic.
I'll ...
Eregon (Benoit Daloze)
02:36 PM Misc #16487: Potential for SIMD usage in ruby-core
Just to confirm, `__attribute__(target(""))` is how PHP does it:
- https://github.com/php/php-src/blob/7ce531f2...
byroot (Jean Boussier)
02:12 PM Misc #16487: Potential for SIMD usage in ruby-core
> use __target__ attributes
thanks for the links, very helpful
> It's unfortunate the C compiler cannot do this...
ahorek (Pavel Rosický)
01:22 PM Misc #16487: Potential for SIMD usage in ruby-core
> My concern here is who can read, understand and maintain that code?
> Such complexity is likely to have bugs or ne...
byroot (Jean Boussier)
12:29 PM Misc #16487: Potential for SIMD usage in ruby-core
The code in https://github.com/Shopify/ruby/pull/2/files looks rather arcane to me.
I guess that's often the case fo...
Eregon (Benoit Daloze)
12:20 PM Misc #16487: Potential for SIMD usage in ruby-core
> for maximum portability, you should use -march=x86-64
Oh I see what you mean now.
Apparently the solution for...
byroot (Jean Boussier)
11:35 AM Misc #16487: Potential for SIMD usage in ruby-core
> Could you extend on that ? I'm not sure I understand what you mean here.
for maximum portability, you should use...
ahorek (Pavel Rosický)
09:49 AM Misc #16487: Potential for SIMD usage in ruby-core
> You can't use for example AVX instructions generated from a regular C code, even if your processor supports it. You... byroot (Jean Boussier)
07:36 AM Misc #16487: Potential for SIMD usage in ruby-core
Could we do something that allows us to install a gem that gives us the speedup by rerouting stuff in MRI?
Then y...
sam.saffron (Sam Saffron)
05:09 AM Misc #16487: Potential for SIMD usage in ruby-core
> Do you have any practical applications whose performance is significantly improved by the SIMD hacks? I'm unsure ab... ahorek (Pavel Rosický)
02:08 AM Misc #16487: Potential for SIMD usage in ruby-core
Do you have any practical applications whose performance is significantly improved by the SIMD hacks? I'm unsure abo... mame (Yusuke Endoh)
01:57 PM Revision b53d8230 (git): Fixed the wrong url for benchmark
hsbt (Hiroshi SHIBATA)
01:56 PM Revision e0436605 (git): Update the upstream repository of bundler
hsbt (Hiroshi SHIBATA)
01:18 PM Bug #16497 (Assigned): StringIO#internal_encoding is broken (more severely in 2.7)
nobu (Nobuyoshi Nakada)
11:18 AM Bug #16497 (Assigned): StringIO#internal_encoding is broken (more severely in 2.7)
To the best of my understanding from [Encoding](https://docs.ruby-lang.org/en/master/Encoding.html) docs, the followi... zverok (Victor Shepelev)
12:48 PM Revision 7693897a (git): Reduced duplicate code
nobu (Nobuyoshi Nakada)
12:47 PM Bug #16498 (Closed): Hash#transform_values in 2.7.0 sets new hash's default to old hash's default_proc
Applied in changeset commit:git|1b4d406e3a04032b6d01e92b6d184a16945c6ac3.
----------
Hash#transform_values should re...
nobu (Nobuyoshi Nakada)
11:23 AM Bug #16498 (Closed): Hash#transform_values in 2.7.0 sets new hash's default to old hash's default_proc
The following is unexpected for me.
```ruby
Hash.new { }.transform_values { }.default
# => #<Proc:0x000055eecda0...
ptsengineer (Peter Tsengineer)
12:44 PM Revision 1b4d406e (git): Hash#transform_values should return a plain new Hash
[Bug #16498] nobu (Nobuyoshi Nakada)
12:17 PM Revision 135b533e (git): add missing #include
shyouhei (Shyouhei Urabe)
12:17 PM Revision 13064fe5 (git): avoid undefined behaviour when n==0
ISO/IEC 9899:1999 section 6.5.7 states that "If the value of the right
operand is negative or is greater than or equa...
shyouhei (Shyouhei Urabe)
12:17 PM Revision 79dcd26a (git): more use of MSC_VERSION_SINCE
Replaces `#ifdef _MSC_VER` with more accurate version checks. Also,
`defined(_WIN64) && defined(__AVX2__)` is redund...
shyouhei (Shyouhei Urabe)
12:17 PM Revision 7fed7eb5 (git): fix Windows breakage
Fixing typo revealed that _BitScanReverse is BSR, which behaves
differently than LZCNT. What we want here is LZCNT s...
shyouhei (Shyouhei Urabe)
12:17 PM Revision db0398dc (git): fix typos
shyouhei (Shyouhei Urabe)
06:34 AM Feature #5781: Query attributes (attribute methods ending in `?` mark)
sudo (Sudo Nice) wrote:
> How about implementing it similarly to Crystal?
>
> attr_accessor? :foo
+1
anders (Anders Bälter)
06:33 AM Feature #11167: Allow an attr_ variant for query-methods that end with a question mark '?' character, such as: def foo? returning @foo
Like that!
sudo (Sudo Nice) wrote:
> How about implementing it similarly to Crystal?
>
> attr_accessor? :f...
anders (Anders Bälter)
02:49 AM Bug #16496 (Rejected): Numbered Parameter not parsed properly in lambda
`_1 *1` is parsed as `_1(*1)`, a call to a method `_1` with a variable-length argument with `1`. It is the same as `... mame (Yusuke Endoh)
02:21 AM Bug #16496 (Rejected): Numbered Parameter not parsed properly in lambda
The space between `*` and `1` changes the lambda behaviour, looks like numbered parameter `_1` is not parsed properly... JustinFeng (Justin Feng)
02:47 AM Feature #16476: Socket.getaddrinfo cannot be interrupted by Timeout.timeout
Dan0042 (Daniel DeLorme) wrote:
> +1
>
> This has been an issue for a very long time, and it's often been handled...
kirs (Kir Shatrov)
02:00 AM Misc #16454: DevelopersMeeting20200116Japan
* [Feature #16495] Inconsistant Quotes in Error Messages (mame)
* This is the third time that we receive a ticket ...
mame (Yusuke Endoh)
01:28 AM Misc #16454: DevelopersMeeting20200116Japan
alanwu (Alan Wu) wrote:
> I would like to see discussion about [Misc #16487] itself. My notes are a bit of an aside,...
mame (Yusuke Endoh)
01:28 AM Revision 0a67c214 (git): Ensure seed data to be cleared
To prevent from leaking the seed data. nobu (Nobuyoshi Nakada)
01:28 AM Revision 499de0a0 (git): Fill siphash salt directly with random data
Expanding less random data with MT is not needed when it
succeeded.
nobu (Nobuyoshi Nakada)
01:04 AM Feature #16495: Inconsistent quotes in error messages
This combination is very common, e.g., Emacs, TeX, etc. nobu (Nobuyoshi Nakada)
12:36 AM Feature #16495: Inconsistent quotes in error messages
Hmm. Is this encoding-related perhaps? I remember having had that when I used ISO (ISO-8859-1 specifically, and
a no...
shevegen (Robert A. Heiler)
12:09 AM Revision 54e31f4a (git): Update dependencies for c6b26f5ccf9296f7fbb23c055401c4f55d32efa0
nobu (Nobuyoshi Nakada)
 

Also available in: Atom