[#119132] Segfault using ruby C on MacOS (Intel Catalina and M2 Sonoma) — "martin.kufner--- via ruby-core" <ruby-core@...>
Hey guys,
4 messages
2024/09/12
[#119133] Re: Segfault using ruby C on MacOS (Intel Catalina and M2 Sonoma)
— "martin.kufner--- via ruby-core" <ruby-core@...>
2024/09/12
I just saw, that the #includes dont show up in the c file ...
[#119145] [Ruby master Misc#20728] Propose Eileen Uchitelle as a core committer — "kddnewton (Kevin Newton) via ruby-core" <ruby-core@...>
Issue #20728 has been reported by kddnewton (Kevin Newton).
14 messages
2024/09/12
[#119312] [Ruby master Bug#20762] `make test-basic` with -DRGENGC_FORCE_MAJOR_GC is always failure — "hsbt (Hiroshi SHIBATA) via ruby-core" <ruby-core@...>
Issue #20762 has been reported by hsbt (Hiroshi SHIBATA).
6 messages
2024/09/27
[ruby-core:119059] [Ruby master Feature#20703] Alias StringIO#string to StringIO#to_s/to_str
From:
"nobu (Nobuyoshi Nakada) via ruby-core" <ruby-core@...>
Date:
2024-09-05 08:30:13 UTC
List:
ruby-core #119059
Issue #20703 has been updated by nobu (Nobuyoshi Nakada).
Status changed from Open to Rejected
At this developers' meeting, no one was favor of this.
IMO, `StringIO` is not a `String`-like object.
----------------------------------------
Feature #20703: Alias StringIO#string to StringIO#to_s/to_str
https://bugs.ruby-lang.org/issues/20703#change-109637
* Author: sebyx07 (Sebastian Buza)
* Status: Rejected
----------------------------------------
# Description
Allow to use `StringIO.new('my string').to_s` to be the same as `StringIO.new('my string').string`
IMO nobody really uses the current StringIO#to_s, so I don't think it will break other apps.
* Also added .to_str
That way you can also do interpolation easily
```ruby
my_sio = StringIO.new('my string')
# current
puts "value: #{my_sio}" # value: #<StringIO:0x0000764bba88eec0>
# after
puts "value: #{my_sio}" # value: my string
```
- issue: https://github.com/ruby/stringio/issues/102
- pr: https://github.com/ruby/stringio/pull/103
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/