Project

General

Profile

Activity

From 01/17/2020 to 01/23/2020

01/23/2020

05:26 PM Bug #16506 (Closed): Documentation for `Module#const_souce_location` is wrong
Fixed by commit:2bde7919a0a8302c344e9bb9ddc217958fcbd3c7 jeremyevans0 (Jeremy Evans)
05:17 PM Bug #16522: Ruby 2.7 logs deprecation warning when Warning[:deprecated] is set to false.
This no longer applies to the master branch, as the warnings have been removed.
Fixing this in 2.7 could be challe...
jeremyevans0 (Jeremy Evans)
05:09 PM Bug #16558: What is special about GB2312
I checked on OpenBSD and gb2312.so seems to be similar to others (I checked gb18030.so):
```
$ readelf -d /usr/lo...
jeremyevans0 (Jeremy Evans)
02:38 PM Bug #16558 (Closed): What is special about GB2312
Checking Ruby in Fedora, rpmlint complains about standard library:
~~~
$ rpmlint ./ruby-libs-2.7.0-126.fc32.x86_6...
vo.x (Vit Ondruch)
04:58 PM Bug #16496 (Rejected): Numbered Parameter not parsed properly in lambda
jeremyevans0 (Jeremy Evans)
03:37 PM Feature #16557: Deduplicate Regexp literals
Eregon (Benoit Daloze) wrote:
> would also avoid compiling these duplicated Regexp again.
In theory yes, however ...
byroot (Jean Boussier)
01:38 PM Feature #16557: Deduplicate Regexp literals
This is quite interesting, and would also avoid compiling these duplicated Regexp again, which likely saves quite a b... Eregon (Benoit Daloze)
11:49 AM Feature #16557 (Open): Deduplicate Regexp literals
Pull Request: https://github.com/ruby/ruby/pull/2859
### Context
Real world application contain many duplicated...
byroot (Jean Boussier)
09:28 AM Bug #16510: irb crashes when hitting 'Home' or 'End' keys
@packerbacker89
Could you show a full result of `gnome-terminal --version`?
@jaruga
I think the CUI access via D...
aycabta (aycabta .)
08:17 AM Bug #16556 (Feedback): Showing rails aborted message while running rails s
- 2.2.2 is out of date. There is no official support for that version now. Try a new one to see if the error persis... shyouhei (Shyouhei Urabe)
08:02 AM Bug #16556 (Closed): Showing rails aborted message while running rails s
while I am running my project on ruby on rails. rails -s is not working it is showing the error as raials aborted mes... [email protected] (Aditya Gupta)
06:32 AM Feature #16555 (Closed): Add #verify_hostname= and #verify_hostname to skip hostname verification
I'd like to add Net::HTTP#verify_hostname and Net::HTTP#verify_hostname= since OpenSSL::SSL::SSLContext has #verify_h... ganmacs (Yuta Iwama)

01/22/2020

10:44 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > With ruby2_keywords by default, it's used fo...
jeremyevans0 (Jeremy Evans)
09:15 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
jeremyevans0 (Jeremy Evans) wrote:
> With ruby2_keywords by default, it's used for all methods accepting args splat ...
Eregon (Benoit Daloze)
06:27 PM Bug #16519 (Closed): pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
Applied in changeset commit:git|28d31ead34baff1c4abc0d7d902ef4bc1d576fb2.
----------
Fix pp when passed a empty ruby...
jeremyevans (Jeremy Evans)
04:48 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
Eregon (Benoit Daloze) wrote:
> jeremyevans0 (Jeremy Evans) wrote:
> > I think @matz should strongly consider this ...
jeremyevans0 (Jeremy Evans)
10:46 AM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
> To paraphrase @Eregon , if a ruby committer heavily involved in the process cannot figure out even why a problem oc... Eregon (Benoit Daloze)
10:29 AM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
jeremyevans0 (Jeremy Evans) wrote:
> I think @matz should strongly consider this particular problem when deciding wh...
Eregon (Benoit Daloze)
12:26 AM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
Eregon (Benoit Daloze) wrote:
> The code around there looks like:
>
> ```ruby
> def seplist(list, sep=nil, iter_...
jeremyevans0 (Jeremy Evans)
08:05 PM Bug #16510: irb crashes when hitting 'Home' or 'End' keys
Hi, packerbacker89.
Here are the centos 6 containers, tag `6` and `6.X`.
https://hub.docker.com/_/centos/
If you...
jaruga (Jun Aruga)
10:31 AM Bug #16522 (Closed): Ruby 2.7 logs deprecation warning when Warning[:deprecated] is set to false.
Hi
While upgrading our monolithic app to ruby 2.7, we realised that ruby 2.7 is not suppressing all deprecation w...
[email protected] (Sneha Somwanshi)
09:27 AM Bug #16518: Should we rationalize Rational's numerator automatically?
After a quick trace of the source code, the problem is BigDecimal is a subclass of Numeric but defined in Ruby.
Th...
elct9620 (ZhengXian Qiu)
08:42 AM Bug #16518: Should we rationalize Rational's numerator automatically?
Thanks for the quick response!
I also found that it returns `BigDecimal` if any of its arguments is a `BigDecimal`...
st0012 (Stan Lo)
04:58 AM Bug #16520: Brackets ignored over multi-line
mame (Yusuke Endoh) wrote:
> ```
> (1
> +2)
> ```
>
> is equivalent to
>
> ```
> begin
> 1
> +2
> e...
abrom (Andrew Bromwich)
04:57 AM Bug #16520: Brackets ignored over multi-line
Note when running the above code through the parser it's pretty clear why it's breaking, and to be honest i'm not sur... abrom (Andrew Bromwich)
04:49 AM Bug #16520 (Rejected): Brackets ignored over multi-line
```
(1
+2)
```
is equivalent to
```
begin
1
+2
end
```
which evaluates, discards the first line ...
mame (Yusuke Endoh)
04:43 AM Bug #16520 (Rejected): Brackets ignored over multi-line
I was refactoring some code in a gem and noticed some test failures. It appears to be a bug in the tests masked by wh... abrom (Andrew Bromwich)
04:55 AM Bug #16521 (Closed): ST_DEBUG not working
1. configure with `cppflags=-DST_DEBUG`
2. make it.
3. ```
% gdb --args ./miniruby -ve0
GNU gdb (Ubun...
shyouhei (Shyouhei Urabe)

01/21/2020

11:11 PM Bug #16519: pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
The code around there looks like:
```ruby
def seplist(list, sep=nil, iter_method=:each) # :yield: element
sep ...
Eregon (Benoit Daloze)
11:07 PM Bug #16519 (Closed): pp [Hash.ruby2_keywords_hash({})] shows `[nil]`
This happens on `master`:
```
$ ruby -ve 'ruby2_keywords def flag(*a); a.last; end; pp [flag(**{})]'
ruby 2.8.0d...
Eregon (Benoit Daloze)
10:53 PM Feature #16463: Fixing *args-delegation in Ruby 2.7: ruby2_keywords semantics by default in 2.7.1
I opened a PR implementing this change: https://github.com/ruby/ruby/pull/2853
I think it's quite clean and I think ...
Eregon (Benoit Daloze)
08:23 AM Bug #16510: irb crashes when hitting 'Home' or 'End' keys
It works perfectly for me. I'm using GNOME Terminal (`GNOME Terminal 3.34.2 using VTE 0.58.2 +BIDI +GNUTLS`) in Ubun... mame (Yusuke Endoh)

01/20/2020

06:05 PM Feature #16517: mkmf.rb - changes for Windows ?
Just a comment or two - please don't get distracted from the main issue greg referred
to, it is just my opinion:
...
shevegen (Robert A. Heiler)
03:49 PM Feature #16517: mkmf.rb - changes for Windows ?
Re the mswin change, the cost is low, and the benefit is high.
Re requiring devkit, my request is a specific solut...
MSP-Greg (Greg L)
09:16 AM Feature #16517: mkmf.rb - changes for Windows ?
I think `mkmf.rb` is a good place to add `require 'devkit'`. It doesn't catch the cases where the Rakefile makes use ... larskanis (Lars Kanis)
09:30 AM Bug #16518: Should we rationalize Rational's numerator automatically?
This seems due to the fact `Rational(BigDecimal, Integer)` does not return a Rational but a BigDecimal!
That seems...
Eregon (Benoit Daloze)
08:48 AM Feature #14240 (Open): warn four special variables: $; $, $/ $\
nobu (Nobuyoshi Nakada)
08:48 AM Feature #14240 (Closed): warn four special variables: $; $, $/ $\
Applied in changeset commit:git|9f99760dafac6eaa53287470b8ff59b1be0bf6d6.
----------
Get rid of use of special varia...
jeremyevans (Jeremy Evans)
12:51 AM Feature #16511: Staged warnings and better compatibility for keyword arguments in 2.7.1
I'm adjusting the proposal to focus on the goal (flexible deprecation) rather than the means (subclass or flag) Dan0042 (Daniel DeLorme)

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: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)
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)

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)
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: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: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: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)
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)
 

Also available in: Atom