Project

General

Profile

Activity

From 09/23/2020 to 09/29/2020

09/29/2020

10:50 PM Revision ea347990 (git): merge revision(s) 07786edd66f59a529d6febb2e0fe901782991755,1917afa34bca55ba1ea578234132b7e4479ea3c9,0c611d7f4fce67c64bee4815f263c55ef15561c4:
test/net/http/test_https.rb: Stop the error due to openssl 1.1.1h
On some environments that uses OpenSSL 1.1...
nagachika (Tomoyuki Chikanaga)
08:27 PM Feature #16986: Anonymous Struct literal
marcandre (Marc-Andre Lafortune) wrote in #note-49:
> We could settle for `Struct.[]`:
>
> ```ruby
> Struct[name...
tenderlovemaking (Aaron Patterson)
05:15 PM Feature #16986: Anonymous Struct literal
tenderlovemaking (Aaron Patterson) wrote in #note-48:
> I frequently use `Struct.new().new()` in test cases where I n...
marcandre (Marc-Andre Lafortune)
04:15 PM Feature #16986: Anonymous Struct literal
marcandre (Marc-Andre Lafortune) wrote in #note-47:
> esquinas (Enrique Esquinas) wrote in #note-46:
> > Here `calc...
tenderlovemaking (Aaron Patterson)
03:56 PM Feature #16986: Anonymous Struct literal
esquinas (Enrique Esquinas) wrote in #note-46:
> Here `calculationOn3D` expects the `point` variable to implement th...
marcandre (Marc-Andre Lafortune)
02:35 PM Feature #16986: Anonymous Struct literal
duerst (Martin Dürst) wrote in #note-43:
> One more point: I haven't seen much examples of similar features in other...
esquinas (Enrique Esquinas)
07:59 PM Bug #17186: Integer overflow in "chr" error message (out of char range)
Looks great, thanks! semaperepelitsa (Simon Perepelitsa)
06:50 PM Revision 0fb1a67b (git): Reference process PID using the Process#pid
This change will allow formatter to run from Ractors other than main. maciej.mensfeld (Maciej Mensfeld)
05:27 PM Bug #17203: Logger::Formatter won't work with non main Ractor
I tried to make an example why sharing a mutable object is problematic, but I think I just got more confused :D
``...
Eregon (Benoit Daloze)
05:10 PM Bug #17203: Logger::Formatter won't work with non main Ractor
Since `$$` returns a (read-only) Integer, it seems harmless to let Ractors read it.
Although I think `Process.pid`...
Eregon (Benoit Daloze)
03:17 PM Bug #17203 (Closed): Logger::Formatter won't work with non main Ractor
``` ruby
class Rogger < Ractor
def self.new
super do
# STDOUT cannot be referenced but $stdout can
...
maciej.mensfeld (Maciej Mensfeld)
05:08 PM Feature #17171: Why is the visibility of constants not affected by `private`?
I am not quite as active on the bug-tracker as I used to be in the past, but I will comment on this particular issue ... shevegen (Robert A. Heiler)
03:32 PM Revision c38605de (git): * 2020-09-30 [ci skip]
git[bot]
03:31 PM Revision f7bd9f07 (git): Fix unsigned int overflow in error message for chr
The error message has an integer overflow because it treats an unsigned int as a signed int.
Before:
```
> 3_000_000...
peterzhu2118 (Peter Zhu)
03:30 PM Feature #13153: Inconsistent sprintf formatting for 0 value
This behavior comes from ANSI-C, and same as printf(1).
I don't think this is a bug.
nobu (Nobuyoshi Nakada)
02:04 PM Bug #15993: 'require' doesn't work if there are Cyrillic chars in the path to Ruby dir
I think I have a similar problem originally reported at GitHub already:
https://github.com/rubygems/rubygems/issu...
tschoening (Thorsten Schöning)
01:49 PM Revision cece71b4 (git): Add call-seq of [Feature #16274]
znz (Kazuhiro NISHIYAMA)
01:46 PM Revision 828c34e5 (git): merge revision(s) d23d2f3f6fbb5d787b0dd80675c489a692be23e2:
[ruby/webrick] Make it more strict to interpret some headers
Some regexps were too tolerant.
https:...
nagachika (Tomoyuki Chikanaga)
01:43 PM Feature #17000 (Closed): 2.7.2 turns off deprecation warnings by default
Applied in changeset commit:git|df3f52a6331f1a47af9933b77311a8650727d8d1.
----------
merge revision(s) 996af2ce08624...
nagachika (Tomoyuki Chikanaga)
01:43 PM Revision df3f52a6 (git): merge revision(s) 996af2ce086249e904b2ce95ab2fcd1de7d757be: [Backport #16345] [Backport #17000]
Disable deprecation warning by the default [Feature #16345]
And `-w` option turns it on.
nagachika (Tomoyuki Chikanaga)
12:57 PM Bug #17175: Ruby 2.5: OpenSSL related test failures
> And I am still seeing DRbSSL related errors after applying the patches. Do you know any idea to fix it?
I found ...
jaruga (Jun Aruga)
11:44 AM Bug #17175: Ruby 2.5: OpenSSL related test failures
Comparing ruby_2_5 branch not passing the tests with ruby_2_6 branch passing the tests, I found the differences, and ... jaruga (Jun Aruga)
12:36 PM Bug #17202: Backport for Apple Silicon
I also confirmed to build the following patch and https://github.com/ruby/ruby/commit/87f6154bb4c67ca77ee353bb1fe25a9... hsbt (Hiroshi SHIBATA)
12:23 PM Bug #17202 (Closed): Backport for Apple Silicon
I confirmed to build with the following patch on ruby_2_7 branch for macOS Big Sur and ARM mac mini.
https://githu...
hsbt (Hiroshi SHIBATA)
11:34 AM Bug #17181: Hash with default block breaks after transforming values
ruby_2_7 665589cbdf7bf652067113dd1c0bc49012b990e0 merged revision(s) df14c758fc705c49c2aaf4c9276a8f7229438fbf. nagachika (Tomoyuki Chikanaga)
11:33 AM Revision 665589cb (git): merge revision(s) df14c758fc705c49c2aaf4c9276a8f7229438fbf: [Backport #17181]
Make hash returned by Hash#transform_values not have a default
This sets an explicit default of nil. There ...
nagachika (Tomoyuki Chikanaga)
09:18 AM Feature #16937 (Assigned): Add DNS over HTTP to Resolv
@akr How about this patch? hsbt (Hiroshi SHIBATA)
09:08 AM Bug #17201 (Closed): Backport webrick patch for CVE-2020-25613
I created the patch sets for Ruby 2.5, 2.6 and 2.7 for CVE-2020-25613 hsbt (Hiroshi SHIBATA)
07:40 AM Revision d23d2f3f (git): [ruby/webrick] Make it more strict to interpret some headers
Some regexps were too tolerant.
https://github.com/ruby/webrick/commit/8946bb38b4
mame (Yusuke Endoh)
06:28 AM Revision dcb705ac (git): doc/syntax/literals.rdoc: explain `#@@foo` too [ci skip]
nobu (Nobuyoshi Nakada)
05:39 AM Revision 2e947bc1 (git): doc/syntax/literals.rdoc: explain `#@foo` and `#$foo`
mame (Yusuke Endoh)
04:47 AM Bug #17191 (Closed): 3.0.0-preview1 fails to install using BSD make
Applied in changeset commit:git|a9ff39087092b21059fca046ace9ca87770692a4.
----------
Fixed installation failure [Bug...
nobu (Nobuyoshi Nakada)
04:41 AM Revision a9ff3908 (git): Fixed installation failure [Bug #17191]
Try update and extract bundled gems only when baseruby is
available. It should be done only when installing from
dev...
nobu (Nobuyoshi Nakada)
04:14 AM Revision b971f141 (git): Fix up dependencies on internal/sanitizers.h
nobu (Nobuyoshi Nakada)
02:58 AM Revision 40a499db (git): test/racc/test_racc_command.rb: prevent a warning
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20200929T003003Z.log.html.gz
```
warning: ambiguous first a...
mame (Yusuke Endoh)
12:57 AM Revision 06099e4e (git): fix typo [ci skip]
Reported by Mau Magnaguagno See: https://github.com/ruby/ruby/pull/3570#discussion_r495465903 shyouhei (Shyouhei Urabe)

09/28/2020

11:45 PM Revision 0a3099ae (git): bit table information when printing an object
tenderlovemaking (Aaron Patterson)
11:24 PM Misc #17200 (Closed): DevelopersMeeting20201026Japan
# The next dev meeting
**Date: 2020/10/26 13:00-17:00**
Place/Sign-up/Agenda/Log: https://github.com/ruby/dev-mee...
mame (Yusuke Endoh)
11:24 PM Misc #17138 (Closed): DevelopersMeeting20200925Japan
mame (Yusuke Endoh)
09:59 PM Bug #17186: Integer overflow in "chr" error message (out of char range)
Hey Semyon. Thanks for reporting the bug. I PR'd a patch that should fix the issue: https://github.com/ruby/ruby/pull... peterzhu2118 (Peter Zhu)
08:57 PM Feature #16986: Anonymous Struct literal
chrisseaton (Chris Seaton) wrote in #note-44:
> This will be very useful for pattern matching - I don't think you can...
marcandre (Marc-Andre Lafortune)
07:37 PM Feature #16986: Anonymous Struct literal
This will be very useful for pattern matching - I don't think you can usefully destructure a struct at the moment can... chrisseaton (Chris Seaton)
05:18 PM Revision 85e9cc2c (git): Unpoison THEAP header before reading
Another ASAN fix. THEAP header is poisoned, so we need to un-poison
before reading
tenderlovemaking (Aaron Patterson)
04:58 PM Revision 0555bd84 (git): Enhanced RDoc for String#succ! (#3596)
* Enhanced RDoc for String#succ! burdettelamar (Burdette Lamar)
04:45 PM Revision d598654c (git): Fix ASAN and don't check SPECIAL_CONST_P
Heap allocated objects are never special constants. Since we're walking
the heap, we know none of these objects can ...
tenderlovemaking (Aaron Patterson)
04:45 PM Revision 664eeda6 (git): Fix ASAN errors when updating call cache
Invalidating call cache walks the heap, so we need to take care to
un-poison objects when examining them
tenderlovemaking (Aaron Patterson)
04:45 PM Revision 0767d387 (git): Pass ASAN options to child environments
I want to work with ASAN, but some child environments are not inheriting
the ASAN options I'm using. This commit pas...
tenderlovemaking (Aaron Patterson)
03:53 PM Bug #17191: 3.0.0-preview1 fails to install using BSD make
nobu (Nobuyoshi Nakada) wrote in #note-1:
> That is just a workaround; `update-gems` should be skipped when building...
jeremyevans0 (Jeremy Evans)
07:10 AM Bug #17191: 3.0.0-preview1 fails to install using BSD make
jeremyevans0 (Jeremy Evans) wrote:
> There's obviously no need to update gems when installing 3.0.0-preview1 from the...
nobu (Nobuyoshi Nakada)
03:38 PM Revision 346301e2 (git): Add rb_category_warn{,ing} for warning messages with categories
This adds the following C-API functions that can be used to emit
warnings with categories included:
```c
void rb_cat...
jeremyevans (Jeremy Evans)
03:38 PM Revision 92c3ad9c (git): Make Warning.warn accept only category keyword
In general accepting arbitrary keywords is a bad idea unless you are
delegating keywords or acting on arbitrary keywo...
jeremyevans (Jeremy Evans)
03:34 PM Bug #15661 (Closed): Disallow concurrent Dir.chdir with block
Applied in changeset commit:git|5d7953f86b7ae164017e2292dfb3c108e0e02527.
----------
Switch conflicting chdir warnin...
jeremyevans (Jeremy Evans)
09:39 AM Bug #15661: Disallow concurrent Dir.chdir with block
It's always been like that, there is no portable and fully reliable way to make cwd thread-local.
(using *at() funct...
Eregon (Benoit Daloze)
12:07 AM Bug #15661: Disallow concurrent Dir.chdir with block
I guess my bigger point here is that even with this fix the block form remains unsafe under concurrent use. At best t... sam.saffron (Sam Saffron)
03:34 PM Revision 5d7953f8 (git): Switch conflicting chdir warning to RuntimeError
The documentation already stated this was an error in one case
(when it was previously a warning). Describe the othe...
jeremyevans (Jeremy Evans)
03:20 PM Revision 0164ac70 (git): * 2020-09-29 [ci skip]
git[bot]
03:20 PM Revision 0b0e2d88 (git): Refactor common heap iteration code
We have code common to all heap iteration paths in this file. Refactor
such that we keep ASAN checks and flags check...
tenderlovemaking (Aaron Patterson)
03:20 PM Revision b9488acc (git): Fix ASAN support when invalidating CCs
Again, this code is walking the heap. Empty slots can be poisoned, so
we need to unpoison before checking the type
tenderlovemaking (Aaron Patterson)
03:20 PM Revision b328b830 (git): make ext/coverage ASAN friendly
tenderlovemaking (Aaron Patterson)
03:20 PM Revision 18b3f0f5 (git): Make ext/objspace ASAN friendly
ext/objspace iterates over the heap, but some slots in the heap are
poisoned, so we need to take care of that when ru...
tenderlovemaking (Aaron Patterson)
02:45 PM Bug #17198: DateTime.parse with CAT timezone converts to -10:00 instead of +02:00
You filed a pull request to change this in the date library: https://github.com/ruby/date/pull/25. In general, for d... jeremyevans0 (Jeremy Evans)
10:37 AM Bug #17198 (Closed): DateTime.parse with CAT timezone converts to -10:00 instead of +02:00
DateTime.parse with CAT timezone is incorrect
``` ruby
require 'date'
DateTime.parse("10:00AM CAT").zone
```
...
geophilus (Geophilus Durairaj)
02:07 PM Revision ac414139 (git): Remove unnecessary executable bit [ci skip]
znz (Kazuhiro NISHIYAMA)
11:40 AM Misc #17199 (Open): id outputed by inspect and to_s output does not allow to find actual object_id and vice-versa
Hello, here is my first ruby issue sorry in advance if it is incorrectly filled.
# Issue
The value returned by ...
Annih (Baptiste Courtois)
09:53 AM Revision 4de32b35 (git): Removed unused option on racc
hsbt (Hiroshi SHIBATA)
09:53 AM Revision 87726143 (git): Fixed the wrong variable for --executable flag
hsbt (Hiroshi SHIBATA)
09:29 AM Revision f2c6a351 (git): Clarify spec description for Hash#{each,each_pair}
Eregon (Benoit Daloze)
09:28 AM Bug #17197: Some Hash methods still have arity 2 instead of 1
`#map` is defined on Enumerable.
So this seems an unintended interaction between
Hash#each using `rb_block_pair_y...
Eregon (Benoit Daloze)
09:13 AM Bug #17197: Some Hash methods still have arity 2 instead of 1
marcandre (Marc-Andre Lafortune) wrote in #note-1:
> Also, as noted by @boblail, `Hash#map` accepts both arity 1 and...
Eregon (Benoit Daloze)
02:30 AM Bug #17197: Some Hash methods still have arity 2 instead of 1
Also, as noted by @boblail, `Hash#map` accepts both arity 1 and 2; shouldn't it accept only arity 1? marcandre (Marc-Andre Lafortune)
02:13 AM Bug #17197 (Rejected): Some Hash methods still have arity 2 instead of 1
`Hash#each` was changed recently to have arity of 1.
All other methods of `Hash` should behave the same.
Much has b...
marcandre (Marc-Andre Lafortune)
09:08 AM Revision 245ed57d (git): [ruby/racc] Turn debugging off
https://github.com/ruby/racc/commit/872f75cfa7 Marc-Andre Lafortune
09:07 AM Revision 97d1a381 (git): [Fixes #137] Improve reporting
Marc-Andre Lafortune
08:55 AM Revision 3da3c274 (git): fixup d6a94a0c4b416d4e4a5b25ab8d5482bad00f9765
hsbt (Hiroshi SHIBATA)
08:39 AM Revision d6a94a0c (git): Removed useless RCS revisions
hsbt (Hiroshi SHIBATA)
05:54 AM Revision 8863bfb1 (git): [rubygems/rubygems] Move comment below shebang in bin/console template
In an executable script, the shebang line should be the first line (the
file needs to start with the bytes 0x23 0x21)...
Steven Peckins
05:54 AM Revision 18c642da (git): [rubygems/rubygems] Fix ls-files matching regexp
As splitting by NUL means to allow the file names to contain
newlines, path names should match at beginning-of-string...
nobu (Nobuyoshi Nakada)
05:54 AM Revision ac3f80a5 (git): [rubygems/rubygems] Add writable check for cache dir
Sometimes "install_dir/cache" directory is not writable although "install_dir" is writable.
https://github.com/rubyg...
xndcn
05:54 AM Revision c55b5f10 (git): [rubygems/rubygems] Avoid duplicated generation of APISpecification objects
As far as I could see, `Gem::Resolver::APISpecification` objects are
supposed to be immutable. If my guessing is cor...
mame (Yusuke Endoh)
05:54 AM Revision 91865230 (git): [rubygems/rubygems] Eval defaults with frozen_string_literal: true
https://github.com/rubygems/rubygems/commit/d498ae3d62 byroot (Jean Boussier)
05:54 AM Revision 9bbca93a (git): [rubygems/rubygems] Remove last remaining line of output from `gem update --system --silent`
https://github.com/rubygems/rubygems/commit/038203aaf8 Ellen Marie Dash
05:54 AM Revision e8274a76 (git): [rubygems/rubygems] Add test for "gem update --system --silent"
https://github.com/rubygems/rubygems/commit/c3fb0db930 Ellen Marie Dash
05:54 AM Revision 7fc8f83e (git): [rubygems/rubygems] Have "gem update --system" pass through the --silent flag.
https://github.com/rubygems/rubygems/commit/5a1e56e892 Ellen Marie Dash
05:54 AM Revision ab5e9516 (git): [rubygems/rubygems] Added Ruby version for oldest supported version of rubygems
https://github.com/rubygems/rubygems/commit/dd87d70f51 hsbt (Hiroshi SHIBATA)
05:54 AM Revision c6bdf750 (git): Disallow downgrades to too old versions
Consider the version original included with each ruby as the minimum
supported version.
deivid (David Rodríguez)
05:54 AM Revision 828cefd6 (git): [rubygems/rubygems] Add --dryrun to the deprecated options when showing the help message
https://github.com/rubygems/rubygems/commit/38230a77c1 bronzdoc
05:54 AM Revision 777840a1 (git): [rubygems/rubygems] We don't need shortucts for a deprecated flag
https://github.com/rubygems/rubygems/commit/087a1f9720 bronzdoc
05:54 AM Revision be980dd9 (git): [rubygems/rubygems] Deprecate --dryrun
https://github.com/rubygems/rubygems/commit/1715610648 bronzdoc
05:54 AM Revision b83787b1 (git): [rubygems/rubygems] Make --dry-run flag consistent across rubygems commands
https://github.com/rubygems/rubygems/commit/addc644cad bronzdoc
05:54 AM Revision 0629e695 (git): Added `--platform` option to `build` command
nobu (Nobuyoshi Nakada)
04:42 AM Revision 67ae1d44 (git): Do not use clang on cygwin
Its `__has_declspec_attribute()` is not reliable. For instance,
while `__has_declspec_attribute(noalias)` is true bu...
nobu (Nobuyoshi Nakada)
03:51 AM Revision 36d1bb72 (git): sprintf.c: Removed conflicting definition
nobu (Nobuyoshi Nakada)
03:51 AM Revision ee7c260b (git): thread_win32.c: native_mutex_trylock is not used right now
nobu (Nobuyoshi Nakada)
02:28 AM Bug #14015 (Closed): Enumerable & Hash yielding arity
Now that `Hash#each` has arity 1, I'll close this and open an update in #17197 marcandre (Marc-Andre Lafortune)
02:11 AM Feature #15815: Add option to raise NoMethodError for OpenStruct
Cool.
It's much better API to integrate with `JSON.parse`.
mtsmfm (Fumiaki Matsushima)
12:17 AM Bug #17190: Not working multiple assignment by rightward assignment statement
You need parens.
```ruby
[42, 42] => a, b
```
shyouhei (Shyouhei Urabe)

09/27/2020

07:33 PM Revision 1c954366 (git): * 2020-09-28 [ci skip]
git[bot]
07:32 PM Revision 41eba959 (git): Revert the first diff of "Use Tempfile.create instead of Tempfile.open in test_io.rb"
* This partially reverts commit dead7478748a828c45e16134fca812bc7771344e.
* Windows will not allow a file to be unlin...
Eregon (Benoit Daloze)
10:15 AM Feature #16786: Light-weight scheduler for improved concurrency.
That sounds very similar to `Thread#name=`.
I think it would be worth having its own feature request if you'd like i...
Eregon (Benoit Daloze)
10:12 AM Feature #13767: add something like python's buffer protocol to share memory between different narray like classes
@mrkn Is the native memory layout introduced in Ruby compatible with Python?
If it is/was it might be useful to e.g....
Eregon (Benoit Daloze)
10:05 AM Feature #17195: Freeze Enumerator::ArithmeticSequence objects
I just realized, this is problematic because `Enumerator::ArithmeticSequence` is a subclass of `Enumerator` and not o... Eregon (Benoit Daloze)
10:01 AM Bug #15661: Disallow concurrent Dir.chdir with block
Maybe concurrent Dir.chdir(&block) could take a global lock.
It might create unexpected contention though.
So I thi...
Eregon (Benoit Daloze)
07:52 AM Feature #15831: Add `Array#extract`, `Hash#extract`, and `ENV.extract`
I'm not exactly at ease with the fact that the proposed methods both change the receiver and return a result. But if ... duerst (Martin Dürst)
05:26 AM Revision 9a951c09 (git): Remove outdated comment [ci skip]
znz (Kazuhiro NISHIYAMA)
12:49 AM Revision 5e91b4bd (git): fix typo [ci skip]
ko1 (Koichi Sasada)

09/26/2020

09:35 PM Bug #15661: Disallow concurrent Dir.chdir with block
[email protected] wrote:
> Removing the block form breaks useful cases in single threaded
> code.

A...
normalperson (Eric Wong)
09:20 PM Bug #15661: Disallow concurrent Dir.chdir with block
sam.saffron (Sam Saffron) wrote in #note-6:
> I am not sure about this, we are already misleading people a lot with ...
jeremyevans0 (Jeremy Evans)
11:27 AM Bug #15661: Disallow concurrent Dir.chdir with block
I am not sure about this, we are already misleading people a lot with the block form. I wonder if the correct long te... sam.saffron (Sam Saffron)
09:18 PM Bug #17196 (Closed): Segmentation Fault with Socket#close in Ractors
While messing around with 3.0.0-preview1, I thought it would be fun to write a really, really simple webserver that u... asuper (Anthony Super)
09:07 PM Feature #17184: No stdlib function to perform simple string replacement
> There is already String#replace
Oh wow, I somehow missed that...
byroot (Jean Boussier)
06:23 PM Feature #17184: No stdlib function to perform simple string replacement
There is already String#replace (consistent with {Array,Hash,Set,...}#replace), so I don't think it's a good fit:
...
Eregon (Benoit Daloze)
06:18 PM Feature #17184: No stdlib function to perform simple string replacement
> But then we need to clarify if that replaces the first or all occurrences
As far as I know, String `replace` com...
byroot (Jean Boussier)
01:40 PM Feature #17184: No stdlib function to perform simple string replacement
Dan0042 (Daniel DeLorme) wrote in #note-12:
> Instead you get just `f`, and after a lot of searching and debugging y...
Eregon (Benoit Daloze)
06:44 PM Feature #17195: Freeze Enumerator::ArithmeticSequence objects
Seems clear to me marcandre (Marc-Andre Lafortune)
01:20 PM Feature #17195 (Rejected): Freeze Enumerator::ArithmeticSequence objects
Now, all Ranges are frozen (#15504).
Enumerator::ArithmeticSequence is very similar to Range, just with an extra `...
Eregon (Benoit Daloze)
05:38 PM Revision 950614b0 (git): ext/socket/ipsocket.c: prevent "warning: unused variable 'resolv_timeout'"
mame (Yusuke Endoh)
04:16 PM Revision 70d7e4c3 (git): Fix a typo [ci skip]
znz (Kazuhiro NISHIYAMA)
04:13 PM Revision 48b53190 (git): Add links to the tickets [ci skip]
znz (Kazuhiro NISHIYAMA)
04:02 PM Revision 089b7698 (git): * 2020-09-27 [ci skip]
git[bot]
04:02 PM Revision cdb5258b (git): Fix `ENV.except`'s docs
bogdanvlviv (Bogdan Denkovych)
01:21 PM Feature #15504: Freeze all Range objects
ko1 (Koichi Sasada) wrote in #note-11:
> Eregon (Benoit Daloze) wrote in #note-10:
> > Related, should Enumerator::...
Eregon (Benoit Daloze)
11:18 AM Feature #15831: Add `Array#extract`, `Hash#extract`, and `ENV.extract`
I'm wondering to know whether use-cases, mentioned in https://bugs.ruby-lang.org/issues/15831#note-9, are good enough... bogdanvlviv (Bogdan Denkovych)
10:36 AM Revision dead7478 (git): Use Tempfile.create instead of Tempfile.open in test_io.rb
Eregon (Benoit Daloze)
10:30 AM Bug #16695: Stack consistency error when using the return value
I rewrited the patch https://github.com/ruby/ruby/pull/3445 on 2020-08-22.
I would appreciate it if someone could re...
wanabe (_ wanabe)
09:59 AM Bug #17194: Unable to build ruby 3.0-preview1 on centos 6
Just FYI: Ruby 3 will not support CentOS 6 because the EOL date of the distribution is Nov 30 2020 and Ruby 3 will be... mame (Yusuke Endoh)
09:25 AM Bug #17194 (Closed): Unable to build ruby 3.0-preview1 on centos 6
Applied in changeset commit:git|ce92d15596aab337b5e8b806603eb07ad6528ff2.
----------
fix typo [Bug #17194]
naruse (Yui NARUSE)
08:51 AM Bug #17194 (Closed): Unable to build ruby 3.0-preview1 on centos 6
Tried to build ruby using rvm:
```
[root@e6655f0fcbcd /]# rvm install ruby-3
Searching for binary rubies, this mig...
hurricup (Alexandr Evstigneev)
09:55 AM Revision 4e31cbc0 (git): update-deps
https://github.com/ruby/ruby/runs/1169621878 naruse (Yui NARUSE)
09:24 AM Revision ce92d155 (git): fix typo [Bug #17194]
naruse (Yui NARUSE)
07:40 AM Bug #17193: Endless method definition doesn't work with lambdas in IRB
wanabe (_ wanabe) wrote in #note-1:
> I think this is an irb problem, not a ruby problem.
>
> ```
> $ ruby -ve '...
kodnin (David Boot)
07:30 AM Bug #17193: Endless method definition doesn't work with lambdas in IRB
I think this is an irb problem, not a ruby problem.
```
$ ruby -ve 'def bar() = lambda { |x| x * x };p bar'
ruby...
wanabe (_ wanabe)
07:22 AM Bug #17193 (Closed): Endless method definition doesn't work with lambdas in IRB
Endless method definition doesn't work with lambdas. Please check the attached screenshot.
``` ruby
def foo() = 1...
kodnin (David Boot)
07:18 AM Bug #17192 (Closed): ISeq.load_from_binary can cause BUG if binary is a rbinc-derived
The following command can cause BUG.
```
$ ruby -e 'print RubyVM::InstructionSequence.of(1.method(:abs)).to_binary'...
wanabe (_ wanabe)
06:56 AM Feature #15815: Add option to raise NoMethodError for OpenStruct
I'm proposing to add `OpenStruct::Strict`, that will not return `nil` for unknown attributes and instead raise a `Not... marcandre (Marc-Andre Lafortune)

09/25/2020

11:11 PM Bug #17191 (Closed): 3.0.0-preview1 fails to install using BSD make
On OpenBSD (which doesn't use GNU make by default), `./configure` and `make` work correctly for 3.0.0-preview1, but `... jeremyevans0 (Jeremy Evans)
10:52 PM Revision 137fa5b2 (git): Fibers should update themselves on compaction
We should let fibers update their own references on compaction. I don't
think we need the thread to update the assoc...
tenderlovemaking (Aaron Patterson)
10:06 PM Feature #17143: Improve support for warning categories
I've updated my pull request to only allow specific categories, and limit the currently allowed categories to `:depre... jeremyevans0 (Jeremy Evans)
07:43 PM Feature #17143: Improve support for warning categories
matz (Yukihiro Matsumoto) wrote in #note-5:
> Adding category to the warning seems a good idea. But I have the follo...
jeremyevans0 (Jeremy Evans)
05:04 AM Feature #17143: Improve support for warning categories
- I'm not against adding the category keyword. However,
- I guess it is quite hard for us to +1 the "Add categories...
shyouhei (Shyouhei Urabe)
04:58 AM Feature #17143: Improve support for warning categories
Adding category to the warning seems a good idea. But I have the following concerns:
* Category should be specifie...
matz (Yukihiro Matsumoto)
08:36 PM Bug #15661: Disallow concurrent Dir.chdir with block
I've added a pull request for this: https://github.com/ruby/ruby/pull/3591 jeremyevans0 (Jeremy Evans)
05:30 AM Bug #15661: Disallow concurrent Dir.chdir with block
It's hard to estimate how big the incompatibility is. But I'd like to try it.
I hope we don't see any big problem.
...
matz (Yukihiro Matsumoto)
08:15 PM Feature #16994: Sets: shorthand for frozen sets of symbols / strings
[email protected] wrote:
> Remaining issues:
>
> * Name? `%ws` would be the first two character specifier after `%...
normalperson (Eric Wong)
04:26 AM Feature #16994 (Feedback): Sets: shorthand for frozen sets of symbols / strings
We are going to introduce built-in set, but not in 3.0 (too little time to implement it before 3.0 release).
After m...
matz (Yukihiro Matsumoto)
08:13 PM Revision 8b42474a (git): Enhanced RDoc for String#succ (#3590)
* Enhanced RDoc for String#succ burdettelamar (Burdette Lamar)
07:55 PM Bug #15712 (Closed): DateTime#=== should be defined and compare date and time instead of just the date
DateTime deprecation documentation was added to date: https://github.com/ruby/date/commit/58ca6e6a3ee20c72a77266e0f74... jeremyevans0 (Jeremy Evans)
05:21 AM Bug #15712: DateTime#=== should be defined and compare date and time instead of just the date
I admit it is a bug. But we consider use of `DateTime` should be discouraged. So we keep this **bug** behavior for co... matz (Yukihiro Matsumoto)
07:41 PM Bug #17190 (Closed): Not working multiple assignment by rightward assignment statement
For example. It is foo.rb
```rb
42, 42 => a, b
p a
p b
```
I expected it.
```sh
42
42
```
But, Rea...
yancya (Shinta Koyanagi)
07:13 PM Bug #17189: test_thread.rb in testsuite deadlocks with musl libc 1.2.1
From my reading of the test source, it seems to be testing the ability to do various async-signal-unsafe things after... dalias (Rich Felker)
05:56 PM Bug #17189 (Closed): test_thread.rb in testsuite deadlocks with musl libc 1.2.1
When we build ruby-2.7.1 in alpine linux the test suite deadlocks in `test_thread.rb`.
There are multiple processe...
ncopa (Natanael Copa)
06:13 PM Feature #14394: Class.descendants
While I needed `Class#descendants` many times, I never had a need for `Module#descendants`. But I can think of its us... fatkodima (Dima Fatko)
04:57 PM Feature #14394: Class.descendants
> Is there a use-case for mod.descendants where mod is a module and not a class?
Not that I know of. Active Suppor...
byroot (Jean Boussier)
02:01 PM Feature #14394: Class.descendants
byroot (Jean Boussier) wrote in #note-20:
> I'm not sure `Module#descendants` is really useful, but I don't see any ...
Eregon (Benoit Daloze)
11:19 AM Feature #14394: Class.descendants
> (and Kernel.descendants is the same but with Kernel extra).
I'm not sure `Module#descendants` is really useful, ...
byroot (Jean Boussier)
10:41 AM Feature #14394: Class.descendants
byroot (Jean Boussier) wrote in #note-18:
> I don't think modules are a concern. At least in the Active Support imple...
Eregon (Benoit Daloze)
10:27 AM Feature #14394: Class.descendants
> `self < self # => self`
I made a mistake meant `=> false`.
> I expect Object.descendants to be quite slow
...
byroot (Jean Boussier)
10:22 AM Feature #14394: Class.descendants
byroot (Jean Boussier) wrote in #note-16:
> > self should be is contained or not?
>
> I don't think it should no. `s...
Eregon (Benoit Daloze)
10:08 AM Feature #14394: Class.descendants
> self should be is contained or not?
I don't think it should no. `self < self # => self`.
> singleton classes ...
byroot (Jean Boussier)
06:12 AM Feature #14394: Class.descendants
let's clear:
* `self` should be is contained or not? AS's method doesn't contain.
* singleton classes should be e...
ko1 (Koichi Sasada)
06:07 AM Feature #14394 (Feedback): Class.descendants
Accepted.
Although on some implementation, `#descendants` can be slow since it may be implemented by scanning whol...
matz (Yukihiro Matsumoto)
04:27 PM Revision 24820d50 (git): Return nil when argument to ObjectSpace.internal_class_of is T_IMEMO
The added test case crashes the interpreter because it makes
ObjectSpace.internal_class_of return the second VALUE sl...
alanwu (Alan Wu)
04:24 PM Bug #17144: Tempfile.open { ... } does not unlink the file
Tempfile.open would be useful when an user want to remove the file by GC.
Tempfile.create doesn't provide the featur...
akr (Akira Tanaka)
09:30 AM Bug #17144: Tempfile.open { ... } does not unlink the file
OK, https://github.com/ruby/tempfile/pull/4 is the PR that reverts it and already applied to ruby master.
I will t...
Eregon (Benoit Daloze)
04:45 AM Bug #17144 (Closed): Tempfile.open { ... } does not unlink the file
To keep compatibility, we are not going to change the behavior of `Tempfile.open`. But to reduce the confusion, docum... matz (Yukihiro Matsumoto)
03:50 PM Feature #8948: Frozen regex
I think at least interpolated regexp (`/a#{i}b/`) should be frozen though, like Range objects. ko1 (Koichi Sasada)
03:44 PM Feature #8948 (Assigned): Frozen regex
> If so this should be postponed on introducing parallelization.
Reconsider about it? (freeze all regexp)
ko1 (Koichi Sasada)
03:34 PM Revision 3a00f2a0 (git): ext/readline/depend: update-deps --fix
Kenta Murata
03:30 PM Revision 722a1e47 (git): RBIMPL_ALIGNAS: reorder #ifdef blocks
Since r63443, `-std=gnu99 -D_XOPEN_SOUCE=x00` is added to Solaris'
`CPPFLAGS`. `CPPFLAGS` is shared among `CC` / `CX...
shyouhei (Shyouhei Urabe)
03:27 PM Revision f7c41182 (git): * 2020-09-26 [ci skip]
git[bot]
03:20 PM Revision b271bd73 (git): test/net/smtp/test_smtp.rb: Stop io leaks
`make test-all` was very noisy by warnings like
```
Leaked file descriptor: Net::TestSMTP#test_start_with_position_a...
mame (Yusuke Endoh)
03:09 PM Feature #15504: Freeze all Range objects
Eregon (Benoit Daloze) wrote in #note-10:
> Related, should Enumerator::ArithmeticSequence be frozen too?
new tic...
ko1 (Koichi Sasada)
01:58 PM Feature #15504: Freeze all Range objects
Great!
Related, should Enumerator::ArithmeticSequence be frozen too?
Eregon (Benoit Daloze)
01:17 PM Feature #15504 (Closed): Freeze all Range objects
Applied in changeset commit:git|0096d2b895395df5ab8696d3b6d444dc1b7730b6.
----------
freeze all Range objects.
Matz...
ko1 (Koichi Sasada)
11:53 AM Feature #15504: Freeze all Range objects
Ok, I freeze all Ranges except sub-classes.
https://github.com/ruby/ruby/pull/3583
ko1 (Koichi Sasada)
08:49 AM Feature #15504: Freeze all Range objects
I agree with making ranges frozen. I don't see any particular case that could be broken by frozen ranges.
Since ther...
matz (Yukihiro Matsumoto)
02:56 PM Revision 8119e5b0 (git): memory_view.c: prevent "warning: instance variable __memory_view__ not initialized"
Kenta Murata
02:45 PM Revision abdd3c56 (git): test/ruby/test_enumerator.rb: check the deprecation warning
by explicitly setting `Warning[:deprecated] = true`.
I removed "capture_io" at 79063d8cbfb7ce4740774289252a2a20dc9a5d...
mame (Yusuke Endoh)
02:39 PM Revision 0db5324e (git): test/ruby/test_memory_view.rb: prevent "assigned but unused variable - members"
mame (Yusuke Endoh)
02:38 PM Revision 79063d8c (git): test/ruby/test_enumerator.rb: remove capture_io that is no longer needed
The deprecation warning was disabled, and the code to check the warning
was removed at 996af2ce086249e904b2ce95ab2fcd...
mame (Yusuke Endoh)
02:37 PM Revision e4b2c4fc (git): t/json/json_common_interface_test.rb: fix wrong indentation
to prevent:
```
test/json/json_common_interface_test.rb:182: warning: mismatched indentations at 'end' with 'def' at...
mame (Yusuke Endoh)
02:31 PM Bug #17188 (Closed): Freeze Encoding objects for Ractor
Currently Encoding objects are not frozen:
```
$ ruby -ve 'p Encoding::US_ASCII.frozen?'
ruby 3.0.0dev (2020-09-25...
Eregon (Benoit Daloze)
01:41 PM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
Hi,
fatkodima (Dima Fatko) wrote in #note-8:
> to avoid updating all of them, I would prefer just add start inde...
mame (Yusuke Endoh)
11:07 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index

Eregon (Benoit Daloze) wrote in #note-7:
> What if a block is given, and one want to use a start index? (for effic...
fatkodima (Dima Fatko)
10:11 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
What if a block is given, and one want to use a start index? (for efficiency and not run the block for the first `sta... Eregon (Benoit Daloze)
06:23 AM Feature #17056: Array#index: Allow specifying the position to start search as in String#index
Accepted.
How do you think about end index? Do we need it? If so, should we add end index to `String#index` as we...
matz (Yukihiro Matsumoto)
01:16 PM Revision 0096d2b8 (git): freeze all Range objects.
Matz want to try to freeze all Range objects.
[Feature #15504]
ko1 (Koichi Sasada)
12:34 PM Revision f4328d7f (git): [ruby/readline-ext] Remove unnecessary header files from depend
https://github.com/ruby/readline-ext/commit/f9783c0739 aycabta (aycabta .)
12:32 PM Revision c04c34df (git): memory_view.h: brush up the description in the comment
Kenta Murata
12:16 PM Revision 56012d2f (git): NEWS.md: Add memory view entry
The memory view interface added at 890bc2cdde is experimental new C-API
set. This feature permits extension librarie...
Kenta Murata
12:06 PM Feature #13767 (Closed): add something like python's buffer protocol to share memory between different narray like classes
Fixed by https://github.com/ruby/ruby/commit/890bc2cdde4097390f3b71dfeaa36dd92ee0afe2 mrkn (Kenta Murata)
12:06 PM Feature #14722 (Closed): python's buffer protocol clone
Fixed by https://github.com/ruby/ruby/commit/890bc2cdde4097390f3b71dfeaa36dd92ee0afe2 mrkn (Kenta Murata)
11:37 AM Revision caaa36b4 (git): prohibi method call by defined_method in other racotrs
We can not call a non-isolated Proc in multiple ractors. ko1 (Koichi Sasada)
11:32 AM Revision 890bc2cd (git): Buffer protocol proposal (#3261)
* Add buffer protocol
* Modify for some review comments
* Per-object buffer availability
* Rename to MemoryView fr...
Kenta Murata
11:28 AM Revision 6eeacbbc (git): Extract assert assertion to assert_include and assert_not_include.
hsbt (Hiroshi SHIBATA)
11:21 AM Feature #17187: Add connect_timeout to TCPSocket
Pull Request: https://github.com/ruby/ruby/pull/3585 Glass_saga (Masaki Matsushita)
11:17 AM Feature #17187 (Closed): Add connect_timeout to TCPSocket
Add connect_timeout to TCPSocket.new in the same way as Socket.tcp.
```ruby
TCPSocket.new("192.0.2.1", 1234, conn...
Glass_saga (Masaki Matsushita)
10:21 AM Revision 8705dba1 (git): Update dependencies
znz (Kazuhiro NISHIYAMA)
10:21 AM Revision cd44febc (git): Add check_dependencies workflow
znz (Kazuhiro NISHIYAMA)
10:03 AM Feature #17184: No stdlib function to perform simple string replacement
IMHO, rather than change the behavior of `gsub`, introducing a much simpler `String#replace(search, replace)` would m... byroot (Jean Boussier)
01:54 AM Feature #17184: No stdlib function to perform simple string replacement
> I think we should remove special treatment of `\+`, etc in the replacement string for `sub/gsub(String, String)`.
...
Dan0042 (Daniel DeLorme)
09:17 AM Feature #17173: open-uri で ciphers を設定したい
net/http の ciphers を設定する ssl_ciphers キーワード引数を open-uri に加えるのはあり得ると思います。
akr (Akira Tanaka)
08:28 AM Revision 81dc37b1 (git): assert_true is not provided by test-unit
hsbt (Hiroshi SHIBATA)
08:28 AM Revision e30d1b09 (git): Fix pure parser with unclosed arrays / objects [Fix #314]
Marc-Andre Lafortune
08:28 AM Revision 927a377a (git): [flori/json] Fix JSON.load_file doc
https://github.com/flori/json/commit/cb61a00ba8 byroot (Jean Boussier)
08:28 AM Revision 038252fe (git): [flori/json] Partial compliance with doc/method_documentation.rdoc
https://github.com/flori/json/commit/6dfa885134 burdettelamar (Burdette Lamar)
08:28 AM Revision 71f64e15 (git): [flori/json] Enhanced RDoc for JSON.dump (#443)
* Enhanced RDoc for JSON.dump
https://github.com/flori/json/commit/03f1699ec4
burdettelamar (Burdette Lamar)
08:28 AM Revision 3d5e8339 (git): bundle the LICENSE file in the gem
Julien Feltesse
08:28 AM Revision de0e0ffa (git): [flori/json] Nodoc for recurse_proc
https://github.com/flori/json/commit/f8c0fe2408 burdettelamar (Burdette Lamar)
08:28 AM Revision e9096f79 (git): [flori/json] RDoc for JSON.load with proc
https://github.com/flori/json/commit/a55c91934e burdettelamar (Burdette Lamar)
08:28 AM Revision 0089854f (git): [test] properly 'skip' test on JRuby
an early return still caused ensure to execute,
setting JSON constant to `nil` for later tests!
kares (Karol Bucek)
08:28 AM Revision f8d43e53 (git): unify json-java gemspec with the baseline
kares (Karol Bucek)
08:28 AM Revision 8c057bb8 (git): [flori/json] RDoc example for JSON.load
https://github.com/flori/json/commit/e4eead665c burdettelamar (Burdette Lamar)
08:28 AM Revision 36b2177e (git): [flori/json] Enhance RDoc for JSON.parse
https://github.com/flori/json/commit/33e64ef255 burdettelamar (Burdette Lamar)
08:28 AM Revision 71b1bbad (git): [flori/json] Move options from #generate and #parse to common area
https://github.com/flori/json/commit/20d7be605a burdettelamar (Burdette Lamar)
08:28 AM Revision c3614877 (git): [flori/json] Add `load_file` and `load_file!` methods, with tests. Fixes issue #386.
https://github.com/flori/json/commit/0be363c99b keithrbennett (Keith Bennett)
08:28 AM Revision e1659af3 (git): Add an option to escape forward slash character
Squashed commit of the following:
commit 26d181059989279a79c433cedcd893b4f52e42ee
Author: Francois Chagnon <francois...
byroot (Jean Boussier)
08:08 AM Revision c5ea060e (git): Update NEWS about RBS (#3579)
soutaro (Soutaro Matsumoto)
07:14 AM Feature #13683: Add strict Enumerable#single
A practical use case: When scraping a HTML document or something, sometimes we assume that an array length is 1.
`...
mame (Yusuke Endoh)
07:12 AM Feature #13683: Add strict Enumerable#single
Dan0042 (Daniel DeLorme) wrote in #note-25:
> > If collection is empty and a block was given, returns the block's re...
nobu (Nobuyoshi Nakada)
07:00 AM Revision 25cfb0c0 (git): Range is based on Struct.
Range can be shareable because it is implemented by Struct. ko1 (Koichi Sasada)
07:00 AM Revision 96739c42 (git): Frozen Struct can be shareable.
A frozen Struct object which refers to shareable objects should be
shareable.
ko1 (Koichi Sasada)
06:53 AM Bug #17030: Enumerable#grep{_v} should be optimized for Regexp
As far as we measured, there are still plenty of room for the optimization (for example, we don't need to allocate `M... matz (Yukihiro Matsumoto)
06:47 AM Revision 97416ae5 (git): Describe resolv_timeout in NEWS
Glass_saga (Masaki Matsushita)
06:39 AM Revision f2d1808e (git): Add comments for resolv_timeout
Glass_saga (Masaki Matsushita)
06:19 AM Feature #17134 (Closed): Add resolv_timeout to TCPSocket
Applied in changeset commit:git|511fe23fa2bdf1f17faa91e0558be47b5bb62b2a.
----------
Add resolve_timeout to TCPSocke...
Glass_saga (Masaki Matsushita)
06:19 AM Revision 511fe23f (git): Add resolve_timeout to TCPSocket [Feature #17134]
Glass_saga (Masaki Matsushita)
05:42 AM Feature #15628 (Assigned): init_inetsock_internal should fallback to IPv4 if IPv6 is unreachable
Glass_saga (Masaki Matsushita)
04:11 AM Revision b72f9200 (git): [ruby/psych] Forward keyword arguments in load_file and load_stream
https://github.com/ruby/psych/commit/4e1dd37f09 byroot (Jean Boussier)
04:11 AM Revision 8ea1021f (git): [ruby/psych] Bump version to 3.2.0
https://github.com/ruby/psych/commit/181a727c90 hsbt (Hiroshi SHIBATA)
04:11 AM Revision 263c4348 (git): [ruby/psych] Revert psych version
https://github.com/ruby/psych/commit/55a294fcd0 SzymonKowalczyk
04:11 AM Revision f794c928 (git): [ruby/psych] Update SNAKEYAML CVE-2017-18640
to version 1.26
https://github.com/ruby/psych/commit/b2802135e7
SzymonKowalczyk
04:11 AM Revision 33641e00 (git): Remove private_iv_get
The only remaining use of this function was to get the internal
message object from an exception's hidden `mesg` inst...
headius (Charles Nutter)
04:07 AM Revision 6081ba4a (git): refactoring a test code.
make a test more clear. ko1 (Koichi Sasada)
03:53 AM Revision d247deda (git): Ractor.yield should raise if out-port is closed
Ractor.yield should raise Ractor::ClosedError if current Ractor's
outgoing-port is closed.
ko1 (Koichi Sasada)
03:52 AM Revision 52865263 (git): frozen T_OBJECT can be shareable.
If an T_OBJECT object is frozen and all ivars are shareable,
the object should be shareable.
ko1 (Koichi Sasada)
03:52 AM Revision fde13615 (git): should not check taint flag on rubyspec.
Now taint flag is obsolete and it is used fro shareaable flag.
So we should not check this flag.
ko1 (Koichi Sasada)
02:38 AM Revision c6c241e4 (git): enrich comment
Added description and URL about nested flexible array member. shyouhei (Shyouhei Urabe)
02:38 AM Revision 4cc501bc (git): ext/-test-/RUBY_ALIGNOF: skip C++ when no compiler
C++ compilers are optional. Skip C++ tests when they are absent. shyouhei (Shyouhei Urabe)
02:38 AM Revision e75aed7a (git): RBIMPL_ALIGNOF: do not use constexpr
Was definitely a bad idea to use constexpr. It is not ubiquitous. shyouhei (Shyouhei Urabe)
02:38 AM Revision 0b77a86d (git): ext/-test-/RUBY_ALIGNOF: add minimalistic test
Check if RUBY_ALIGNOF(double) is the alignment to store a double inside
of a struct.
shyouhei (Shyouhei Urabe)
02:38 AM Revision 873fb1aa (git): ALLOCA_N: do not use RUBY_ALIGNOF
Now that RUBY_ALIGNOF behaves like C11's _Alignof. This is not
necessarily the best stack arrangement. We can just ...
shyouhei (Shyouhei Urabe)
02:38 AM Revision e9fb2bc8 (git): RBIMPL_ALIGNOF: do not use __alignof__
It is reported that on a system of i386 System V ABI, GCC returns 8 for
__alignof__(double). OTOH the ABI defines al...
shyouhei (Shyouhei Urabe)
02:38 AM Revision fe875be0 (git): rb_cv_have_alignas: not used any longer
Availability of `alignas` is checked in include/ruby/internal/stdalign.h
now. That does not need this configure chec...
shyouhei (Shyouhei Urabe)
01:53 AM Feature #16786: Light-weight scheduler for improved concurrency.
Eregon (Benoit Daloze) wrote in #note-56:
> What's `Fiber#annotate`?
It's a way to add a description to what a fiber...
ioquatix (Samuel Williams)
01:01 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
Any of the earlier suggestions were good, such as "pool" or "deduped". But while "interned" is technically correct, i... Dan0042 (Daniel DeLorme)
12:50 AM Revision 996af2ce (git): Disable deprecation warning by the default [Feature #16345]
And `-w` option turns it on. nobu (Nobuyoshi Nakada)

09/24/2020

11:38 PM Revision 83ff0f74 (git): Enhanced RDoc for String#match? (#3576)
* Enhanced RDoc for String#match? burdettelamar (Burdette Lamar)
10:54 PM Revision 53acf668 (git): Revert "[ruby/webrick] Add test for shutdown_pipe"
This reverts commit c06eab13290757fc326bb2a6e3ac25cd53e00894. hsbt (Hiroshi SHIBATA)
10:33 PM Revision c5960d51 (git): Revert "[ruby/webrick] Fix shutdown_pipe test issue"
This reverts commit b8fdd38b2e01abcfd4cc8d007a3b3afb285f5ddb. hsbt (Hiroshi SHIBATA)
10:11 PM Bug #17186 (Closed): Integer overflow in "chr" error message (out of char range)
Example:
```
irb(main):001:0> 300_000_000.chr
RangeError (300000000 out of char range)
irb(main):002:0> 3_000_0...
semaperepelitsa (Simon Perepelitsa)
06:23 PM Revision 38385d28 (git): Enhanced RDoc for String (#3574)
Methods:
=~
match
burdettelamar (Burdette Lamar)
05:09 PM Bug #17185 (Closed): OpenSSL 1.1.1h failures
Eregon (Benoit Daloze)
05:05 PM Bug #17185: OpenSSL 1.1.1h failures
With the commits by @mame, both mingw & mswin are passing with 1.1.1h.
Thanks, Please close whenever.
MSP-Greg (Greg L)
03:00 PM Bug #17185 (Closed): OpenSSL 1.1.1h failures
Both mswin and mingw are currently failing, with the only obvious change being a change to OpenSSL 1.1.1h. Note that... MSP-Greg (Greg L)
04:48 PM Feature #17184: No stdlib function to perform simple string replacement
znz (Kazuhiro NISHIYAMA) wrote in #note-8:
> You can use `gsub("SCRIPT") { "replacement" }`.
I forgot about this ...
Eregon (Benoit Daloze)
04:46 PM Feature #17184: No stdlib function to perform simple string replacement
sheerun (Adam Stankiewicz) wrote in #note-7:
> String doesn't have dup method
What do you mean? `"foo".dup # => "...
Eregon (Benoit Daloze)
03:45 PM Feature #17184: No stdlib function to perform simple string replacement
Nice, it actually suits me.
I'll leave this issue open though, because I agree with what Benoit said above
sheerun (Adam Stankiewicz)
02:35 PM Feature #17184: No stdlib function to perform simple string replacement
You can use `gsub("SCRIPT") { script }`.
If you do not want the special treatment of replacement, you should use `...
znz (Kazuhiro NISHIYAMA)
01:33 PM Feature #17184: No stdlib function to perform simple string replacement
String doesn't have dup method sheerun (Adam Stankiewicz)
12:50 PM Feature #17184: No stdlib function to perform simple string replacement
@chrisseaton noticed the same issue a while ago.
`String#[]=` only replaces the first occurrence (and mutates the ...
Eregon (Benoit Daloze)
12:24 PM Feature #17184: No stdlib function to perform simple string replacement
Little more advanced, but common usecase, which also doesn't have built-in function is replacing all strings in simpl... sheerun (Adam Stankiewicz)
12:20 PM Feature #17184: No stdlib function to perform simple string replacement

For now I'm using self-implemented function, but I wish there was something built-in:
```rb
class String
# S...
sheerun (Adam Stankiewicz)
12:02 PM Feature #17184: No stdlib function to perform simple string replacement
byroot (Jean Boussier) wrote in #note-2:
> The intended API for that is `String[]=`, e.g.
Is there a non-mutable ...
sheerun (Adam Stankiewicz)
11:59 AM Feature #17184: No stdlib function to perform simple string replacement
The intended API for that is `String[]=`, e.g.
```ruby
string["search"] = "replace"
```
byroot (Jean Boussier)
11:56 AM Feature #17184: No stdlib function to perform simple string replacement
The hash replacement form of gsub doesn't have this problem, strangely enough:
``` ruby
'mislocated cat, vindicating...
briankung (Brian Kung)
11:37 AM Feature #17184 (Assigned): No stdlib function to perform simple string replacement
I have following simple `build.rb`:
```rb
template = File.read('template.vim')
script = File.read('script.vim')
...
sheerun (Adam Stankiewicz)
03:55 PM Revision 6fe2a9fc (git): Enhanced RDoc for String (#3569)
Makes some methods doc compliant with https://github.com/ruby/ruby/blob/master/doc/method_documentation.rdoc. Also, o... burdettelamar (Burdette Lamar)
03:26 PM Revision b30af31c (git): * 2020-09-25 [ci skip]
git[bot]
03:25 PM Revision 7ad3aff4 (git): Ractor#close_outgoping cancel Ractor.yield
Ractor#close_outgoing should cancel waiting Ractor.yield. However,
yield a value by the Ractor's block should not can...
ko1 (Koichi Sasada)
01:20 PM Revision 757e185c (git): Revert "[ruby/webrick] Allow empty POST and PUT requests without content length"
This reverts commit ed12019ce6abe87aac87ec77ac081d37b25180a2.
https://github.com/ruby/ruby/runs/1160423667?check_s...
hsbt (Hiroshi SHIBATA)
12:41 PM Revision 588ac990 (git): [ruby/webrick] Manually pick commit from upstream repo
Fix test when run with US-ASCII encoding
https://github.com/ruby/webrick/commit/f402aafb36bbd43be54621405da550643a...
hsbt (Hiroshi SHIBATA)
12:37 PM Revision f64bea6d (git): [ruby/webrick] Allow shutdown_pipe to be passed in via @config
https://github.com/ruby/webrick/commit/30152b4bf9 wishdev (John Higgins)
12:34 PM Revision c12c7fea (git): [ruby/webrick] Only run test_big_bodies test on Ruby 2.5+
It was added after Ruby 2.5, and it looks like it never ran correctly
on Ruby <2.5.
https://github.com/ruby/webrick/...
jeremyevans (Jeremy Evans)
12:34 PM Revision ed12019c (git): [ruby/webrick] Allow empty POST and PUT requests without content length
RFC 7230 section 3.3.3 allows for this.
Fixes #30
https://github.com/ruby/webrick/commit/069e9b1908
jeremyevans (Jeremy Evans)
12:33 PM Revision 0fe64611 (git): [ruby/webrick] Allow EPROTOTYPE error when writing junk to a socket
MacOS seems to raise this error in some cases.
https://github.com/ruby/webrick/commit/0f0c9f1e61
jeremyevans (Jeremy Evans)
12:32 PM Revision b8fdd38b (git): [ruby/webrick] Fix shutdown_pipe test issue
https://github.com/ruby/webrick/commit/9676704c60 wishdev (John Higgins)
12:31 PM Revision 4715a24d (git): [ruby/webrick] Ensure server port numbers are numeric and ensure they are stored as integers
https://github.com/ruby/webrick/commit/86ed621e11 wishdev (John Higgins)
12:31 PM Revision c06eab13 (git): [ruby/webrick] Add test for shutdown_pipe
https://github.com/ruby/webrick/commit/1daacc1849 wishdev (John Higgins)
12:30 PM Revision d969cf60 (git): [ruby/webrick] Do not use ensure in a block without begin
This syntax is not supported until Ruby 2.5, and Webrick still
targets Ruby 2.3+.
https://github.com/ruby/webrick/co...
jeremyevans (Jeremy Evans)
12:22 PM Revision 96da24f2 (git): [ruby/webrick] Make readpartial limit chunk to appropriate size
https://github.com/ruby/webrick/commit/e693f501bd wishdev (John Higgins)
12:21 PM Revision 46ba416a (git): [ruby/webrick] Skip env-locale-sensitive CGI test on the "java" platform
JRuby's environment variables are provided by the Java Development
Kit's (JDK's) classes, which present them as a map...
headius (Charles Nutter)
10:39 AM Revision 0c611d7f (git): test/net/http/test_https.rb: The test logic was buggy
The expected certs must be `[CA_CERT, SERVER_CERT]` before 1.1.1g and
`[SERVER_CERT]` after 1.1.1h.
mame (Yusuke Endoh)
10:34 AM Revision 1917afa3 (git): test/net/http/test_https.rb: the order of verify_callback seems to vary
... depending upon the environment. mame (Yusuke Endoh)
10:30 AM Revision 4405423c (git): test/ostruct/test_ostruct.rb: Prevent "method redefined; discarding old foo"
mame (Yusuke Endoh)
10:29 AM Revision 416bb11a (git): test/fiber/scheduler.rb: Prevent "instance variable @urgent not initialized"
mame (Yusuke Endoh)
10:20 AM Revision 07786edd (git): test/net/http/test_https.rb: Stop the error due to openssl 1.1.1h
On some environments that uses OpenSSL 1.1.1h, the two tests now fail.
http://rubyci.s3.amazonaws.com/android29-x86_...
mame (Yusuke Endoh)
09:39 AM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
There is an extra difference that #absolute_path will also try to canonicalize the path and resolve symlinks, so then... Eregon (Benoit Daloze)
08:09 AM Revision 29ed16ff (git): add GC_GUARD
We observed mark miss on this point so we add RB_GC_GUARD() to
avoid wrong free.
ko1 (Koichi Sasada)
08:09 AM Revision 4a588e70 (git): sync rb_gc_register_mark_object()
rb_vm_t::mark_object_ary is global resource so we need to
synchronize to access it.
ko1 (Koichi Sasada)
01:32 AM Bug #17183: Float round working weirdly
Agreed to @marcandre . This sounds like a real bug. shyouhei (Shyouhei Urabe)
12:56 AM Revision e06f4a3b (git): Remove test for putiseq insn
putiseq was removed from instruction set in 2b5bb8a0 Michael Lindley
12:17 AM Bug #16809: Fiber crashes with --with-coroutine=copy
It looks like sometimes the copy coroutine implementation can segfault even on x86_64: https://travis-ci.org/github/r... jeremyevans0 (Jeremy Evans)

09/23/2020

11:17 PM Bug #10534 (Rejected): Enumerator methods other than "next" do not always respect "peek"
jeremyevans0 (Jeremy Evans)
11:12 PM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
Understood. The PR looks acceptable and the right fix.
My advice is to avoid the copy coroutine implementation if ...
ioquatix (Samuel Williams)
11:03 PM Feature #10561: Improve function of Thread::Backtrace::Location #path and #absolute_path
I've improved the documentation for `#path` and `#absolute path` in commit:fae135c5b39db173bf97dfa3c3a34eb8fb230276. ... jeremyevans0 (Jeremy Evans)
10:55 PM Revision fae135c5 (git): Document difference between Thread::Backtrace::Location#{,absolute_}path
They are usually the same, except for locations in the main script. jeremyevans (Jeremy Evans)
10:23 PM Feature #10637 (Assigned): Puppet orchestration on vagrant fails with Error: Non-HTTP proxy URI
Currently, open-uri only supports http proxies, not https proxies (you can connect to https sites through an http pro... jeremyevans0 (Jeremy Evans)
10:20 PM Bug #17183: Float round working weirdly
I think that's a bug. Looks different but maybe related to #14365.
marcandre (Marc-Andre Lafortune)
10:07 PM Bug #17183: Float round working weirdly
This is a known issue and not a bug. My bad. I cannot delete the ticket agustincornu (Agustin Cornu)
09:34 PM Bug #17183 (Closed): Float round working weirdly
I encountered this issue when casting a specific float with a especific round argument.
```
0.5.round(15)
=> 0.5...
agustincornu (Agustin Cornu)
10:11 PM Bug #10749 (Closed): Possible overflow in GC::Profiler report on 2.2.0
jeremyevans0 (Jeremy Evans)
10:01 PM Bug #10684 (Rejected): Block arity changes through Enumerable methods
jeremyevans0 (Jeremy Evans)
06:52 PM Revision 502c3ff0 (git): * 2020-09-24 [ci skip]
git[bot]
06:52 PM Revision 637d1cc0 (git): Improve the performance of super
This PR improves the performance of `super` calls. While working on some
Rails optimizations jhawthorn discovered tha...
eileencodes (Eileen Uchitelle)
06:01 PM Feature #17143: Improve support for warning categories
ko1 (Koichi Sasada) wrote in #note-3:
> My concern is, arbitrary categories make filtering difficult on Warning.warn...
jeremyevans0 (Jeremy Evans)
05:44 PM Feature #17143: Improve support for warning categories
My concern is, arbitrary categories make filtering difficult on Warning.warn method.
Another concern is, "what is th...
ko1 (Koichi Sasada)
05:35 AM Feature #17143: Improve support for warning categories
ko1 (Koichi Sasada) wrote in #note-1:
> Let me clear the proposal. Your PR seems to allow any categories (and any cl...
jeremyevans0 (Jeremy Evans)
04:57 AM Feature #17143: Improve support for warning categories
Let me clear the proposal. Your PR seems to allow any categories (and any class of object). Is it intentional? ko1 (Koichi Sasada)
03:37 PM Feature #17134: Add resolv_timeout to TCPSocket
It receives `resolv_timeout` as a keyword argument to specify name resolution timeout.
Example:
```ruby
# it rai...
Glass_saga (Masaki Matsushita)
05:15 AM Feature #17134: Add resolv_timeout to TCPSocket
Could you describe API changes more? ko1 (Koichi Sasada)
02:40 PM Bug #16809 (Assigned): Fiber crashes with --with-coroutine=copy
OpenBSD/sparc64 (which uses copy coroutine) is similarly broken in regards to fibers. Even something simple like `ru... jeremyevans0 (Jeremy Evans)
11:00 AM Bug #16809: Fiber crashes with --with-coroutine=copy
I've tested copy coroutine. Unfortunately today it is broken completely: hangs, segfaults, etc. puchuu (Andrew Aladjev)
02:10 PM Bug #12468 (Closed): Logger: Can not rotate (log shifting failed. closed stream)
jeremyevans0 (Jeremy Evans)
01:01 PM Revision b717f734 (git): Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
hsbt (Hiroshi SHIBATA)
12:06 PM Revision a4684161 (git): bump Bundler's version to 2.2.0.rc.1
hsbt (Hiroshi SHIBATA)
12:02 PM Revision 31a6eaab (git): Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop. hsbt (Hiroshi SHIBATA)
11:28 AM Revision f56fc720 (git): bundle-package.* was removed at upstream repo
hsbt (Hiroshi SHIBATA)
08:47 AM Revision b57c5467 (git): strip trailing spaces [ci skip]
nobu (Nobuyoshi Nakada)
08:38 AM Revision 5cc72881 (git): Update the version number of rubygems and bundler at NEWS.md
hsbt (Hiroshi SHIBATA)
07:23 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
Would you like a patch? byroot (Jean Boussier)
06:07 AM Feature #13381: [PATCH] Expose rb_fstring and its family to C extensions
I'm now positive "interned_str" instead of "interned". ko1 (Koichi Sasada)
02:44 AM Revision 9a8f5f0a (git): Fix call-seq [ci skip]
`encoding` can be not only an encoding name, but also an Encoding object.
```
s = String.new('foo', encoding: Encodi...
znz (Kazuhiro NISHIYAMA)
01:59 AM Revision ba889100 (git): Bundle rbs gem as bundled gems (#3496)
* Added rbs as bundled gems
* Added the missing dependencies for rbs gem
hsbt (Hiroshi SHIBATA)
12:43 AM Feature #4917: `NilClass#to_ary`
y_feldblum (Jay Feldblum) wrote in #note-6:
> This minor performance issue becomes a huge problem when NilClass#meth...
DanRathbun (Dan Rathbun)
12:09 AM Revision e380f788 (git): Removed rb_find_file_ext_safe and rb_find_file_safe
hsbt (Hiroshi SHIBATA)
 

Also available in: Atom