Activity
From 01/11/2020 to 01/17/2020
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... -
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.
-
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... -
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... -
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 ...
-
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... -
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... -
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.
>
... -
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... -
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
... -
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... - 03:17 PM Revision 1e29fe77 (git): * 2020-01-18 [ci skip]
-
03:17 PM Revision 199d829a (git): [ruby/io-console] bump up to 0.5.5
-
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.... -
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:/... -
03:14 PM Revision 4e1a7678 (git): [ruby/io-console] Update the minimum requirement of Ruby version
- https://github.com/ruby/io-console/commit/73e7b6318a
-
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 ... -
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...
-
10:53 AM Bug #16514 (Closed): Documentation mistake for method syntax (splat/array parameter)
-
10:50 AM Revision 09271acd (git): Update documentation for Array/Hash Argument section of methods.rdoc
-
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... -
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] -
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... -
08:20 AM Bug #16501 (Closed): Support marshaling of ruby2_keywords flag
- Applied in changeset commit:git|b23fd59cbb3f097bcd559d0c85a86ff7a1eeeb7e.
----------
marshal.c: Support dump and loa... -
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... -
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... -
07:56 AM Revision c98c4925 (git): Added test for f38b3e8c707ebdcad05aa9485cf1760640b74fbb
-
07:41 AM Revision f9788ca7 (git): Update dependencies
- internal/rational.h needs internal/warnings.h with Apple clang,
for `UNALIGNED_MEMBER_ACCESS`. -
05:51 AM Misc #16454 (Closed): DevelopersMeeting20200116Japan
- Published. Closing.
-
05:35 AM Misc #16454: DevelopersMeeting20200116Japan
- The linked log https://docs.google.com/document/d/1NxNMc7tlt-olPRyRQDhAjZWw30Atr6a-rfQxQ9BRXfY is not updated. Can I ...
-
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 ...
-
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...
-
02:19 AM Revision 4e6bcac2 (git): Update dependencies in makefiles again
- patch from https://travis-ci.org/ruby/ruby/jobs/638231960
- 01:57 AM Revision 5275d8bf (git): rb_rational_raw: convert num and den by to_int
- 01:57 AM Revision 47465ab1 (git): rb_rational_raw: make a denominator always positive
-
01:25 AM Revision 73618d84 (git): Update dependencies in makefiles
- patch from https://travis-ci.org/ruby/ruby/jobs/638226493
- 01:06 AM Revision 07ce51c5 (git): internal/rational.h: insert assertions in RATIONAL_SET_{NUM,DEN}
- 01:06 AM Revision fbc00c2d (git): rational.c: remove nurat_s_new
- 01:04 AM Revision 019a0ed0 (git): Make RATIONAL_SET_{NUM,DEN} static inline functions
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... -
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... -
07:32 PM Bug #8841: Module#included_modules and prepended modules
- Thank you.
I clarified the documentation to reflect this. -
06:19 AM Bug #8841 (Closed): Module#included_modules and prepended modules
- This intentional.
Matz.
- 07:31 PM Revision 8ab11096 (git): Clarify documentation for Module#included_modules and Module#included?
- [DOC] [ci skip] [Bug #8841]
-
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... -
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... -
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... -
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... -
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...
-
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... -
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...
-
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 .... - 04:37 PM Revision 95301378 (git): * 2020-01-17 [ci skip]
-
04:37 PM Revision 800c2a8e (git): Implement vi_insert_at_bol and vi_add_at_eol
-
04:37 PM Revision ec0b366a (git): Add tests for vi_insert and vi_add
-
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...
-
06:03 AM Feature #8709: Dir.glob should return sorted file list
- Accepted. We will add `sort: false` keyword option to disable sorting.
Matz.
-
05:22 AM Feature #8709: Dir.glob should return sorted file list
- I'm for adding `NOSORT` option to the second argument.
-
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... -
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 ... -
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?
-
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 #...
-
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...
-
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... -
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 ... -
09:38 AM Revision c171ab23 (git): Separate numbered parameter scope in eval
- [Feature #16432]
-
09:34 AM Revision f38b3e8c (git): Fixed the location of args node with numbered parameter
-
08:52 AM Revision 52bb32d6 (git): Fix Proc#<< spec
- [Bug #16406]
-
08:51 AM Misc #16512 (Assigned): Improving `www.ruby-lang.org` reference by merging with `rubyreferences.github.io`
-
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...
-
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...
-
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
... -
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 ...
-
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`... -
08:04 AM Feature #5321 (Rejected): Introducing Numeric#exact? and Numeric#inexact?
- Rejected.
Matz.
-
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... -
07:56 AM Revision 62baad9f (git): Removed xmlrpc and net-telnet from the bundled gems.
- [Feature #16484][ruby-core:96682]
-
07:28 AM Bug #16383: TracePoint does not report calls to attribute reader methods
- * matz: good to have, but not a showstopper
-
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.
-
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...
-
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.
-
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... -
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", ...
-
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... -
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] -
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... -
06:19 AM Bug #10388 (Rejected): Operator precedence problem in multiple assignment (massign)
-
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...
-
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... -
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...
-
06:09 AM Revision 48f324e9 (git): lib/net/imap.rb: use `&blk` instead of Kernel#proc with no block
- [Bug #16488]
-
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... -
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...
-
04:36 AM Feature #16494: Allow hash unpacking in non-lambda Proc
- My alternative proposal to accomplish the same objective: #16511
-
05:30 AM Bug #16501: Support marshaling of ruby2_keywords flag
- I agree. Accepted.
Matz.
-
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...
-
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... -
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
-
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 ... -
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 ... - 02:34 AM Revision 0b6682dc (git): * 2020-01-16 [ci skip]
-
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...
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... -
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... -
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...
-
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... -
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...
-
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.
-
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... -
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... -
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... -
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 ... -
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.
... -
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...
-
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... -
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... -
02:36 AM Misc #16454: DevelopersMeeting20200116Japan
- > Comment deadline: 2020/01/09 (one week before the meeting)
So the following issues are optional (candidates for ... -
03:43 AM Revision 815807d2 (git): NEWS.md: mention "Freeze Regexp literals" [Feature #8948]
-
03:42 AM Revision 9feca5ce (git): NEWS.md: converted from NEWS
- and NEWS is deleted
-
01:50 AM Revision ac93cf4f (git): Update version guard
- fix up 98ef38ada43338c073f50a0093196f0356284625
-
01:39 AM Feature #8948 (Closed): Frozen regex
- Applied in changeset commit:git|98ef38ada43338c073f50a0093196f0356284625.
----------
Freeze Regexp literals
[Featur... -
01:39 AM Feature #16377 (Closed): Regexp literals should be frozen
- Applied in changeset commit:git|98ef38ada43338c073f50a0093196f0356284625.
----------
Freeze Regexp literals
[Featur... -
01:38 AM Feature #16377: Regexp literals should be frozen
- Could you add a NEWS entry?
-
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... -
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... - 01:23 AM Revision 07aef4c9 (git): * 2020-01-15 [ci skip]
-
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 ...
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
... -
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...
-
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: '... -
04:18 PM Bug #15262 (Closed): WeakRef::RefError for object that is still in use
-
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 ... -
10:38 AM Bug #15262 (Open): WeakRef::RefError for object that is still in use
-
02:25 PM Bug #16462: Ruby 2.7 autoload not working with $RUBYLIB (maybe circular dependency error)
- Any update for this?
-
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... -
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... -
12:24 PM Feature #16274 (Closed): Transform hash keys by a hash
-
12:24 PM Feature #16273 (Open): Proposal: Shorthand operator for "#instance_method"
-
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.
-
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*... -
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... -
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...
-
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
... -
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... -
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...
-
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 ... -
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...
-
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...
-
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 ...
-
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 ... -
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... -
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... -
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... -
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... -
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.
-
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...
-
06:40 AM Revision 8c3efa49 (git): Use Reline.encoding_system_needs if exists
-
06:40 AM Revision a2638c0d (git): Remove an unused setting variable
-
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... - 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_... - 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 ... -
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_... -
03:24 AM Feature #16441: Enumerable#take_while_after
- @akr What do you think?
-
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... -
04:10 AM Bug #9790 (Feedback): Zlib::GzipReader only decompressed the first of concatenated files
- do you have real (popular) usecases?
-
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... -
02:31 AM Bug #10929 (Rejected): NilClass#to_proc and & don't mix?
- it can break delegation methods.
-
02:14 AM Bug #9815 (Rejected): attr_reader doesn't warn on a uninitialized instance variable
- 12:46 AM Revision 440013b2 (git): Remove s390x from allow_failures
01/13/2020
- 09:58 PM Revision e0a9b8ec (git): * 2020-01-14 [ci skip]
-
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. -
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... -
09:58 PM Revision c2e45422 (git): Store "UTC" and "" fstring as globals in time.c
-
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...
-
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...
-
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... -
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...
-
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... -
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.... -
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
-
12:23 PM Feature #16273 (Closed): Proposal: Shorthand operator for "#instance_method"
- Applied in changeset commit:git|5aa0e6bee916f454ecf886252e1b025d824f7bd8.
----------
Mention new feature of Hash#tra... -
12:22 PM Revision 5aa0e6be (git): Mention new feature of Hash#transform_keys [Feature #16273]
- ref b25e27277dc39f25cfca4db8452d254f6cc8046e
-
03:27 AM Revision f4394063 (git): test-bundled-gems.rb: Use real paths for symlinks
-
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... -
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.
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...
-
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... -
12:52 AM Bug #16504: `foo(*args, &args.pop)` should pass all elements of args
- https://github.com/ruby/ruby/pull/2833
-
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... -
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... -
06:44 PM Bug #16503 (Closed): "ret: 2, hash modified during iteration" error in Ruby 2.7.0
- 350dafd56a9cff58d36303aeb7515ab41c5dbbb3
-
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.
-
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... -
06:19 PM Bug #16503: "ret: 2, hash modified during iteration" error in Ruby 2.7.0
- Could you make reproducible script?
-
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...
-
11:03 PM Revision 61ff5cd5 (git): Fix syntax error in obj_free with hash size debug counter when USE_DEBUG_COUNTER is enabled
-
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
>
> ... -
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.
- 06:44 PM Revision 83b8dfac (git): * 2020-01-13 [ci skip]
-
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. -
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... -
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... -
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... -
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... -
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, ... -
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...
-
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... -
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... -
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... -
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... -
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... -
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... -
10:54 AM Revision e288632f (git): Clean generated ChangeLog [ci skip]
-
10:52 AM Revision 8afd304f (git): Ignore existing ChangeLog file and generate always [ci skip]
-
10:43 AM Revision b34f39e8 (git): vcs.rb: Allow to empty a part in commit log
-
10:39 AM Revision cccfc667 (git): Added make target to export the ChangeLog file
-
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... - 03:28 AM Revision ae69aea3 (git): * 2020-01-12 [ci skip]
-
03:28 AM Revision ca654670 (git): Allow failures with rss tests on test-bundled-gems
-
03:28 AM Revision c7ef7d8a (git): Also ignored cve_2014_8080_spec
-
03:28 AM Revision e61cab3a (git): Ignore rexml examples on ruby/spec
-
03:28 AM Revision 83240f31 (git): Make rss library to the bundle gems
- [Feature #16485][ruby-core:96683]
-
03:28 AM Revision c3ccf23d (git): Make rexml library to the bundle gems
- [Feature #16485][ruby-core:96683]
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)... -
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,... -
01:28 AM Bug #16500 (Rejected): Argument is added to both splat and last &block argument
- https://github.com/ruby-grape/grape/issues/1967
-
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...
-
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... -
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... -
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... -
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...
-
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...
-
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 ... -
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 -
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... -
11:32 AM Feature #8709: Dir.glob should return sorted file list
- I have no opinion about this feature.
-
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... -
11:18 AM Feature #8709 (Rejected): Dir.glob should return sorted file list
- Do not update the `status` without a maintainer's decision.
-
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... -
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,... -
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... -
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... -
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.
... -
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...
-
11:50 AM Bug #16496 (Feedback): Numbered Parameter not parsed properly in lambda
-
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 ... -
11:35 AM Misc #16454: DevelopersMeeting20200116Japan
- * [Feature #16484] Remove xmlrpc and net-telnet from bundled gems
* Does anyone have an objection?
-
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... -
11:33 AM Feature #16484 (Assigned): Remove xmlrpc and net-telnet from bundled gems
-
11:19 AM Revision 012f2973 (git): Get rid of use of magic number 'E'
-
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... -
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
```... -
07:24 AM Revision e62aead2 (git): Add branch option to checkout on push
-
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...
-
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 ... -
01:43 AM Revision 7584853c (git): st_delete_wrap is no longer used
-
01:42 AM Revision eb737916 (git): Warn when :newline precedes other newline options
-
01:42 AM Revision 8bb24712 (git): Added assertions for newline decorators
- 01:40 AM Revision 52a9e4ff (git): * 2020-01-11 [ci skip]
-
01:40 AM Revision 40c57ad4 (git): Let execution context local storage be an ID table
Also available in: Atom