Project

General

Profile

Activity

From 09/10/2022 to 09/16/2022

09/16/2022

09:45 PM Feature #10320: require into module
> Loading ActiveRecord::Base won't work because when it tries to dynamic-link libpq.so or libmysqlclient.so or whatev... byroot (Jean Boussier)
10:52 AM Feature #10320: require into module
It is declared that `dlopen` will not fail in such cases.
https://pubs.opengroup.org/onlinepubs/9699919799/functions...
nobu (Nobuyoshi Nakada)
07:34 AM Feature #10320: require into module
Pure-ruby codes could perhaps be loaded multiple times side-by-side, but the problem is a DLL.
Loading ActiveRecord:...
shyouhei (Shyouhei Urabe)
06:52 AM Feature #10320: require into module
This NilClass definition, even if reassigning global ::NilClass doesn't have any effect on nil though, isn't it?
Or ...
Eregon (Benoit Daloze)
07:55 PM Feature #18776: Object Shapes
The performance numbers look good and I'm very happy with the improvements that you've made wrt shape ids being 32 bi... maximecb (Maxime Chevalier-Boisvert)
05:58 PM Bug #19003: TracePoint behavior inconsistency in 3.2.0-preview2
This issue shows a case where you are adding a local tracepoint during global tracepoint processing. There are a coup... jeremyevans0 (Jeremy Evans)
05:48 PM Bug #18983: Range#size for beginless Range is not nil.
Returning Infinity for numeric ranges bounded in either direction is expected (there are tests explicitly for it).
...
jeremyevans0 (Jeremy Evans)
05:25 PM Feature #15371 (Closed): IRB with ARGV
Applied in changeset commit:git|b07db967441161a84386bcbbb41d990a2f3ad31c.
----------
[ruby/irb] Support --noscript o...
jeremyevans (Jeremy Evans)
01:19 PM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
Yes, it's only a few gems that previously depended on `-undefined,dynamic_lookup` being present as a linker argument.... stanhu (Stan Hu)
06:06 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
Ah, Sorry. I misunderstood. I could install other native extensions like ffi, hiredis and eventmachine.
this issue...
hsbt (Hiroshi SHIBATA)
05:59 AM Bug #19005 (Open): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
`ruby_3_1` head already fixed a similar issue with bundle loader. But I could reproduce https://bugs.ruby-lang.org/is... hsbt (Hiroshi SHIBATA)
05:19 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
I think we can close this issue, unless someone thinks we might want to relax the `configure` check so that the `-und... stanhu (Stan Hu)
04:15 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
A related issue was discussed in https://gitlab.kitware.com/vtk/vtk/-/issues/17214#note_385533 in the context of Pyth... stanhu (Stan Hu)
04:14 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
nobu (Nobuyoshi Nakada) wrote in #note-5:
> What is the version of ruby you are using?
ruby 2.7.6p219 (2022-04-12...
stanhu (Stan Hu)
03:05 AM Bug #19005 (Feedback): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
What is the version of ruby you are using? nobu (Nobuyoshi Nakada)
01:39 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
`ffi-yajl` expects to run `dlopen` to bring in these symbols: https://github.com/chef/ffi-yajl/blob/2ac7f207c0850a762... stanhu (Stan Hu)
01:18 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
It's possible this is a problem with the respective gems. In https://github.com/pganalyze/pg_query/issues/255#issueco... stanhu (Stan Hu)
12:15 AM Bug #19005: Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
I should note that it's also possible to workaround the issue by compiling the interpreter with `DLDFLAGS="-Wl,-undef... stanhu (Stan Hu)
10:25 AM Misc #18977: DevMeeting-2022-09-22
- [Feature #18885] End of boot advisory API (byroot)
- The general concept was accepted, but it need a proper name...
byroot (Jean Boussier)

09/15/2022

11:07 PM Bug #19005 (Closed): Ruby interpreter compiled XCode 14 cannot build some native gems on macOS
This seems related to https://bugs.ruby-lang.org/issues/18912 and https://bugs.ruby-lang.org/issues/18981 .
Steps ...
stanhu (Stan Hu)
07:23 PM Feature #18776: Object Shapes
# Summary
The implementation has been updated to solve some performance problems and simplify both source code and...
jemmai (Jemma Issroff)
01:36 PM Misc #18977: DevMeeting-2022-09-22
- [Bug #18978] Unexpected behaviour in Time.utc and Time.local when 8 arguments are passed in (peterzhu2118)
- Pa...
peterzhu2118 (Peter Zhu)
03:26 AM Misc #18977: DevMeeting-2022-09-22
* [Bug #18960] Module#using raises RuntimeError when called at toplevel from wrapped script (shioyama)
* @jeremyeva...
shioyama (Chris Salzberg)
01:28 PM Bug #18995: IO#set_encoding sometimes set an IO's internal encoding to the default external encoding
Can anyone confirm that this is a bug and not a misunderstanding? It looks like the changes to fix this will require... javanthropus (Jeremy Bopp)
01:16 PM Feature #18885: End of boot advisory API for RubyVM
So I wrote a reproduction script to showcase the effect of constant caches on Copy on Write performance:
```ruby
...
byroot (Jean Boussier)
11:21 AM Feature #16946: Add an `intersperse` method
Just came across this while attempting to see if there was an elegant way to do this. My use case is that I want to g... Vegard (Vegard Itland)
03:19 AM Feature #10320: require into module
The `wrap` option to `load` has recently been expanded to allow passing a module instead of a boolean (https://bugs.r... shioyama (Chris Salzberg)
01:03 AM Feature #12084: `Class#instance`
matz (Yukihiro Matsumoto) wrote in #note-6:
> * `attached_object` is better, at least for singleton classes. But the...
ufuk (Ufuk Kayserilioglu)

09/14/2022

10:18 PM Bug #18983: Range#size for beginless Range is not nil.
Nevermind. Build failed. thiagofm (Thiago Massa)
08:22 PM Misc #18977: DevMeeting-2022-09-22
* [Bug #18960] Module#using raises RuntimeError when called at toplevel from wrapped script (jeremyevans0)
* Do we...
jeremyevans0 (Jeremy Evans)
01:21 PM Feature #18996: Proposal: Introduce new APIs to reline for changing dialog UI colours
> Some users even decided to disable it completely because the colors are unreadable to them. I have also seen people... k0kubun (Takashi Kokubun)
11:12 AM Bug #18914: Segmentation fault during Ruby test suite execution
I believe this error is a problem of the Fiddle gem, as according to FFI upstream, when process forks with allocated ... jprokop (Jarek Prokop)
01:53 AM Feature #18571: Removed the bundled sources from release package after Ruby 3.2
commit:e4f5296f065110fa83eb450d3a861253e76e534f removed them. hsbt (Hiroshi SHIBATA)

09/12/2022

01:23 PM Feature #18949: Deprecate and remove replicate and dummy encodings
In https://github.com/ruby/ruby/pull/6323 I managed to replace all usages of `rb_define_dummy_encoding()` by just `rb... Eregon (Benoit Daloze)
12:05 PM Feature #18949 (Open): Deprecate and remove replicate and dummy encodings
Done:
* Deprecate Encoding#replicate
* Remove get_actual_encoding() and the dynamic endian detection for dummy UTF-16...
Eregon (Benoit Daloze)
12:02 PM Feature #18949 (Closed): Deprecate and remove replicate and dummy encodings
Applied in changeset commit:git|6525b6f760ccd9612c9546b0313ab1c7e4af5e66.
----------
Remove get_actual_encoding() an...
Eregon (Benoit Daloze)
07:24 AM Bug #18938: Backport cf7d07570f50ef9c16007019afcff11ba6500d70
@nagachika it's my fault. For backporting purpose `cf7d07570f50ef9c16007019afcff11ba6500d70` alone should be backport... byroot (Jean Boussier)

09/11/2022

02:08 PM Bug #18880 (Closed): IO#sysread on Windows does not validate arguments
Applied in changeset commit:git|684353fc03afd6e7c887b65bd18f0b3aeb98101c.
----------
[Win32] Negative length `IO#sys...
javanthropus (Jeremy Bopp)
10:45 AM Feature #18798: `UnboundMethod#==` with inherited classes
This would be really helpful for checking if a class has redefined a method inherited form a superclass.
As an exa...
[email protected] (Joel Drapper)
10:30 AM Misc #18977: DevMeeting-2022-09-22
* [Feature #18798] `UnboundMethod#==` with inherited classes (eregon)
* OK to change `UnboundMethod#==` to check if...
Eregon (Benoit Daloze)
07:13 AM Feature #12354 (Closed): PKey::EC Can't output public key pem when private key exists
openssl v2.2 added OpenSSL::PKey::PKey#public_to_pem and #public_to_der for this purpose.
https://github.com/ruby/...
rhenium (Kazuki Yamaguchi)
06:58 AM Bug #18763 (Closed): The configure option “--with-openssl-dir” has lower precedence than pkg-config
Upstream issue for this bug: https://github.com/ruby/openssl/pull/486
Yes. This is resolved by openssl gem release...
rhenium (Kazuki Yamaguchi)
02:54 AM Feature #16122: Data: simple immutable value object
zverok (Victor Shepelev) wrote in #note-68:
> Pull request: https://github.com/ruby/ruby/pull/6353
Very nice.
...
nobu (Nobuyoshi Nakada)
02:49 AM Feature #18951: Object#with to set and restore attributes around a block
This idea is very similar to Algebraic effects, which dry-rb has a variant on:
https://dry-rb.org/gems/dry-effects...
baweaver (Brandon Weaver)
02:34 AM Feature #18951: Object#with to set and restore attributes around a block
It would be super nice to somehow support `ENV` as well, since it is super common pattern in test suites. retro (Josef Šimánek)

09/10/2022

09:46 PM Bug #18880: IO#sysread on Windows does not validate arguments
I submitted PR https://github.com/ruby/ruby/pull/6354 with a simple fix. I don't have a Windows system to test with ... javanthropus (Jeremy Bopp)
06:14 PM Feature #18949 (Open): Deprecate and remove replicate and dummy encodings
Eregon (Benoit Daloze)
05:03 PM Feature #18949 (Closed): Deprecate and remove replicate and dummy encodings
Applied in changeset commit:git|14bcf69c9c36875c7956d0ec8c04bfeaec514dd1.
----------
Deprecate Encoding#replicate
*...
Eregon (Benoit Daloze)
05:46 PM Bug #19004 (Closed): Complex can be nested by Complex.polar
`Complex.polar` with one argument can return a "nested" Complex instance, whose real part is also a Complex one.
`...
msnm (Masahiro Nomoto)
04:41 PM Feature #16122: Data: simple immutable value object
Indeed, that's what I meant. Alright, I guess we need to support positional arguments too then.
Because that's imple...
Eregon (Benoit Daloze)
02:12 PM Feature #16122: Data: simple immutable value object
> Regarding creating a new Data subclass instance, I wonder if we should support both positional and kwargs, or if we... zverok (Victor Shepelev)
02:04 PM Feature #16122: Data: simple immutable value object
zverok (Victor Shepelev) wrote in #note-70:
> I am not sure whether we have a C-level API for passing keyword args o...
Eregon (Benoit Daloze)
01:55 PM Feature #16122: Data: simple immutable value object
@Eregon Yeah, those are valuable observations!
The specialized `initialize` also looks more reasonable to me, act...
zverok (Victor Shepelev)
01:46 PM Feature #16122: Data: simple immutable value object
Looks good to me.
Regarding overriding `initialize` and calling `super`, that would not work if we define an optim...
Eregon (Benoit Daloze)
12:35 PM Feature #16122: Data: simple immutable value object
Pull request: https://github.com/ruby/ruby/pull/6353
Copying from its description:
Example docs rendering: [Data](h...
zverok (Victor Shepelev)
11:08 AM Feature #16122: Data: simple immutable value object
Agreed with @k0kubun. Also `Class.define` wouldn't make it clear it defines a data class and creates Data (subclass) ... Eregon (Benoit Daloze)
01:24 PM Feature #19001: Data: Add #to_h symmetric to constructor with keyword args [Follow-on to #16122 Data: simple immutable value object]
There isn't any need for this ticket as a separate request, as far as I am concerned.
It works in the initial implem...
zverok (Victor Shepelev)
12:31 PM Bug #18998: Kernel#Integer does not convert SimpleDelegator object expectly
> it would be best if you defined #to_int on your delegator
I've tried this approach but it was failed because `ba...
taichi730 (Taichi Ishitani)
07:13 AM Bug #18936: Backport 261753249996d46e00c2549fff2527816bf387db
ruby_3_1 4508901fbd8825cc8d9aaf535b5201ade17a8392 merged revision(s) 261753249996d46e00c2549fff2527816bf387db. nagachika (Tomoyuki Chikanaga)
07:12 AM Bug #18990: Pattern matching unexpectedly raises "duplicated key name" error
ruby_3_1 163947f4dc031bb5e619ae64ad4a6a02f8885717 merged revision(s) db0e0dad1171456253ebd899e7e878823923d3d8. nagachika (Tomoyuki Chikanaga)
07:12 AM Bug #18938: Backport cf7d07570f50ef9c16007019afcff11ba6500d70
I tried to backport cf7d07570f50ef9c16007019afcff11ba6500d70 and c6aa65430fbb94651f4d15e2a976f59b5475ca19 into ruby_3... nagachika (Tomoyuki Chikanaga)
 

Also available in: Atom