Activity
From 10/03/2021 to 10/09/2021
10/09/2021
-
07:58 AM Feature #18242: Parser makes multiple assignment sad in confusing way
- I agree with @jeremyevans0 on that this is not a bug.
Feature requests need the approval by Matz to merge. -
02:40 AM Feature #18242: Parser makes multiple assignment sad in confusing way
- Attached is an improved driver. Again, every test case works with nobu's branch.
-
02:36 AM Feature #18242: Parser makes multiple assignment sad in confusing way
- @nobu I built your PR branch and confirmed that this new parsing works great with the `driver.rb` attached.
Will t... -
07:58 AM Misc #18174: DevelopersMeeting20211021Japan
- * [Feature #18242] Allow multiple assignment in logical expression
* `1 < 2 and a, b = 2, 1` and so on. -
06:38 AM Bug #17507: Regexp capture groups ignored sometimes in some multithreaded environments (possible race condition)
- ruby_3_0 cfad0583eb18bb4505f28ee5cfab703a6b9987be merged revision(s) abc0304cb28cb9dcc3476993bc487884c139fd11.
-
06:37 AM Bug #18191: All loaded feature filenames should be in the file system encoding
- ruby_3_0 2c947e74a0a11fe6c54253c15224dc80054c62a2 merged revision(s) 60d0421ca861944459f52292d65dbf0ece26e38a,b653469...
-
06:37 AM Bug #18141: Marshal load with proc yield objects before they are fully initialized
- ruby_3_0 fe9d33beb78d5c7932a5c2ca3953045c0ae751d5 merged revision(s) 89242279e61b023a81c58065c62a82de8829d0b3,529fc20...
10/08/2021
-
11:02 PM Bug #18000 (Closed): have_library doesn't work when ruby is compiled with --disable-shared --disable-install-static-library
- Applied in changeset commit:git|06c3e80611b81ec8f251957328486e9b6dd18d3b.
----------
Do not allow configuration wher... -
10:07 PM Feature #3848 (Closed): Using http basic authentication for FTP with Open URI
-
10:04 PM Feature #3447 (Closed): argument delegation
-
09:54 PM Bug #15790 (Closed): Strange interaction between autoload and $LOADED_FEATURES
- Applied in changeset commit:git|08759edea8fb75d46c3e75217e6613465426a0d2.
----------
Remove autoload for constant if... -
09:44 PM Bug #18067 (Rejected): Composite procs with `instance_exec` aren't executed within the context of the receiver
-
08:55 PM Feature #4560 (Closed): [PATCH] lib/net/protocol.rb: avoid exceptions in rbuf_fill
-
07:40 PM Feature #18242: Parser makes multiple assignment sad in confusing way
- nobu (Nobuyoshi Nakada) wrote in #note-3:
> That patch seems not including `1 < 2 and a = 1, 2`.
>
> https://gith... -
03:38 PM Bug #18247 (Closed): weird results for `Array#slice` or `Array#[]` with argument of type `Enumerator::ArithmeticSequence`
- There are weird results for `Array#slice` or `Array#[]` with argument of type `Enumerator::ArithmeticSequence`.
Pa... -
10:48 AM Bug #18244: Unexpected errors output order
- Glad to have helped :)
And I am sorry if my reply sounded harsh.
I think we can close this, I'll let @nobu decide... -
05:57 AM Bug #18244: Unexpected errors output order
- >I believe the real issue here is to $stderr.sync = false, why do you do that?
>That's like explicitly breaking what... -
06:40 AM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
- jeremyevans0 (Jeremy Evans) wrote in #note-7:
> @duerst Do you know if this is still in issue in the master branch?
... -
12:36 AM Bug #10416: Create mechanism for updating of Unicode data files downstreams when we want
- @duerst Do you know if this is still in issue in the master branch?
-
12:59 AM Bug #18245 (Third Party's Issue): CSV Parser, buffer overflow issue with very specific data
- Could you open an issue on https://github.com/ruby/csv ? We want to track csv gem problem on https://github.com/ruby/...
-
12:02 AM Bug #11480 (Closed): killed by SIGIOT (signal 6) on fork
10/07/2021
-
11:58 PM Bug #18244: Unexpected errors output order
- I believe the real issue here is to `$stderr.sync = false`, why do you do that?
That's like explicitly breaking what... -
08:00 PM Bug #18244: Unexpected errors output order
- > Why mixing `stdout` and `stderr`?
I have a script that is running periodically in the background on another mach... -
03:26 PM Bug #18244: Unexpected errors output order
- It sounds hard anyway regardless `stderr` buffering.
Why mixing `stdout` and `stderr`?
https://github.com/ruby/ru... -
02:12 PM Bug #18244: Unexpected errors output order
- > Do you have any reason to make `stderr` unbuffered?
I do add records to stdout within a cycle, so it is better t... -
01:06 PM Bug #18244 (Feedback): Unexpected errors output order
- Of course it's possible to make flushing `stderr` at error handling, but it also can make a chance of another excepti...
-
05:58 AM Bug #18244 (Closed): Unexpected errors output order
- Having this code:
```ruby
# $stderr.sync = false
warn 'warn'
$stderr.puts 'err'
fail
```
When I run it like th... -
10:41 PM Bug #17382 (Closed): Segfault in String#inspect
-
10:40 PM Bug #18232 (Closed): Ractor.make_shareable is broken in code loaded with RubyVM::InstructionSequence.load_from_binary
- Applied in changeset commit:git|217df51f0e5d9824ed712a4d175f555d932e44d8.
----------
Dump outer variables tables whe... -
08:57 PM Feature #16379 (Closed): Backporting ... to Ruby 2.4 - 2.6 and pass_keywords
-
08:51 PM Feature #14914 (Rejected): Add BasicObject#instance_exec_with_block
-
08:49 PM Feature #14792 (Closed): Multiple RubyVM in one process to make real multi-threading.
-
08:45 PM Feature #14225 (Closed): untaint hash key strings
-
08:44 PM Feature #14059 (Closed): Refine multiple classes in one call
-
08:42 PM Feature #13560 (Closed): Module#attr_ methods return reasonable values
- Support for this was added in Ruby 3.0.
-
08:40 PM Feature #13125 (Closed): MRI has too much Qtrue : Qfalse;
- `RBOOL` was recently introduced for this purpose.
-
08:22 PM Feature #9423 (Closed): Improve warning semantics
-
08:20 PM Feature #9121 (Closed): [PATCH] Remove rbtree implementation of SortedSet due to performance regression
- SortedSet was removed in commit:a3db08d7b6ff119223f77e3df00b4f6deac971e2
-
08:04 PM Feature #17849: Fix Timeout.timeout so that it can be used in threaded Web servers
- The fiber scheduler redefines `Timeout` to only well defined wait points.
We could also do the same for other opti... -
12:56 PM Feature #17849: Fix Timeout.timeout so that it can be used in threaded Web servers
- mame (Yusuke Endoh) wrote in #note-14:
> Just FYI. According to @ko1, masking all exceptions in an ensure clause is ... -
06:06 PM Bug #18246 (Closed): send does not work for unary ! operator when operator isn't a literal symbol
- The method you are looking for is `!` and not `!@`. The reason `false.send(:!@)` works is that `:!@` is parsed as `:...
-
05:36 PM Bug #18246 (Closed): send does not work for unary ! operator when operator isn't a literal symbol
- ```ruby
1.send(:+, 1) #=> 2
1.send(:"+", 1) #=> 2
1.send(:-@) #=> -1
1.send(:"-@") #=> -1
false.send(:!@) #=> tr... -
04:37 PM Bug #18230 (Closed): i get unexpected @path error.
-
04:31 PM Bug #18245: CSV Parser, buffer overflow issue with very specific data
- This bug happens when a multibyte row separator (such as `\r\n`) is split when reading a chunk. I've submitted a pul...
-
08:23 AM Bug #18245 (Third Party's Issue): CSV Parser, buffer overflow issue with very specific data
- This may not fall into guidelines since it's a very specific issue, but I have exhausted every avenue of this to be a...
-
03:44 PM Feature #18242: Parser makes multiple assignment sad in confusing way
- That patch seems not including `1 < 2 and a = 1, 2`.
https://github.com/ruby/ruby/pull/4945 -
02:54 PM Bug #18234 (Closed): exit after `binding.irb`
- Applied in changeset commit:git|896626fa02f00831de5db2e3e75aa349a5a84102.
----------
[ruby/irb] Make IRB::Context#ex... -
03:11 AM Feature #12075: some container#nonempty?
- > Intuitively, "x.size?" is more likely interpreted as "is the size defined for x?" rather than "is the size of x gre...
-
12:51 AM Feature #12075: some container#nonempty?
- knu (Akinori MUSHA) wrote in #note-33:
> [...]`size?` [...] explicitly says it would check the size, which means it i... -
12:00 AM Feature #14794: Primitive arrays (Ruby 3x3)
- saw from https://chrisseaton.com/truffleruby/rubykaigi21/ - the shape of ruby objects. Maybe if we can get this impl...
10/06/2021
-
09:03 PM Bug #18232: Ractor.make_shareable is broken in code loaded with RubyVM::InstructionSequence.load_from_binary
- I've attached a patch that fixes this (for me) along with a test. I had to change the information that we dump when ...
-
06:47 PM Bug #18232: Ractor.make_shareable is broken in code loaded with RubyVM::InstructionSequence.load_from_binary
- It looks like the [outer variables list](https://github.com/ruby/ruby/blob/e4d85d3a2d0c7d4a1abf981fb1ba557e21cad968/v...
-
06:38 PM Bug #18232: Ractor.make_shareable is broken in code loaded with RubyVM::InstructionSequence.load_from_binary
- (this comment was moved to https://bugs.ruby-lang.org/issues/18243, replied to the wrong issue)
-
06:31 PM Bug #18232: Ractor.make_shareable is broken in code loaded with RubyVM::InstructionSequence.load_from_binary
- FYI the way it currently works for OpenStruct seems buggy on the Ractor side: #18243
-
09:22 AM Bug #18232: Ractor.make_shareable is broken in code loaded with RubyVM::InstructionSequence.load_from_binary
- Because [OpenStruct was recently changed to use `make_shareable`](https://github.com/ruby/ostruct/pull/29), this bug ...
-
08:58 PM Feature #10883 (Closed): Passing a block to itself
-
08:56 PM Feature #18242: Parser makes multiple assignment sad in confusing way
- jeremyevans0 (Jeremy Evans) wrote in #note-1:
> [...] Attached is a patch that implements the necessary parser rules... -
04:28 PM Feature #18242: Parser makes multiple assignment sad in confusing way
- The parser is currently not setup to handle this, so I don't think it is a bug. You would have to add new parser rul...
-
04:39 AM Feature #18242 (Open): Parser makes multiple assignment sad in confusing way
- Example:
``` ruby
a, b = 2, 1 if 1 < 2 # Works
a, b = [2, 1] if 1 < 2 # Works
(a, b) = 2, 1 if 1 ... -
08:45 PM Feature #9999 (Closed): Type Annotations (Static Type Checking)
-
08:43 PM Feature #9635 (Closed): Map a hash directly to a hash
-
08:42 PM Feature #9322 (Closed): method_defined? family of of methods should support the exclusion of ancestors
-
08:37 PM Feature #8977 (Closed): String#frozen that takes advantage of the deduping
-
08:36 PM Feature #8953 (Closed): `str =~ /pattern/` does not call =~ method if (1) str is a String, (2) /pattern/ is a Regexp literal
- This was fixed in Ruby 2.2:
```
$ ruby22 -ve 's = "foo"; class << s; def =~ (rhs); raise "a"; end; end; s =~ /foo... -
08:32 PM Feature #8895 (Closed): Destructuring Assignment for Hash
-
08:20 PM Feature #7793 (Closed): New methods on Hash
- This feature was implemented as `transform_keys`, `transform_values`, and `to_h`.
-
08:20 PM Feature #9970 (Closed): Add `Hash#map_keys` and `Hash#map_values`
- This feature was implemented as `transform_keys`, `transform_values`, and `to_h`.
-
07:41 PM Feature #6669 (Closed): A method like Hash#map but returns hash
- This was implemented by `Hash#to_h` taking a block starting in Ruby 2.6.
-
07:38 PM Bug #18023 (Closed): Ractor#make_shareable changes the values of closured shareable objects
- Applied in changeset commit:git|76228191474c76810043b294a74bbb2f1808b3d9.
----------
Fix Ractor.make_shareable chang... -
06:39 PM Bug #18243: Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
- Smaller repro:
```
$ ruby -e 'Object.new.instance_eval { p object_id; proc = Ractor.make_shareable -> { self }; Rac... -
06:29 PM Bug #18243 (Closed): Ractor.make_shareable does not freeze the receiver of a Proc but allows accessing ivars of it
- ```ruby
class C
attr_accessor :foo
def setter_proc
Ractor.make_shareable(-> v { @foo = v })
end
end
... -
05:19 PM Feature #6414 (Closed): Destructuring Assignment
- This proposal has basically been implemented, with single-line pattern matching and valueless hash creation syntax:
... -
03:59 PM Bug #18234: exit after `binding.irb`
- I submitted a pull request to irb to fix this by calling super if UncaughtThrowError is raised by IRB::Context#exit: ...
-
12:46 PM Feature #12075: some container#nonempty?
- Probably not, considering that some classes I named earlier, File::Stat and Enumerator, only have #size and no #lengt...
-
11:19 AM Feature #12075: some container#nonempty?
- If `size?` will be chosen, should we also add `length?` as `size` and `length` are aliases?
10/05/2021
-
04:31 PM Feature #18148 (Closed): Marshal.load freeze option
- Applied in changeset commit:git|afcbb501ac17ba2ad5370ada5fd26e8dda9a5aaa.
----------
marshal.c Marshal.load accepts ... -
03:41 PM Bug #18241 (Closed): Question on String Concatentation Documentation
- Applied in changeset commit:git|c6706f15af123bdbb3b39a21903d85c78462d047.
----------
Fix documentation for String#{<... -
03:31 PM Bug #18241: Question on String Concatentation Documentation
- This is a documentation bug. Both String#<< and String#concat mutate and return the receiver. I'll fix this shortly.
-
03:22 PM Bug #18241: Question on String Concatentation Documentation
- edit: to be clear, I'm making a distinction between "new string" in the contents-sense, and "new string" in the memor...
-
03:18 PM Bug #18241 (Closed): Question on String Concatentation Documentation
- Hello,
I noticed that the documentation for `<<` and `concat` both state that the result of each operation is a ne... -
03:37 PM Bug #18240 (Closed): Random segfault on a local Rails server
-
03:33 PM Bug #18240: Random segfault on a local Rails server
Thanks Jeremy for your answer. We're gonna try to disable the C extensions one by one to identify if one behaves ba...-
02:43 PM Bug #18240: Random segfault on a local Rails server
- Unfortunately, I don't think there is enough information provided to help diagnose the specific cause of the issue (t...
-
08:52 AM Bug #18240 (Closed): Random segfault on a local Rails server
- Hello
I am having random segfault locally when rails a basic rails app.
The control frame is weird:
| -- Co... -
03:10 PM Feature #18239: Variable Width Allocation: Strings
- Regarding ABI compatibility, AFAIK CRuby doesn't care about it for development versions.
I.e., conceptually we can t... -
01:08 PM Feature #18239: Variable Width Allocation: Strings
- Hi @duerst. Thank you for adding it to the developer meeting.
I understand your concern for gem incompatibility. S...
10/04/2021
-
11:55 PM Feature #18239: Variable Width Allocation: Strings
- This is impressive work. I haven't time to study all the details, in particular the benchmark results.
But I'm som... -
08:18 PM Feature #18239: Variable Width Allocation: Strings
- Ah, fool question. Sorry. It was arguments on rdoc benchmark (I misunderstood that it is for general characteristics).
-
08:17 PM Feature #18239: Variable Width Allocation: Strings
- Yes, [rdoc generation](#rdoc-generation). Speed is 0.95x but memory usage dropped to 0.81x (0.89x for jemalloc).
-
08:15 PM Feature #18239: Variable Width Allocation: Strings
- > The performance decrease is small but the memory decrease is large.
Sorry, which results do you say? rdoc genera... -
08:13 PM Feature #18239: Variable Width Allocation: Strings
- Your concerns about memory usage and performance are all valid. A solution is we could make VWA enabled by default bu...
-
08:07 PM Feature #18239: Variable Width Allocation: Strings
- > I can't make good reason why VWA is slower than FWA on your benchmark.
The only benchmark above where VWA is slo... -
07:16 PM Feature #18239: Variable Width Allocation: Strings
- * Performance:
* P4. `GC.compact` can be slower than FWA because it should be copy the body. But maybe it is not a... -
07:09 PM Feature #18239: Variable Width Allocation: Strings
- Thank you for your reply.
peterzhu2118 (Peter Zhu) wrote in #note-3:
> - The RString layout does not change much.... -
06:57 PM Feature #18239: Variable Width Allocation: Strings
- Sorry for incremental questions.
Why do we need to enable it now? Current benchmark you showed illustrate not so dif... -
06:49 PM Feature #18239: Variable Width Allocation: Strings
- Hi @ko1, thank you for the feedback.
- The RString layout does not change much. The only big change is that the le... -
06:32 PM Feature #18239: Variable Width Allocation: Strings
- ko1 (Koichi Sasada) wrote in #note-1:
> * Could you explain the variable size page strategy? https://bugs.ruby-lang.... -
06:29 PM Feature #18239: Variable Width Allocation: Strings
- Thank you for your work. I have several questions.
* Could you explain the RString layout?
* Could you explain th... -
06:13 PM Feature #18239 (Closed): Variable Width Allocation: Strings
- # GitHub PR: https://github.com/ruby/ruby/issues/4933
# Feature description
Since merging #18045 which introduc... -
11:52 PM Misc #18174: DevelopersMeeting20211021Japan
- - [Feature #18239] Variable Width Allocation: Strings
- Discuss deployment schedule and binary incompatibility iss... -
05:20 PM Feature #18231: `RubyVM.keep_script_lines`
- Some comments:
* For debugger, `Thread::Backtrace::Location#script_lines` is enough.
* If we introduce this featu... -
04:51 PM Feature #18231: `RubyVM.keep_script_lines`
- I clarified a bit with @ko1.
First, `script_lines` returns all lines, not the lines of a specific method (I missed t... -
03:02 PM Feature #18231: `RubyVM.keep_script_lines`
- > For what else do you need to get the source? Ruby::AbstractSyntaxTree::Node?
> How do you get the Ruby::AbstractSy... -
12:38 PM Feature #18231: `RubyVM.keep_script_lines`
- ko1 (Koichi Sasada) wrote in #note-13:
> Do you talking about `toSource` method in JS?
Yeah it's JS Function's `t... -
12:29 PM Feature #18231: `RubyVM.keep_script_lines`
- Eregon (Benoit Daloze) wrote in #note-12:
> We already have something similar to "code locations" objects: `Thread::... -
09:38 AM Feature #18231: `RubyVM.keep_script_lines`
- We already have something similar to "code locations" objects: `Thread::Backtrace::Location`.
We could add `#{first,... -
03:05 AM Feature #18231: `RubyVM.keep_script_lines`
- I don't want to bother progressing here, so I accept `RubyVM.keep_script_lines` with the indication of implementation...
-
04:43 PM Feature #18026 (Closed): Add global variables for instruction information
- Applied in changeset commit:git|b44c5187b4d05d8644242e532f2243210d0b74df.
----------
Expose instruction information ... -
08:43 AM Bug #18238 (Third Party's Issue): CSV encoding issue with parsing from Zlib::GzipReader stream
- Could you open this on https://github.com/ruby/csv ? ruby/csv is the upstream of csv.
-
08:41 AM Bug #18238 (Third Party's Issue): CSV encoding issue with parsing from Zlib::GzipReader stream
- Hi,
I found an issue with parsing CSVs directly from a `Zlib::GzipReader` IO which I am trying to debug. Unfortuna... -
12:38 AM Feature #14975 (Rejected): String#append without changing receiver's encoding
- Closing since this seems not acceptable.
Feel free to reopen if any progress.
10/03/2021
-
01:16 PM Bug #18237 (Closed): Remove unnecessary checks for `Time` in `Range#each` as per the comment
- Applied in changeset commit:git|fb03598666ddbb9f8b35eb4f599e75654ca7ca06.
----------
Remove unnecessary checks in `R... -
11:50 AM Bug #18237 (Closed): Remove unnecessary checks for `Time` in `Range#each` as per the comment
- In commit:7817a438eb1803e7b3358f43bd1f38479badfbdc, the implementation of `Time#succ`, which had been deprecated for ...
-
01:06 PM Bug #18236 (Closed): Conversion to float not working for object with to_f method
- Applied in changeset commit:git|19f9d9cf739e7fc185ef90d5da5b4b12cf902a52.
----------
Remove extraneous conversion to... -
12:25 PM Feature #18035: Introduce general model/semantic for immutability.
- I forgot to mention, it's also much better if all instances of a class (and potential subclasses) are immutable, if o...
-
12:21 PM Feature #18035: Introduce general model/semantic for immutability.
- I think nobody expects #freeze or #deep_freeze to ever freeze (non-singleton) classes/modules, so IMHO these methods ...
-
09:59 AM Feature #18231: `RubyVM.keep_script_lines`
- duerst (Martin Dürst) wrote in #note-8:
> Can you say exactly what the problem is? Is it that the file may get chang... -
09:53 AM Feature #18231: `RubyVM.keep_script_lines`
- ko1 (Koichi Sasada) wrote in #note-6:
> > I would think having code_location on exceptions and methods is also enoug... -
08:31 AM Feature #18231: `RubyVM.keep_script_lines`
- Eregon (Benoit Daloze) wrote in #note-5:
> I am strongly against this proposal as it currently stands.
> For `err... -
09:31 AM Bug #18235 (Closed): try_var in mkmf.rb recognizes a variable that is not declared
- Applied in changeset commit:git|ea64e742f5feddbdfb6526cd0a54a9986097a34d.
----------
Revert "mkmf.rb: try linking at... -
07:33 AM Bug #18184: Wrong key for `ruby2_keywords_hash` flag
- ruby_3_0 f192e01233ccd7966721a164e62a86707b4e6d9e merged revision(s) 7c0230b05d0978958f89434c84ddd9c82419c1a5,552728a...
-
07:33 AM Bug #18173: The feature in `$LOADED_FEATURES` is loaded again
- ruby_3_0 5341eca588e738cd5031ab7d8bb5c300471c00e9 merged revision(s) ddb32e66160ab50849419ef7c7ac584913b79c34.
Also available in: Atom