Activity
From 05/31/2022 to 06/06/2022
06/06/2022
-
06:31 PM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
- There might be a good reason we don't want to do this (or want to do it differently). But I can confirm that marking...
-
04:40 PM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
- Aha! Thanks, that makes perfect sense. And it does indeed fix it. I knew this toy scheduler wasn't *good*, and my o...
-
05:18 AM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
- @ko1 I saw this problem because fiber is not retained while waiting, because we have waiting threads but not waiting ...
-
05:17 AM Bug #18818: Thread waitq does not retain referenced objects, can lead to use after free.
- Unfortunately Mutex, Queue and probably other objects don't take a reference to the waiting fiber, so your fiber is b...
-
06:17 PM Misc #18803: DevMeeting-2022-06-16
- * [Feature #18788] Support passing Regexp options as String to Regexp.new (jeremyevans0)
* Do we want to add suppo... -
05:38 PM Feature #18183: make SecureRandom.choose public
- One option would be to extend `Random::Formatter#alphanumeric` to have an optional "alphabet":
```ruby
def alphan... -
04:45 PM Feature #18183: make SecureRandom.choose public
- My bad for not searching the old topics.
In this module, (most of) the method name describes the output, not the p... -
05:38 AM Feature #18183: make SecureRandom.choose public
- I don't think `SecureRandom.random_string(args, len)` describes the behavior, neither.
Matz.
-
04:01 AM Feature #18183: make SecureRandom.choose public
- @matz The OP proposed `random_string`. What do you think about it?
-
03:40 AM Feature #18183: make SecureRandom.choose public
- My bad. args.sample(random: SecureRandom) is not a replacement for SecureRandom.choose(*args,len).
But still, choose... -
03:28 AM Feature #18183 (Rejected): make SecureRandom.choose public
- `SecureRandom.choose(*args)` is not intuitive from my POV. Use `args.sample(random: SecureRandom)`.
Matz.
-
05:38 PM Bug #18770 (Open): Inconsistent behavior of IO/StringIO's each methods when called with nil as a separator, limit and chomp: true
-
05:38 PM Bug #18768 (Open): Inconsistent behavior of IO, StringIO and String each_line methods when return paragraph and chomp: true passed
-
03:22 AM Feature #18817 (Rejected): SecureRandom::choose is not being exposed
- "choose" is named just for an internal API. We need another good name if we make it public. Continue to discuss in #1...
-
12:41 AM Bug #18790: cannot load such file -- digest (LoadError)
- There is a similar issue with Red Hat Enterprise Linux 8. To install `libyaml-devel` package, it needs 'codeready-bui...
06/05/2022
-
09:39 PM Bug #18818 (Assigned): Thread waitq does not retain referenced objects, can lead to use after free.
- The attached script (and/or others like it) can cause SEGV in 3.0, 3.1, and master. It has always behaved as expecte...
-
10:17 AM Feature #18817 (Rejected): SecureRandom::choose is not being exposed
- I read through [the doc of `SecureRandom`](https://ruby-doc.org/stdlib-3.1.2/libdoc/securerandom/rdoc/SecureRandom.ht...
-
04:58 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- schneems (Richard Schneeman) wrote in #note-16:
> I am worried about the memory implications for enabling this by de... -
01:17 AM Bug #18816 (Closed): Ractor segfaulting MacOS 12.4 (aarch64 / M1 processor)
- Reproduction server:
```
require 'socket'
# Set based on CPU count
CONCURRENCY = 8
server = TCPServer.new(...
06/04/2022
-
01:58 AM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
- matz (Yukihiro Matsumoto) wrote in #note-24:
> When investigating #18435, I realized the visibility of a method is n...
06/03/2022
-
08:07 PM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- Having `SyntaxError#file_path` would be hugely helpful, there are some non-trivial edge cases I have to handle when r...
-
03:05 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- The attribute `file_path` has been written at #note-7 and answered at #note-8 already.
The input from STDIN can be... -
02:43 AM Feature #18159: Integrate functionality of syntax_suggest gem into Ruby
- Is it useful if `SyntaxError` (or `ScriptError`) has an attribute for the failed locations?
`SyntaxError` often co... -
04:42 PM Feature #16150: Add a way to request a frozen string from to_s
- @matz I don't think so, the request here was for all `to_s` methods, so `Object#to_s`, `Module#to_s`, `Symbol#to_s`, ...
-
06:33 AM Feature #16150: Add a way to request a frozen string from to_s
- Probably #18595 addresses this request. Any opinion?
Matz.
-
01:14 PM Feature #18339 (Closed): GVL instrumentation API
- Merged as https://github.com/ruby/ruby/commit/9125374726fbf68c05ee7585d4a374ffc5efc5db after several rounds of review...
-
07:04 AM Feature #11689: Add methods allow us to get visibility from Method and UnboundMethod object.
- When investigating #18435, I realized the visibility of a method is not an attribute of the method. Instead, each cla...
-
06:54 AM Bug #18435 (Open): Calling `protected` on ancestor method changes result of `instance_methods(false)`
- I thought it was OK to accept this behavior, but it caused issues like #18729 and #18751. At the time of the decision...
06/02/2022
-
05:17 PM Feature #18815: instance_{eval,exec} vs Proc#>>
- zverok (Victor Shepelev) wrote in #note-3:
> @jeremyevans0 I don't think it is a "bug", but maybe a nice feature to ... -
04:56 PM Feature #18815: instance_{eval,exec} vs Proc#>>
- @jeremyevans0 I don't think it is a "bug", but maybe a nice feature to have (composite procs being a bit smarter than...
-
04:00 PM Feature #18815: instance_{eval,exec} vs Proc#>>
- This is basically the same as #18067. I don't think it's a bug, because you get the exact same behavior with manual ...
-
12:58 PM Feature #18815 (Open): instance_{eval,exec} vs Proc#>>
- ```ruby
measure = proc { p "self=#{self}"; size }
multiply = proc { '*' * _1 }
'test'.instance_eval(&measure)
#... -
01:35 PM Misc #18803: DevMeeting-2022-06-16
- * [Feature #18773] Pass an optional range object to deconstruct
* It can be very expensive to compute the array fo... -
09:35 AM Misc #18803: DevMeeting-2022-06-16
- * [Bug #18813] Module#autoload isn't strict about the autoloaded constant (fxn)
* `module M; autoload :OpenSSL, "o... -
11:59 AM Feature #18814: Ractor: add method to query incoming message queue size
- For instance in GO it is possible to query the current size of a channel:
``` go
c := make(chan int, 100)
for i := ... -
10:57 AM Feature #18814 (Assigned): Ractor: add method to query incoming message queue size
- ## Abstract
A simple method to query the current size of a Ractor's incoming queue from outside. Can be used to de... -
11:24 AM Bug #18811: PTY I/O not working on AIX 7.x
- Another discovery... sleep *after* the commands makes it work as well:
``` shell
# ./ptytest.rb 'echo foo; sleep 1'... -
09:31 AM Bug #18813: Let Module#autoload be strict about the autoloaded constant
- Changing this from Misc to bug, and I'll add it to the upcoming dev-meeting.
06/01/2022
-
11:37 PM Bug #18813: Let Module#autoload be strict about the autoloaded constant
- I support raising an error when this fails to load the right constant. I think we can add a warning in 3.2 and make i...
-
11:00 PM Bug #18813: Let Module#autoload be strict about the autoloaded constant
- Thanks for opening the ticket @fxn.
I'm in favor of this change, however I believe that a deprecation cycle is pre... -
10:55 PM Bug #18813 (Closed): Let Module#autoload be strict about the autoloaded constant
- ## Introduction
Let's consider
```ruby
module M
autoload :X, 'x'
end
```
The constants API does not di... -
04:36 PM Bug #18730: Double `return` event handling with different tracepoints
- Here's some more information to round out this thread. I was a bit sloppy
in [ruby-core:108449] and the output I pos... -
02:42 PM Feature #18812 (Closed): Add ability to trace exit locations for YJIT
- Currently, when running yjit with `--yjit-stats` you are able to see method call exit reasons and the top 20 most fre...
-
02:01 AM Misc #18803: DevMeeting-2022-06-16
- * [Bug #18806] protected methods defined by refinements can't be called (shugo)
* I prefer "1. Treat defined met...
05/31/2022
-
10:30 AM Bug #18779: `GC.compact` and other compaction related methods should be defined as rb_f_notimplement on non supported platforms.
- Indeed, thank you.
-
10:26 AM Bug #18779: `GC.compact` and other compaction related methods should be defined as rb_f_notimplement on non supported platforms.
- > no, I requested it, but it's the release manager of each branch that is supposed to do the backport.
Sorry for m... -
10:01 AM Bug #18779: `GC.compact` and other compaction related methods should be defined as rb_f_notimplement on non supported platforms.
- @jaruga no, I requested it, but it's the release manager of each branch that is supposed to do the backport.
These... -
09:59 AM Bug #18779: `GC.compact` and other compaction related methods should be defined as rb_f_notimplement on non supported platforms.
- > I'm marking 3.0 and 3.1 for backport. The two commits are:
>
> 6ddec1082d06431111123c03b18ca41e7a2cec12
> ...
Also available in: Atom