Activity
From 10/01/2023 to 10/07/2023
10/07/2023
-
02:45 PM Feature #19884: Make Safe Navigation Operator work on classes
- sawa (Tsuyoshi Sawada) wrote in #note-6:
> Then you should edit and write that in the description.
I've updated... -
11:37 AM Feature #19884: Make Safe Navigation Operator work on classes
- p8 (Petrik de Heus) wrote in #note-5:
> > Furthermore, the specification you are asking for is not clear. What Excep... -
10:00 AM Feature #19884: Make Safe Navigation Operator work on classes
- sawa (Tsuyoshi Sawada) wrote in #note-1:
> Currently, you can do `ActiveRecord::Base.some_method rescue nil`
That... -
09:50 AM Feature #19884: Make Safe Navigation Operator work on classes
- There's multiple examples in the Rails code base:
https://github.com/rails/rails/blob/7f7f9df8641e35a076fe26bd097f6a... -
02:24 AM Feature #19884: Make Safe Navigation Operator work on classes
- @rubyFeedback
It's common in library code, that want's to be flexible to different configurations of the target ap... -
03:25 AM Misc #19883: DevMeeting-2023-10-12
- * [Misc #18984] Doc for Range#size for Float/Rational does not make sense (kyanagi)
* Range#size may return a non-... -
12:47 AM Misc #18984: Doc for Range#size for Float/Rational does not make sense
- It seems that there is a similar issue with beginless ranges.
```
(..0).size # => Infinity
(..0).count # => Infi...
10/06/2023
-
10:20 PM Feature #19905: Introduce `Queue#peek`
- `peek` is inherently racy in that the value observed might be already popped by the time the value is returned.
If it... -
05:28 PM Feature #19905: Introduce `Queue#peek`
- I'm just curious if it might be better for #peek to lock to avoid showing something that has already popped or other ...
-
04:04 PM Bug #19913: Getting interpreter error
- pbvdon (pbv pbv) wrote in #note-2:
> nobu (Nobuyoshi Nakada) wrote in #note-1:
> > Crashed ruby seems 2.5, which ha... -
02:42 PM Bug #19913: Getting interpreter error
- nobu (Nobuyoshi Nakada) wrote in #note-1:
> Crashed ruby seems 2.5, which has been ended.
> The version should be r... -
01:08 PM Bug #19913 (Feedback): Getting interpreter error
- Crashed ruby seems 2.5, which has been ended.
The version should be reported before the "Control frame information" ... -
10:58 AM Bug #19913 (Feedback): Getting interpreter error
- ruby --version
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux-gnu]
gem --version
3.1.2
os - ubuntu... -
02:16 PM Bug #19866: Future of `readline.rb`
- From https://bugs.ruby-lang.org/issues/19883#change-104825
> Seems odd for a standard library to attempt to load a... -
02:12 PM Feature #18573: Object#pack1
- `Array.pack1(obj, format) -> String` sounds weird since there is nothing about Array in there.
I think `String.pack1... -
10:39 AM Misc #19912: [Small potential for slight improvement in regards to trailing / that were omitted in a regex]
- Note that complex regexps use often multiple lines, with `x` option.
So, it might be a possible idea to warn if the `... -
05:59 AM Misc #19912: [Small potential for slight improvement in regards to trailing / that were omitted in a regex]
- Forgot to clarify what I meant with:
> I assume ruby has to decide what is going on, but usually
> when I use a c... -
05:57 AM Misc #19912 (Open): [Small potential for slight improvement in regards to trailing / that were omitted in a regex]
- Not sure if I should file this under bug or not; it is probably not a bug per se
and just the current behaviour. So ...
10/05/2023
-
10:28 PM Bug #19911 (Feedback): require slower with ruby/3.2.2
- You're measuring a lot of other things by using the `time` command to benchmark the script. It's more accurate to mea...
-
09:14 PM Bug #19911: require slower with ruby/3.2.2
- On further debugging we found that the following is speeding up the require and file read operation
time ruby --di... -
05:37 PM Bug #19911: require slower with ruby/3.2.2
- Also i have seen this happeneing in other versions/systems one other thing i tested was with ubuntu.
-
05:36 PM Bug #19911 (Feedback): require slower with ruby/3.2.2
- we tested require with ruby 3.2.2 and ruby 2.7.2
and its seems to slowdown considerabily
the test case:
Ruby 3.2... -
09:24 PM Misc #19883: DevMeeting-2023-10-12
- * [Feature #18573] Object#pack1 (jeremyevans0)
* For the same reason as String#unpack1, saves an array allocation ... -
09:21 PM Feature #18573: Object#pack1
- I developed a patch for this that implemented the feature using `Array.pack1` and was going to create a new feature r...
-
07:09 PM Misc #19054 (Closed): `else` in exception-handling context vs early return
-
03:35 PM Feature #19422: Make `--enabled-shared` mandatory on macOS
- Although the problem seems avoided (or postponed maybe) now, this would still make sense, I think.
Since the ruby 2.... -
01:19 PM Feature #19430: Contribution wanted: DNS lookup by c-ares library
- I've prototyped a patch that creates a temporal pthread whenever `Addrinfo.getaddrinfo` is called, and runs `getaddri...
10/04/2023
-
03:49 PM Bug #19909: s390x zlib different deflate algorithm producing a different compressed byte stream causing test failures
- I sent PR to ruby/ruby to document this issue.
https://github.com/ruby/ruby/pull/8589
-
08:22 AM Bug #19910: Set#delete_if behavior inconsistent with Array/Hash
- I was just looking at this, and it seems like the behaviour used to be as you expected but changed in v2.1, https://g...
-
06:46 AM Bug #19893: OpenStruct#respond_to? when true fails with NameError
- Thank you! That's it.
10/02/2023
-
09:05 PM Bug #19910 (Open): Set#delete_if behavior inconsistent with Array/Hash
- Given the following script:
```ruby
#!/usr/bin/env ruby
require 'set'
def enum(collection)
i = 0
coll... -
03:26 PM Bug #19909 (Closed): s390x zlib different deflate algorithm producing a different compressed byte stream causing test failures
- I faced the test failures ruby/zlib (zlib gem) in `make test-all` and ruby/spec (`make test-spec`) in Ubuntu version ...
-
03:03 PM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
- ______________________________________________
-
01:12 PM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
- Whoops, last patch upload failed. Patch actually applied here.
-
12:51 PM Feature #18915: New error class: NotImplementedYetError or scope change for NotImplementedError
- Attached is a patch to update the documentation for NotImplementedError to expand its scope beyond just missing featu...
-
02:11 PM Bug #18553: Memory leak on compiling method call with kwargs
- ______________________________________________
-
06:55 AM Feature #19908 (Closed): Update to Unicode 15.1
- The Unicode 15.1 is released.
The current enc-unicode.rb seems to fail because of `Indic_Conjunct_break` propertie...
10/01/2023
-
07:57 PM Bug #18553 (Closed): Memory leak on compiling method call with kwargs
- This was fixed in #19906, so I will close this issue.
-
06:42 PM Bug #19906: fix kwarg memory leak
- Updated reproduction script:
Maybe this is a better reproduction?
```ruby
a = RubyVM::InstructionSequence.comp... -
02:55 PM Bug #19906 (Closed): fix kwarg memory leak
- Applied in changeset commit:git|c74dc8b4af4ef1b32f65587f083fbeba4ca186fa.
----------
Use reference counting to avoid... -
04:47 PM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
- The current enc-unicode.rb seems to fail because of `Indic_Conjunct_break` properties with values.
I'm not sure ho...
Also available in: Atom