Concretely allowing Strings means extra checks for unknown or missing members, with only Symbols a `kwargs.size == CLASS_MEMBERS.size` check would be enough. It also leads to ambiguous cases like: ```ruby MyData = Data.define(:value) MyD...Eregon (Benoit Daloze)
This sounds like a serious eCryptfs bug to me, could you report it there? (or is there already an open issue about that? If so please link it here). (IMO eCryptfs is kind of a hack leaking many implementation details, nevertheless it'...Eregon (Benoit Daloze)
@nobu Was it intentional to keep accepting `String` and `to_str` kwargs in addition to Symbols? From what matz said above I would expect only Symbols are accepted, which would be valuable to optimize `Data#initialize` better.Eregon (Benoit Daloze)
shebang that includes "ruby" (https://github.com/ruby/prism/pull/4110) * Clarify the documentation of -x, it always searches a shebang that includes "ruby" * Update one more occurence --------- https://github.com/ruby/prism/commit/0c...Eregon (Benoit Daloze)
The implementation is still the same as of today: https://github.com/ruby/ruby/blob/4d87d43b01dbb312eb1ff5fbbc6c9f33218d91a2/thread.c#L2100-L2115 Meanwhile, `ruby_thread_has_gvl_p()` became a public API since #20877 ([commit](https:/...Eregon (Benoit Daloze)
Yes I think adding `RSTRING_RAW_PTR()` is a good way, I would just suggest another name: `RSTRING_START()`. Actually now I see this name was already proposed in https://bugs.ruby-lang.org/issues/19315#note-13. Why I think `RSTRING_ST...Eregon (Benoit Daloze)
Right, `Dir.glob('**/*', flags: File::FNM_DOTMATCH) { ... }` seems a good replacement nowadays, though people might not know about `FNM_DOTMATCH`. `FNM_DOTMATCH` used to have bugs (#17280) which made it error-prone but that's been fixed...Eregon (Benoit Daloze)