Activity
From 04/07/2021 to 04/13/2021
04/13/2021
-
10:22 PM Feature #17795: Around `Process.fork` callbacks API
- ~~@mame I'm afraid I don't have the permission to edit my own tickets.~~ Nevermind.
-
04:32 PM Feature #17795: Around `Process.fork` callbacks API
- @byroot I see, thanks! I think that the intended behavior of the proposed APIs is valuable to be explained in the tic...
-
03:17 PM Feature #17795: Around `Process.fork` callbacks API
- > what process calls the after_fork hook? Only parent, only child, or both?
The `child`. But I agree that a better... -
02:46 PM Feature #17795: Around `Process.fork` callbacks API
- > Do people actually fork in the middle of a transaction?
I think the most likely case is if the transaction is un... -
02:36 PM Feature #17795: Around `Process.fork` callbacks API
- I'd like to make sure: what process calls the `after_fork` hook? Only parent, only child, or both?
In the previous... -
11:16 AM Feature #17795: Around `Process.fork` callbacks API
- @byroot Thanks for the new issue, this seems much clearer than the previous one :)
jeremyevans0 (Jeremy Evans) wrote... -
10:52 AM Feature #17795: Around `Process.fork` callbacks API
- @jeremyevans0 I understand your point, and I agree that in an ideal world this wouldn't be necessary.
However prag... -
02:32 AM Feature #17795: Around `Process.fork` callbacks API
- The main issue I see with this is the potential for misuse. If I could be sure this would only be used by applicatio...
-
01:32 AM Feature #17795: Around `Process.fork` callbacks API
- Python provides `os.register_at_fork` API for registering callbacks which are called on both before and after fork.
... -
09:30 PM Bug #17800 (Third Party's Issue): Cannot disable SMTP TLS through mail library
- Looks like you are referring to the mail gem, which is not part of Ruby itself: https://github.com/mikel/mail/blob/8f...
-
07:14 PM Bug #17800 (Third Party's Issue): Cannot disable SMTP TLS through mail library
Net::SMTP now defaults to automatic TLS; the **mail** interface hasn't been updated to reflect this. It will turn T...-
08:05 PM Bug #17801: repeated read from PTY blocks all Fibers
- expected output from script on cli:
date
Di 13 Apr 2021 21:51:20 CEST
test
date
Di 13 Apr 2021 21:51:21 CEST
te... -
07:51 PM Bug #17801: repeated read from PTY blocks all Fibers
- Investigating.
-
07:31 PM Bug #17801 (Closed): repeated read from PTY blocks all Fibers
- Ruby version:
ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [x86_64-linux]
used Scheduler:
https://github.com/... -
07:10 PM Bug #17799: Seg fault in rb_class_clear_method_cache
- My explanation in #note-1 is partly incorrect. What is wrongfully 0 is the value of the class itself, not the class s...
-
06:49 PM Bug #17799: Seg fault in rb_class_clear_method_cache
- My observation is that the function rb_class_clear_method_cache is called with argument klass=0, which clearly causes...
-
05:28 PM Bug #17799 (Feedback): Seg fault in rb_class_clear_method_cache
- Recently our CI tests have been intermittently failing with segmentation faults at random points, such as:
```
/b... -
04:35 PM Feature #17753: Add Module#namespace
- BTW, you all know AS has this concept right? https://github.com/rails/rails/blob/f1e00f00295eb51a64a3008c7b1f4c4f46e9...
-
11:50 AM Feature #17753: Add Module#namespace
- The lexical parent module happens to be just the object from which you set the name, which does not even reflect the ...
-
10:57 AM Feature #17753: Add Module#namespace
- I see, the name `namespace` is what we're disagreeing on.
Maybe you have another suggestion for the name of that met... -
10:01 AM Feature #17753: Add Module#namespace
- Oh, let me say something explicitly: You guys are Ruby committers, you are the ones that have the vision for what mak...
-
09:46 AM Feature #17753: Add Module#namespace
- To me, the ability of a namespace being namespace of itself
```ruby
m = Module.new
m::M = m
```
is one clear indica... -
09:37 AM Feature #17753: Add Module#namespace
- BTW, we were discussing yesterday with Aaron that the flag I am raising is about the name `namespace`. What we are de...
-
09:29 AM Feature #17753: Add Module#namespace
- > It's also a way to inform the user where that constant lives. The contents of the string have meaning.
The numerou... -
03:07 PM Misc #17734: DevelopersMeeting20210416Japan
- * [Feature #17016] Add `Enumerable#accumulate` (parkerfinch)
* Is the name `#accumulate` acceptable?
* Is this ... -
02:51 PM Feature #17016: Enumerable#accumulate
- I like `#accumulate`, and thank you @nobu for an implementation [here](https://github.com/ruby/ruby/pull/3361)!
Is... -
02:30 PM Feature #5446 (Closed): at_fork callback API
- byroot (Jean Boussier) wrote in #note-52:
> @mame I created https://bugs.ruby-lang.org/issues/17795, let me know if ... - 01:37 PM Revision 4eefb057 (git): Add RSymbol struct back into RVALUE
- Commit 0ca714fa1aa3fbe4fb60ae1e5b730e544dabc27b removed RSymbol from
RVALUE. This commit adds RSymbol back into RVALUE. -
01:37 PM Feature #17798 (Closed): exception in finalizer
- https://docs.ruby-lang.org/ja/latest/method/ObjectSpace/m/define_finalizer.html に
> proc の呼び出しで発生した大域脱出(exitや例外)は無... -
12:50 PM Feature #17752: Enable -Wundef for C extensions in repository
- @xtkoba Your 4 patches look good to me, could you commit them?
-
05:50 AM Revision 393923b5 (git): Inline LONG_LONG conversions
- Not only NUM2LL, also LL2NUM, ULL2NUM and NUM2ULL.
-
05:30 AM Revision f8e1bf28 (git): workaround MSVC error
- Previous code failed to compile on MSVC. Log:
https://github.com/ruby/ruby/pull/4371/checks?check_run_id=2304484466
... -
05:30 AM Revision 6413dc27 (git): dependency updates
-
05:30 AM Revision f411fcd1 (git): get rid of #pragma GCC diagnostic ignored "-Wundef"
- Use of TOKEN_PASTE was a bad idea at the first place. Just use ##
everywhere. Nobody practically lacks token pasting. - 04:12 AM Revision 6878d517 (git): * 2021-04-13 [ci skip]
-
03:49 AM Feature #17797: MIPS support for addr2line.c
- Could you please commit it yourself?
-
02:59 AM Feature #17797 (Open): MIPS support for addr2line.c
- In MIPS ELF, DWARF sections are of type `MIPS_DWARF`, not `PROGBITS`.
The attached patch modifies `addr2line.c` so... -
03:05 AM Revision 12f7ba5e (git): Make String#crypt ractor-safe
04/12/2021
-
05:29 PM Feature #17753: Add Module#namespace
- I think those edge cases are pretty rare.
Module#namespace would refer to the lexical parent when the module is crea... -
03:28 PM Feature #17753: Add Module#namespace
- > Yes, c.name is "X::C", but as I said above, that is just a string.
It's also a way to inform the user where that... -
05:07 PM Bug #17796 (Third Party's Issue): ruby does not compile with openssl-alpha14
- Yes. Work for this is being tracked at: https://github.com/ruby/openssl/issues/369
-
04:46 PM Bug #17796: ruby does not compile with openssl-alpha14
- This is probably a duplicate of #17628.
-
04:42 PM Bug #17796 (Third Party's Issue): ruby does not compile with openssl-alpha14
- ruby does not compile with openssl-alpha14
make[2]: Entering directory '/usr/src/photon/BUILD/ruby-2.7.1/ext/-test... -
02:59 PM Feature #17795: Around `Process.fork` callbacks API
- byroot (Jean Boussier) wrote in #note-2:
> > Afaik the proper way to do this is to close the connection after the fo... -
02:12 PM Feature #17795: Around `Process.fork` callbacks API
- > Afaik the proper way to do this is to close the connection after the fork.
No before. Otherwise the connection i... -
01:24 PM Feature #17795: Around `Process.fork` callbacks API
- > Most database clients, ORMs or other libraries keeping a connection pool might need to close connections before the...
-
08:09 AM Feature #17795 (Closed): Around `Process.fork` callbacks API
- Replaces: https://bugs.ruby-lang.org/issues/5446
### Context
Ruby code in production is very often running in a... -
01:47 PM Revision df7efdcb (git): Get rid of LONG_LONG redefinition
-
08:09 AM Feature #5446: at_fork callback API
- @mame I created https://bugs.ruby-lang.org/issues/17795, let me know if it makes sense to you, in which case I'll upd...
-
07:52 AM Feature #5446: at_fork callback API
- byroot (Jean Boussier) wrote in #note-50:
> @mame I'll do it.
Thanks! -
06:52 AM Feature #5446: at_fork callback API
- @mame I'll do it.
-
05:30 AM Feature #5446: at_fork callback API
- Can anyone summarize the latest proposal? I cannot understand what is needed precisely. I'm afraid if some people see...
-
06:58 AM Bug #17793 (Closed): `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- Applied in changeset commit:git|a5688b5ce6e87a5b881a4d52d4e59b6fe807e807.
----------
Support non-standard `struct st... -
06:56 AM Bug #17793: `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- With the patch in #note-6 applied, `file.c` is compiled without any error or warning (including `-Wundef`) for armv7a...
-
06:36 AM Bug #17793: `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- Patch updated.
-
06:00 AM Bug #17793: `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- It makes no difference because neither `SIZEOF_DEVT` nor `SIZEOF_DEV_T` is defined on Android (both for 32- and 64-bi...
-
05:48 AM Bug #17793: `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- All `SIZEOF_DEVT` were typo.
-
05:30 AM Bug #17793: `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- Sorry, the second patch had a typo, `SIZEOF_DEVT` should be `SIZEOF_DEV_T`.
Is it fine? -
04:55 AM Bug #17793: `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- user:nobu Thanks, it builds for armv7a-android without error or format warning.
-
03:53 AM Bug #17793: `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- Do these work?
```diff
diff --git i/configure.ac w/configure.ac
index 6fe43bfc8dd..f08597a007c 100644
--- i/configur... - 06:58 AM Revision 59171378 (git): * 2021-04-12 [ci skip]
-
06:32 AM Revision a5688b5c (git): Support non-standard `struct stat` [Bug #17793]
- On 32-bit Android:
* `st_dev`/`st_rdev` are not `dev_t`
* `st_mode` is not `mode_t` -
04:23 AM Bug #17794 (Closed): addr2line.c can free(3) an invalid pointer without zlib
- When built without zlib (`./configure ac_cv_lib_z_uncompress=no`), `ruby` aborts immediately after C level backtrace ...
-
01:29 AM Feature #17790: Have a way to clear a String without resetting its capacity
- What about `buffer.clear(capacity: 1024)`
Or maybe even `buffer.clear(capacity: 1024..8192)`
I think that's more st...
04/11/2021
-
05:39 PM Bug #17793 (Closed): `shorten-64-to-32` error for 32-bit Android due to `struct stat` definition
- [Here is a failure log for armv7a-android from CI.](http://rubyci.s3.amazonaws.com/crossruby/crossruby-master-armv7a-...
-
01:02 PM Bug #16651 (Closed): Extensions Do Not Compile on Mingw64 with mingw32-make
- Applied in changeset commit:git|799ea1d1540aca03542ee31647052343507a4b41.
----------
mkmf.rb: convert also arch_hdrd... -
01:02 PM Bug #16651: Extensions Do Not Compile on Mingw64 with mingw32-make
- MinGW on MSys build is cross compilation.
No reason to use `mingw32-make`, which isn't for the build OS. -
12:59 PM Revision 799ea1d1 (git): mkmf.rb: convert also arch_hdrdir [Bug #16651]
-
10:14 AM Bug #17779 (Closed): 特定の順序でHashのkeyを削除した場合に Hash#first が遅くなる
- Applied in changeset commit:git|9f9045123efefbd11dd397b4d59596290765feec.
----------
st.c: skip all deleted entries ... -
10:05 AM Revision 9f904512 (git): st.c: skip all deleted entries [Bug #17779]
- Update the start entry skipping all already deleted entries.
Fixes performance issue of `Hash#first` in a certain case. -
07:08 AM Feature #17724 (Assigned): Make the pin operator support instance/class/global variables
-
04:21 AM Revision 60bdf03b (git): [DOC] Adjusted spacing [ci skip]
-
04:18 AM Revision 37b96d67 (git): sync_default_gems.rb: merge only files named as each gem
-
01:40 AM Feature #17786: Proposal: new "ends" keyword
- jzakiya (Jabari Zakiya) wrote in #note-13:
> The examples I provided show the intent of what its use is for, which i... -
12:59 AM Revision dbdd8c2d (git): sync_default_gems.rb: ignore rakelib [ci skip]
-
12:06 AM Revision ec015878 (git): Revert "[ruby/optparse] No document in rakelib" [ci skip]
- This reverts commit bd7430c7aacd135419609eec72e3889cd00a6f73.
No rakelib in ruby itself. -
12:03 AM Revision f8948696 (git): [ruby/optparse] Moved rdoc files to doc/optparse
- https://github.com/ruby/optparse/commit/cccb28e0de
04/10/2021
-
11:52 PM Revision cb01437c (git): [ruby/optparse] Fix relative paths
- https://github.com/ruby/optparse/commit/8be031b539
-
11:52 PM Revision bd7430c7 (git): [ruby/optparse] No document in rakelib
- https://github.com/ruby/optparse/commit/4ff48f24c9
-
11:52 PM Revision 1bad4bdf (git): [ruby/optparse] More on tutorial (#16)
- - Added example in "Argument Converters"; it doesn't seem right for a tutorial to have no example in one of its top...
-
11:52 PM Revision ff0dac18 (git): [ruby/optparse] Rdoc (#15)
- * Resolve shared mixed_names.rb
* Add long option with negation
* Show --help for all examples
* Table of contents... -
11:52 PM Revision c795f30e (git): [ruby/optparse] Reorganize Ruby example files for sharing (#14)
- https://github.com/ruby/optparse/commit/9a2352c1c9
- 11:40 PM Revision 97abd0f6 (git): * 2021-04-11 [ci skip]
-
11:37 PM Revision f60fba03 (git): Make sure to mention ext/Setup is optional
- This step confused me when trying to compile Ruby after 5 years, so it
should be avoided unless you need static linking. -
08:45 PM Feature #17753: Add Module#namespace
- Also, in case my comments above are too generic, let's take the use case in the description of the ticket:
> I can d... -
10:54 AM Feature #17753: Add Module#namespace
- Let me add some edge cases that are possible, also for the archives:
```ruby
module M
module N
end
end
M::N.na... -
10:35 AM Feature #17753: Add Module#namespace
- I like the direction this is going towards, however, let me record some remarks for the archives.
Java has namespace... -
08:17 PM Bug #17792: make notes and make test fail with Ruby3.0.1p64 RaspberryPI 4B Ubuntu 20.10 ARM64
- The test code took almost two minutes to run, and it failed:
```
# TEST RESULTS:
pi> ruby test.rb
:foo
test.rb:13:i... -
07:56 PM Bug #17792: make notes and make test fail with Ruby3.0.1p64 RaspberryPI 4B Ubuntu 20.10 ARM64
- The test code at [bootstraptest/test_io.rb:87](https://github.com/ruby/ruby/blob/0fb782ee38ea37fd5fe8b1f775f8ad866a82...
-
05:48 PM Bug #17792: make notes and make test fail with Ruby3.0.1p64 RaspberryPI 4B Ubuntu 20.10 ARM64
- Another FYI: The RaspberryPI 4B uses a microSD card (class 10) for the OS and all installed software. I was building ...
-
06:28 AM Bug #17792: make notes and make test fail with Ruby3.0.1p64 RaspberryPI 4B Ubuntu 20.10 ARM64
- Sorry for a less informative reply, but Ruby is not yet tested well with 64 bit Raspberry Pi. I have no environment t...
-
04:41 AM Bug #17792 (Open): make notes and make test fail with Ruby3.0.1p64 RaspberryPI 4B Ubuntu 20.10 ARM64
- I am building Ruby 3.01 from sources on a RaspberryPI 4B running Ubuntu 20.10 ARM64.
This is my first day using th... -
05:04 PM Feature #17785: Allow named parameters to be keywords
- My main objection to `local_variable_get` is that it's super verbose / ugly.
> How would you handle `foo(class_, c... -
07:47 AM Feature #17785: Allow named parameters to be keywords
- > the number of keywords is very low, which means that the cases where using a keyword as an argument name makes sens...
-
03:20 AM Feature #17785: Allow named parameters to be keywords
- duerst (Martin Dürst) wrote in #note-7:
> What about finding something in between the two? E.g. even just introducing... -
12:06 AM Feature #17785: Allow named parameters to be keywords
- I think it's not a good idea to introduce special syntax such as `class_` just for the case where arguments are named...
-
03:55 PM Feature #17786: Proposal: new "ends" keyword
- > Please focus on the intent and purpose, and not semantics.
But we have to decide what the semantics will be in o... -
03:43 PM Feature #17786: Proposal: new "ends" keyword
- The examples I provided show the intent of what its use is for, which is to provide one termination point for a strin...
-
03:17 PM Feature #17790: Have a way to clear a String without resetting its capacity
- > My feeling is handling the capacity in Ruby code feels wrong and like C++ code.
This is really meant for the few l... -
09:33 AM Feature #17790: Have a way to clear a String without resetting its capacity
- I think `clear(shrink: true/false)` would be fine to add.
I'm not sure if it's really needed in practice though. -
09:28 AM Feature #17790: Have a way to clear a String without resetting its capacity
- byroot (Jean Boussier) wrote in #note-6:
> Maybe `String#capacity` and `String#capacity=` would make sense? But then... -
07:05 AM Bug #17787 (Closed): Four AIX build issues with xlc compiler and ruby-3.0.1
- Applied in changeset commit:git|3a3033c138c0951ad5edbf02b5c233b58a190d2f.
----------
get rid of using `__builtin_unr... -
06:58 AM Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- Those work fine, applied here:
https://github.com/chef/omnibus-software/pull/1328/files#diff-a57a53cdb786ca02b297d... -
07:05 AM Revision 4a6c7f86 (git): configure: always check for atomic/sync builtins [Bug #17787]
- Non-gcc compilers tend to have this intrinsic these days, e.g. xlc
has `__sync` builtins. -
07:05 AM Revision 8b7cab70 (git): configure: try `-fdeclspec` option by linking [Bug #17787]
- A workaround for `-f` option of AIX xlc compiler which works only
on linking. -
07:05 AM Revision c569c298 (git): just redirect preprocessed vm.c to mjit header [Bug #17787]
- Not all preprocessors work with output option.
-
07:05 AM Revision 3a3033c1 (git): get rid of using `__builtin_unreachable` directly [Bug #17787]
- As it is an independent feature from `clz`, `ctz` and `popcount`,
it might be unavailable even if the latters are bui... -
06:18 AM Bug #16651: Extensions Do Not Compile on Mingw64 with mingw32-make
- Building io-console with 2.7.2 from RubyInstaller:
```console
$ ruby -v ../src/ext/io/console/extconf.rb
ruby 2.7.2p1... -
06:06 AM Bug #17791 (Third Party's Issue): Ractor exception when using Nokogiri
-
03:51 AM Bug #17791 (Rejected): Ractor exception when using Nokogiri
- Based on @xtkoba's analysis, closing as this doesn't appear to be a bug in Ruby.
-
12:40 AM Bug #17791: Ractor exception when using Nokogiri
- This is because a function (`read_memory`) in a C extension (`nokogiri.so`) is called which is not marked as ractor-s...
-
03:41 AM Revision 6c7d39aa (git): rbinstall.rb: record default gem files
-
02:59 AM Revision af8ac97f (git): rbinstall.rb: append "/" to directory names
-
02:57 AM Revision 68a6f6c4 (git): mac: ignore SDKROOT at installation
-
02:54 AM Revision 0a93a3f4 (git): win32: fix RUBY_RELEASE_DATE in Makefile
- As it is overridden by the definition in common.mk, instead define
YEAR, MONTH and DAY which are used there.
This ma...
04/09/2021
-
10:18 PM Bug #16651: Extensions Do Not Compile on Mingw64 with mingw32-make
- I suppose it is by luck that `arch_hdrdir` of the form `C:/foo/bar` is not causing problems with `make` from MSYS. In...
-
10:05 AM Bug #16651: Extensions Do Not Compile on Mingw64 with mingw32-make
- cfis (Charlie Savage) wrote in #note-12:
> VPATH works fine with arch_hdrdir in the form `c:/msys64/etc` - Ruby has ... -
07:35 AM Bug #16651: Extensions Do Not Compile on Mingw64 with mingw32-make
- VPATH works fine with arch_hdrdir in the form `c:/msys64/etc` - Ruby has been doing that on Windows for many years.
... -
10:10 PM Bug #17725: Prepend breaks ability to override optimized methods
- I've submitted a pull request to fix this: https://github.com/ruby/ruby/pull/4376
-
09:45 PM Feature #17790: Have a way to clear a String without resetting its capacity
- [email protected] wrote:
> > so providing a capacity method gives more control over how to expand memory
> ... -
09:28 PM Feature #17790: Have a way to clear a String without resetting its capacity
- > so providing a capacity method gives more control over how to expand memory
Agreed. Without also exposing the c... -
06:44 PM Feature #17790: Have a way to clear a String without resetting its capacity
- If we want `clear` to shrink memory by default, a `shrink: true` keyword argument could be added so the user could ov...
-
06:38 PM Feature #17790: Have a way to clear a String without resetting its capacity
- What makes sense probably depends on how long lived the String is and whether there is an upper-bound to how much nee...
-
05:53 PM Feature #17790: Have a way to clear a String without resetting its capacity
- I think that some people and libraries might expect that the `#clear` method releases the allocated memory.
This mig... -
01:38 PM Feature #17790: Have a way to clear a String without resetting its capacity
- Looks good. I doubt very much that this would be a compatibility concern.
-
11:30 AM Feature #17790: Have a way to clear a String without resetting its capacity
- Proposed patch: https://github.com/ruby/ruby/pull/4373
-
10:42 AM Feature #17790 (Open): Have a way to clear a String without resetting its capacity
- In some tight loop it can be useful to re-use a buffer string. For instance:
```ruby
buffer = String.new(encoding... -
09:24 PM Feature #16816: Prematurely terminated Enumerator should stay terminated
- I prepared a commit to fix this: https://github.com/jeremyevans/ruby/commit/851534bbffd87c79bb63e8df36d6a47cc821aef0
... - 09:10 PM Revision 836da24e (git): Fix symbol export.
-
09:07 PM Feature #17785: Allow named parameters to be keywords
- I’ll also say I like byroot’s idea, especially as bare `\VALUE`
currently throws a SyntaxError.
-
05:59 PM Feature #17785: Allow named parameters to be keywords
- I like @byroot's idea to solve the more general issue and not just this specific instance.
marcandre (Marc-Andre L... -
01:04 PM Feature #17785: Allow named parameters to be keywords
- Arguably it's a bit of a stretch, but how would you handle: `foo(class_, class:)`?
What if instead of mangling the... -
06:18 PM Feature #17762: A simple way to trace object allocation
- byroot (Jean Boussier) wrote in #note-15:
> I understand the concern. A `require` always seem more harmless than a m... - 05:48 PM Revision ff43ecc0 (git): * 2021-04-10 [ci skip]
-
05:44 PM Revision 9c31fb61 (git): Fix documentation for Enumerator::Lazy#with_index
- If a block is given, it returns a lazy enumerator that will iterate
over the block, it doesn't iterate over the block... -
05:23 PM Bug #17571 (Closed): prependしたArray#[] が反映されない
- I tested with the master branch and Ruby 3.0.1, and this problem appears fixed.
-
02:33 PM Bug #17789 (Closed): Incompatible behavior of Enumarator::Lazy#with_index
- This is expected. The behavior has changed. All bug fixes are incompatibilities.
-
11:03 AM Bug #17789: Incompatible behavior of Enumarator::Lazy#with_index
- It means it's no longer compatible with 2.6 or under, isn't it?
Thank you for quick reply! -
09:02 AM Bug #17789: Incompatible behavior of Enumarator::Lazy#with_index
- It doesn't ignores the block. It is just lazy to perform it :)
```ruby
%w(a).lazy.with_index { |s, i| puts "#{s} ... -
08:46 AM Bug #17789 (Closed): Incompatible behavior of Enumarator::Lazy#with_index
- this method ignores the block passed to it, but this behavior looks different from the Enumerator (super class).
`... -
12:33 PM Bug #17791 (Third Party's Issue): Ractor exception when using Nokogiri
- Parsing xml using nokogiri:
``` ruby
doc = Nokogiri.XML('<foo><bar /></foo>', nil, 'EUC-JP')
```
Suppose I want... -
09:04 AM Feature #17752: Enable -Wundef for C extensions in repository
- My attempt https://github.com/ruby/ruby/pull/4371
-
01:32 AM Feature #17752: Enable -Wundef for C extensions in repository
- xtkoba (Tee KOBAYASHI) wrote in #note-7:
> I noticed that `-Wundef` is explicitly disabled for GCC at [include/ruby/... -
09:00 AM Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- Do these patches work?
https://github.com/ruby/ruby/compare/master...nobu:bug/17787-aix-workarounds -
04:05 AM Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- xlc does not identify as GCC:
```
# egrep GCC ./3.0.0/powerpc-aix7.1.5.0/rbconfig.rb
CONFIG["GCC"] = ""
```
... -
03:38 AM Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- fdeclspec section is:
```
configure:9228: result: yes
configure:9348: checking whether -fdeclspec is accepted as... -
07:12 AM Feature #17786: Proposal: new "ends" keyword
- I don't think a new keyword is acceptable, because of backward compatibility, ambiguity, and so on.
If it is an is... -
06:25 AM Feature #17786: Proposal: new "ends" keyword
- Just to be clear, I'd not be against a good way to shorten a series of `end`s into something simpler. But the current...
-
03:52 AM Feature #17786: Proposal: new "ends" keyword
- When I read the proposal I had to think about the "ennnnnd" proposal. :)
That one was linked in above:
https://... -
02:43 AM Feature #17786: Proposal: new "ends" keyword
- I agree that this proposal is very unlikely to be successful, but I guess the proposer is serious, so I'm removing "j...
-
06:17 AM Bug #16492: TestBugReporter#test_bug_reporter_add test failures
- @mame Yes I will do it!
-
04:59 AM Revision 582f4bc1 (git): test/ruby/test_gc_compact.rb: Use assert_separately for debugging
- ... the following timeout failure.
http://rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/20210408T213303Z.fail.... -
02:57 AM Revision 6496c76d (git): [ruby/reline] Add calling Reline::Config#reset_default_key_bindings to #reset, which is forgot to call
-
01:37 AM Bug #17788: ruby 3.0.0 - compiling c++ extension on alpine fails
- Good catch! Patch LGTM.
-
12:17 AM Bug #17788: ruby 3.0.0 - compiling c++ extension on alpine fails
- Repro (named `bug17788.cc`):
```c
#include <sys/types.h>
//extern "C" {
void *
ruby_nonempty_memcpy(void *dest...
04/08/2021
-
11:49 PM Bug #17784 (Closed): lib/exe/* mistakenly appearing in Ruby 2.7?
-
09:41 AM Bug #17784: lib/exe/* mistakenly appearing in Ruby 2.7?
- https://github.com/ruby/ruby/pull/4368
-
09:21 AM Bug #17784 (Closed): lib/exe/* mistakenly appearing in Ruby 2.7?
- It seems that commit:git|931815bfd86df603337194f3fcefb46bfe3e7940 accidentally introduces the lib/exe dir. I can't se...
-
11:36 PM Feature #17786: Proposal: new "ends" keyword
- Similar proposals have been made in the past, see e.g. #5054, #12241 (make sure to check the date on the second one)....
-
09:43 PM Feature #17786: Proposal: new "ends" keyword
- Please no. Error prone, not particularly useful, can not be nested, potentially incompatible, ...
My recommendatio... -
08:09 PM Feature #17786: Proposal: new "ends" keyword
- The process to implement this proposal are actually much simpler than you make it out to be.
This would be perfect... -
05:03 PM Feature #17786: Proposal: new "ends" keyword
- I don't think you could get reasonable and useful semantics for `ends`. From your example, `ends` applies not just t...
-
04:55 PM Feature #17786: Proposal: new "ends" keyword
- > no conflict with legacy code
How do you differentiate between a call to a method called `ends` in legacy code, a... -
04:38 PM Feature #17786 (Open): Proposal: new "ends" keyword
- I'm submitting this in the same spirit that ''endless methods'' was, to promote and produce more concise and easier t...
-
11:03 PM Bug #17788 (Closed): ruby 3.0.0 - compiling c++ extension on alpine fails
- Compiling gem with C++ extension fails on alpine 3xx with Ruby 3.0.0 and Ruby 3.0.1
(does not fail on Ubuntu 18 ¯\\... -
10:47 PM Bug #17787 (Feedback): Four AIX build issues with xlc compiler and ruby-3.0.1
- lamont (Lamont Granquist) wrote:
> #1: internal/bits.h uses the gcc extension `__builtin_unreachable()` directly, t... -
10:35 PM Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- Yeah that road requires having all the build tooling installed on our builders, which it turns out we don't (chaotic ...
-
10:06 PM Bug #17787: Four AIX build issues with xlc compiler and ruby-3.0.1
- An advice from me is that you should not edit `configure` directly, as that file is auto-generated from `configure.ac...
-
09:14 PM Bug #17787 (Closed): Four AIX build issues with xlc compiler and ruby-3.0.1
- Yesterday found 4 small issues trying to use xlc to build ruby 3.0 on AIX that prevented building. My solutions are ...
-
10:27 PM Feature #11541 (Closed): Let attr_accessor, _reader & _writer return symbols of the defined methods
- Shipped in Ruby 3.0
-
08:31 PM Bug #16651: Extensions Do Not Compile on Mingw64 with mingw32-make
- I suppose `arch_hdrdir` also should have been canonicalized by `mkintpath`, because otherwise it would cause trouble ...
-
06:28 AM Bug #16651: Extensions Do Not Compile on Mingw64 with mingw32-make
- Thanks for the background, that was very helpful. The difference is that I am using mingw64 make, not msys make. So:
... -
06:04 PM Feature #6470 (Closed): Make attr_accessor return the list of generated method
-
06:02 PM Feature #6470: Make attr_accessor return the list of generated method
- This is implemented https://twitter.com/avdi/status/1380213296108867586. Let's close this ticket!
:) -
04:55 PM Feature #17785: Allow named parameters to be keywords
- Clearly, `class_` is much simpler and much faster than `binding.local_variable_get(:class)`...
-
03:23 PM Feature #17785: Allow named parameters to be keywords
- We actually can:
```ruby
def check(arg, class:)
arg.is_a?(binding.local_variable_get('class'))
end
```
[Here]... -
03:20 PM Feature #17785: Allow named parameters to be keywords
- An interesting idea. I have never thought of it. A clearer name might be better, such as `keyword_variable_class`, in...
-
03:08 PM Feature #17785 (Assigned): Allow named parameters to be keywords
- We should allow named parameters to be keywords and use add a trailing `_` to the corresponding variable:
```ruby
... -
03:30 PM Bug #16492: TestBugReporter#test_bug_reporter_add test failures
- @jaruga If you think the patch is good, can you please merge it after you get a commit bit?
-
03:11 PM Bug #15735: Thread#handle_interrupt does not prevent Thread#kill from interrupting
- I've determined this is just a documentation issue, and there is a way for `Thread.handle_interrupt` to handle kill/t...
-
03:01 PM Bug #15735 (Closed): Thread#handle_interrupt does not prevent Thread#kill from interrupting
- Applied in changeset commit:git|5c4ff3f00c6bd84ef0721c1077ee9c525daa68f8.
----------
Document how to handle kill/ter... - 03:01 PM Revision a6ae593c (git): * 2021-04-09 [ci skip]
-
02:53 PM Revision 5c4ff3f0 (git): Document how to handle kill/terminate interrupts in Thread.handle_interrupt
- The kill/terminate interrupts are internally handled not as Exception
instances, but as integers. So using Exception... -
01:05 PM Misc #17734: DevelopersMeeting20210416Japan
- - [Feature #17795] `before_fork` and `after_fork` callback API
- Many libraries out there use various tricks to det... -
12:35 PM Misc #17734: DevelopersMeeting20210416Japan
- * [Feature #15198] Add Array#intersect? (marcandre)
* Ok to add?
-
12:53 PM Bug #17748: Ruby 3.0 takes a long time to resolv DNS of nonexistent domains
- Since this was backported and included in 2.7.3 it impacts people upgrading from 2.7.2 as well. We were just bitten ...
-
12:41 PM Revision 0395aa6b (git): Make the return type of rb_char_next the same as CharNext
-
12:41 PM Revision b0b3022f (git): [ruby/reline] Moved development dependencies to Gemfile
- As expressions in a gemspec file are evaluated at the build time,
but not the run time, the conditional in the gemspe... -
12:41 PM Revision 5543695a (git): [ruby/reline] Separate keystrokes each editing mode
- https://github.com/ruby/reline/commit/ee23e6f3f8
-
12:41 PM Revision 16f31da9 (git): [ruby/reline] Check WITH_VTERM env to add vterm gem as dependency
- https://github.com/ruby/reline/commit/27b689a7e2
-
12:41 PM Revision 9e940eae (git): [ruby/irb] Moved development dependencies to Gemfile
- As expressions in a gemspec file are evaluated at the build time,
but not the run time, the conditional in the gemspe... -
12:32 PM Feature #15198: Array#intersect?
- I am positive on the feature as has valid use cases, it can be optimized in C and as a bonus adds no cognitive load.
... -
11:42 AM Revision 3816157e (git): [ruby/irb] Ripper::Lexer::Elem#state is defined since Ruby 2.5
- And the required ruby version is 2.5 or later.
https://github.com/ruby/irb/commit/ac496d4c78 -
11:36 AM Revision d825e349 (git): Use autogen.sh
-
08:31 AM Feature #5446: at_fork callback API
- +1 we have this issue at Datadog as well. Our profiler keeps a background thread that takes samples and reports back ...
-
08:15 AM Feature #17762: A simple way to trace object allocation
- > It will get checked into production at some point.
I understand the concern. A `require` always seem more harmle... -
08:10 AM Bug #13876: Tempfile's finalizer can be interrupted by a Timeout exception which can cause the process to hang
- > Run finalizers in a separate thread instead of the main thread.
This could cause backward compatibility issues a... -
05:26 AM Revision ee372aa8 (git): test/zlib/test_zlib.rb: Set binmode to test output file
- Seems like the test `TestZlibGzipFile#test_gzip_reader_zcat` fails when
the timestamp has `\n\n`.
https://ci.appveyo... -
04:52 AM Bug #17783: Running sidekiq with ruby 3.0 (possible thread deadlock on resolv request_id allocation and free)
- This seems to be a duplicate of Bug #17781.
-
04:42 AM Bug #17783 (Closed): Running sidekiq with ruby 3.0 (possible thread deadlock on resolv request_id allocation and free)
- I have a simple sidekiq job running http request through net/http lib, many years (no issues with ruby 2.3-2.7.2), la...
-
03:37 AM Revision ec355813 (git): [ruby/optparse] gemspec: Explicit files list [ci skip]
- This avoid shelling out, and includes a narrower list of files.
https://github.com/ruby/optparse/commit/f3ca83caff
... -
03:11 AM Revision a5ecce91 (git): [ruby/optparse] Make use of option_params.rdoc
- https://github.com/ruby/optparse/commit/d55d9284c3
-
03:11 AM Revision 5891159f (git): [ruby/optparse] Enhanced doc for option parameters (#11)
- https://github.com/ruby/optparse/commit/5618eeb49e
-
03:11 AM Revision fe72cff4 (git): [ruby/optparse] More on tutorial (#9)
- * More on tutorial: clearer example output
https://github.com/ruby/optparse/commit/84dfd92d2a -
03:09 AM Revision 2b66b224 (git): [ruby/optparse] gemspec: Explicitly list 0 executables
- This gem exposes no executable files.
https://github.com/ruby/optparse/commit/d14bf83007 -
03:09 AM Revision 0d1d779c (git): [ruby/optparse] Beginnings of tutorial
- https://github.com/ruby/optparse/commit/f209276f79
-
03:04 AM Revision 956056db (git): sync_default_gems.rb: do not reset the whole directory [ci skip]
- If no files to be ignored, resetting with no argument means
resetting the whole directory. -
02:04 AM Bug #17781 (Assigned): Resolv::DNS RequestID table allocations are never freed, causing DNS lookups to eventually hang
- This should be fixed by https://github.com/ruby/resolv/pull/9
-
01:03 AM Bug #17781: Resolv::DNS RequestID table allocations are never freed, causing DNS lookups to eventually hang
- If the issue was introduced by 70c3a195f39763dccdf9367d0c9b7e815431a41a, ruby-2.6.7 might be affected too. Since the ...
-
01:43 AM Bug #17782 (Closed): Can not compile Ruby trunk with openssl 1.1.1k
- Closing as per OP's request. Thanks
-
01:24 AM Bug #17782: Can not compile Ruby trunk with openssl 1.1.1k
- Don't mind. It is not uncommon that `make clean` followed by source/builddep/etc updates leads to failure of a subseq...
-
12:54 AM Bug #17782: Can not compile Ruby trunk with openssl 1.1.1k
- let's close this, looks like an operator error ... unable to reproduce in a clean docker container. I suspect it was ...
-
12:08 AM Bug #17782: Can not compile Ruby trunk with openssl 1.1.1k
- So this issue is irrelevant of OpenSSL upstream being updated, right?
And is related to commit commit:b91f62f38405...
04/07/2021
-
11:35 PM Bug #17782: Can not compile Ruby trunk with openssl 1.1.1k
- Thanks @xtkoba, let me see if I can make a Dockerfile here to reproduce the issue.
3.0.1 tag installs fine on my sy... -
11:30 PM Bug #17782: Can not compile Ruby trunk with openssl 1.1.1k
- I cannot reproduce this on my x86_64-linux environment.
The function `EVP_MD_CTX_pkey_ctx` is defined at [${prefix... -
10:48 PM Bug #17782 (Closed): Can not compile Ruby trunk with openssl 1.1.1k
- Following latest openssl upstream (maybe b91f62f) I can no longer compile Ruby trunk against 1.1.1k
```
In file i... -
11:24 PM Feature #17762: A simple way to trace object allocation
- I am with @Eregon here:
> ObjectSpace.trace_object_allocations_start
as a side effect of a "require" seems like a... -
10:58 PM Bug #17658: DNS resolution failure with multiple named resolvers
- This has caused a pretty giant regression:
https://bugs.ruby-lang.org/issues/17781
Requests are now being neve... -
07:34 PM Bug #17781 (Closed): Resolv::DNS RequestID table allocations are never freed, causing DNS lookups to eventually hang
- In between ruby 2.7.2 and 2.7.3/3.0.0 releases a bug was introduced into `Resolv::DNS` functionality that eventually ...
-
07:27 PM Bug #13876: Tempfile's finalizer can be interrupted by a Timeout exception which can cause the process to hang
- This is still a problem in the master branch. Possible solutions:
1. Run finalizers in a separate thread instead ... -
07:17 PM Feature #15198: Array#intersect?
- Matz/Marc-Andre: anything I can do to help here as far as documentation or providing more use cases? I/my colleagues ...
-
07:17 PM Bug #17780 (Closed): Backport for super_method aliases in ruby 2.7.3 causes Segfault
- Applied in changeset commit:git|d8a13e504992a45d52063f7c925408d7aad3595a.
----------
[Bug #17780] Fix Method#super_m... -
06:42 PM Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
- Pull request submitted to fix this: https://github.com/ruby/ruby/pull/4365
-
06:35 PM Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
- GitHub PR: https://github.com/ruby/ruby/pull/4364
-
06:33 PM Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
- Crash log is attached below.
-
06:29 PM Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
- Note that this bug is reproducible on 2.6.7, 2.7.3, 3.0.1, master.
-
06:20 PM Bug #17780 (Closed): Backport for super_method aliases in ruby 2.7.3 causes Segfault
- This error was discovered while trying to run `bundle exec srb init` on a new rails project.
Thanks to Peter Zhu f... - 07:17 PM Revision cdc0cdc7 (git): * 2021-04-08 [ci skip]
- 07:16 PM Revision d8a13e50 (git): [Bug #17780] Fix Method#super_method for module alias
- Method#super_method crashes for aliased module methods because they are
not defined on a class. This bug was introduc... -
04:32 PM Bug #16371 (Closed): Inconsistent usage of Double splat operator
- Ruby 2.6 is now in security maintenance mode, so behavior of the double splat operator will not be changed in it.
-
04:24 PM Misc #17734: DevelopersMeeting20210416Japan
- * [Feature #17682] String#casecmp performance improvement (dan0042)
* Is it ok to make casecmp faster?
-
06:33 AM Misc #17734: DevelopersMeeting20210416Japan
- * [Feature #17762] A simple way to trace object allocation
* I want `require "objspace/trace"` or something which ... -
12:54 PM Misc #17720: Cirrus CI to check non-x86_64 architecture cases by own machines
- @hsbt yes, I sent the email by following the instructions now!
-
10:29 AM Misc #17720: Cirrus CI to check non-x86_64 architecture cases by own machines
- @jaruga
Can you do the instructions of https://bugs.ruby-lang.org/projects/ruby/wiki/CommitterHowto ? After that, ... -
12:40 PM Feature #17752: Enable -Wundef for C extensions in repository
- I noticed that `-Wundef` is explicitly disabled for GCC at [include/ruby/internal/token_paste.h:40](https://github.co...
-
01:11 AM Feature #17752: Enable -Wundef for C extensions in repository
- Using `-Wundef` I saw that the definitions of `BIGNUM_EMBED_LEN_MAX` and `COROUTINE_LIMITED_ADDRESS_SPACE` might be i...
- 07:43 AM Revision 587e6800 (git): * 2021-04-07 [ci skip]
-
07:34 AM Revision fbbc37dc (git): test/drb/test_drb.rb: Specify the host of DRbServer
- to try fixing the following error.
http://rubyci.s3.amazonaws.com/opensuseleap/ruby-master/log/20210407T063004Z.log.... -
06:49 AM Feature #12133: Ability to exclude start when defining a range
Definition of a range object that exclude a start position, and its shorthand notation.
Since we have #exclude_e...-
05:53 AM Bug #17778: Properly install Bundler man pages
- Ah, thx for pointing the issue to the upstream. Disappointing outcome, however not end of the world.
-
05:10 AM Bug #17778 (Third Party's Issue): Properly install Bundler man pages
- It is https://github.com/rubygems/rubygems/pull/4209.
-
12:00 AM Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99
- Copying the `ext/fiddle/extconf.rb` from 229c041f057 also seems to work.
Also available in: Atom