Activity
From 04/23/2020 to 04/29/2020
04/29/2020
-
11:24 PM Feature #16150: Add a way to request a frozen string from to_s
- I can confirm that Discourse bench and Discourse works with symbol-fstring today.
Old versions of pry were broken... -
11:10 PM Feature #16821 (Third Party's Issue): gem version notation for "rational version" compatibility
- When a gemspec wants to express a version requirement, we typically use the `'~> '` notation like this:
```ruby
s... -
08:05 PM Feature #13820: Add a nil coalescing operator
- Kotlin has this feature, Swift has this feature, many other languages have this feature.
Ruby _needs_ this feature :... -
10:13 AM Revision 7e5253d1 (git): [ruby/irb] Suppress "method redefined" warning
- https://github.com/ruby/irb/commit/5f0aee56fa
-
10:13 AM Revision 3864fbc6 (git): [ruby/irb] Check existence of rc files in irb_info command
- https://github.com/ruby/irb/commit/cdbb9dfc9f
-
10:13 AM Revision 98a346d0 (git): [ruby/irb] Add irb_info command
- https://github.com/ruby/irb/commit/a6fe58e916
-
10:13 AM Revision 009092b0 (git): [ruby/reline] Add URL reference of history-size
- https://github.com/ruby/reline/commit/13420197b8
-
10:13 AM Revision 213ebec7 (git): [ruby/reline] Version 0.1.4
- https://github.com/ruby/reline/commit/298144b06a
-
10:13 AM Revision 4859352d (git): [ruby/reline] Negative history_size means unlimited
- And unlimited is default.
https://github.com/ruby/reline/commit/f5149c3ca6 -
10:13 AM Revision d27fa874 (git): [ruby/reline] New items to history are dropped if history_size is zero
- https://github.com/ruby/reline/commit/9bdbed9cbc
-
10:13 AM Revision 0ac50091 (git): [ruby/reline] Ignore non-absolute XDG_CONFIG_HOME
- https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
> All paths set in these environment var... -
08:59 AM Bug #16820: LEGAL is out of sync
- OK, thank you for clarification. Then we don't have to bother them in LEGAL.
-
08:50 AM Bug #16820: LEGAL is out of sync
- I see.
> If you didn't intend to change their license (== they are still dual-licensed), then their gemspec shall... -
08:44 AM Bug #16820: LEGAL is out of sync
- @hsbt Did you want to change license of those libraries from Ruby's to "BSD only"? Then we should list up all of the...
-
08:27 AM Bug #16820: LEGAL is out of sync
- Should we update the sentence about dual license with BSD-2-Clause to `LEGAL` file? I'm not sure what your expectation.
-
08:05 AM Bug #16820 (Closed): LEGAL is out of sync
- At the very beginning of `LEGAL`, it reads:
> All the files in this distribution are covered under either the Ruby... -
06:28 AM Revision e801e9ba (git): [ruby/spec] expand temporary directory to the real path
- It may contain symbolic links.
-
06:28 AM Revision 32e7d914 (git): [ruby/spec] Temporary directories should be under the mock_dir
-
06:28 AM Revision 56d6cfe8 (git): .travis.yml: hoisted out spec-on-old-ruby
04/28/2020
-
08:49 PM Feature #16786: Light-weight scheduler for improved concurrency.
- @sam.saffron I'll let @ioquatix reply in more details but my point of view on that is:
#13618 is not flexible, and r... -
07:12 AM Feature #16786: Light-weight scheduler for improved concurrency.
- My big concern here is that this does not cover why #13618 was deficient and this complete greenfield implementation ...
-
03:34 PM Revision ac0c7608 (git): Mark ruby_memerror as NORETURN
-
03:05 PM Revision 1994ed90 (git): Remove debugging code from gc.c
- Partially revert adab82b9a71f60ad1c7f4f8c134a5ae9198ab32a and
c63b5c6179d700ceacf5cae8d3ee86da1294c781.
The issue tha... - 03:01 PM Revision 31a4ee4c (git): * 2020-04-29 [ci skip]
-
02:36 PM Revision 1c7f5a57 (git): Removed unnecessary RLIMIT_AS
- Even without this limit, these assertions almost certainly cause a
NoMemoryError by removing the fix in 72ad8595f20. -
10:00 AM Revision 86431f50 (git): Remove rubyspec temporary directories
-
06:05 AM Revision 34971525 (git): Remove rubyspec temporary directory
-
03:33 AM Feature #16818: Rename `Range#%` to `Range#/`
- I visualise a bag of grain. If I'm asked to divide it by three, I will make three piles of grain. If I'm asked to mod...
-
12:31 AM Feature #16818: Rename `Range#%` to `Range#/`
- inopinatus (Joshua GOODALL) wrote in #note-8:
> their division seems intuitively identical to cutting a line into pa... - 02:39 AM Revision 3acdb318 (git): * 2020-04-28 [ci skip]
-
02:13 AM Revision 442866c2 (git): [rubygems/rubygems] Pass the rubocop lint
- https://github.com/rubygems/rubygems/commit/d4486ca061
-
02:04 AM Revision 5b77fc8a (git): [rubygems/rubygems] Remove commented out code
- https://github.com/rubygems/rubygems/commit/42aa0d7ebc
-
01:57 AM Revision 2c2b0d4e (git): [rubygems/rubygems] Make the test suite pass under `umask 077`
- Some tests had failed under `umask 077` mode. As far as I investigated,
there is no actual bug. All failures were c... -
01:56 AM Revision de58dfc9 (git): [rubygems/rubygems] Removed the depdendency of English library
- English.rb is extracted to the default gems at
https://github.com/ruby/ruby/commit/2c5764ec223d976e0d0da1494596a151...
04/27/2020
-
11:43 PM Feature #16818: Rename `Range#%` to `Range#/`
- > x / y reads "divide x by y", not "divide x into y parts"
I'm not sure I understand the difference, but neverthel... -
06:18 PM Bug #16819 (Assigned): Line reporting off by one when reporting line of a hash?
- If I run this program:
```
TracePoint.new(:line) { |t| p t.lineno}.enable
def foo(a, b) # 2
a + b # 3
... -
10:58 AM Feature #16150: Add a way to request a frozen string from to_s
- Could we consider `Symbol#to_s` retuning frozen strings again?
We've been running with https://github.com/Shopify/... -
06:28 AM Revision aca935a6 (git): Fixed typos in racc
-
01:39 AM Revision 6009790e (git): Moved already resolved test
- Couldn't figure out failed/fixed versions.
-
01:39 AM Revision c180c58f (git): Removed already resolved test [ci skip]
- That bug has been fixed by ec0c394b9eb, and the test has been
added by 181ffea5e04. -
12:41 AM Revision fd2df584 (git): Fix a typo [ci skip]
04/26/2020
-
11:43 PM Feature #16818: Rename `Range#%` to `Range#/`
- Eregon (Benoit Daloze) wrote in #note-2:
> Just my opinion, but I find `%` a lot more intuitive, and would find `/` ... -
07:44 PM Feature #16818: Rename `Range#%` to `Range#/`
- > x / y reads "divide x by y", not "divide x into y parts".
Makes sense.
It is language difference probably: ... -
06:51 PM Feature #16818: Rename `Range#%` to `Range#/`
- zverok (Victor Shepelev) wrote in #note-4:
> I'd say that `(5..14) / 3` reads definitely like "split the range into 3... -
06:28 PM Feature #16818: Rename `Range#%` to `Range#/`
- I'd say that `(5..14) / 3` reads definitely like "split the range into 3 parts" (expecting, IDK, 3 sub-ranges or jump...
-
04:54 PM Feature #16818: Rename `Range#%` to `Range#/`
- I somewhat agree with sawa's comment that % on Range may confuse some ruby
folks; I think % is more typically the mo... -
10:14 AM Feature #16818: Rename `Range#%` to `Range#/`
- Just my opinion, but I find `%` a lot more intuitive, and would find `/` very confusing in this context.
One inter... -
02:15 AM Feature #16818 (Open): Rename `Range#%` to `Range#/`
- `Range#%` was introduced as an alias of `Range#step` by 14697, but it is counter-intuitive and confusing.
Iteratio... -
05:13 PM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
- FYI: I re-enabled the test in question with 93ed465dcdc866013cd93c3662937497900c8086
-
05:09 PM Revision 93ed465d (git): test/ruby/test_fiber.rb (test_stack_size): re-enabled on s390x
- Revert 9948addda67f4b7a6e3575f1eba9025f998811d2.
It is now discussed in https://bugs.ruby-lang.org/issues/16814, and ... -
04:04 PM Revision a217d3ce (git): check: compare with right upstream
- 03:54 PM Revision 33767d1e (git): * 2020-04-27 [ci skip]
-
03:54 PM Revision 6560ff6e (git): Fix a typo [ci skip]
-
01:39 PM Revision 257e01b6 (git): Solaris does not provide atomic_sub family
-
10:41 AM Revision 1760c601 (git): Clarified return value of atomic macros
-
07:14 AM Revision 36ed7007 (git): Fix failures of test/rdoc/test_rdoc_ri_paths.rb
- yield `home_dir` when HOMEDIR is not falsy only.
https://github.com/ruby/ruby/blob/d0f41aa2382612022162d033ddb3d9c9cc... -
03:53 AM Revision d0f41aa2 (git): [ruby/spec] Removed space between method name and argument list paren
-
03:53 AM Revision 78602775 (git): [ruby/spec] Fixed missing should
-
03:53 AM Revision b5174bea (git): lldb_cruby.py: fixed empty string dump [ci skip]
-
03:39 AM Revision 034b8472 (git): remove unused rb_str_clear define (#3059)
-
02:07 AM Revision 63fe3739 (git): Fix errors when `RDoc::RI::Paths::HOMEDIR` is nil
- https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-ad7f67/ruby-master/log/20200425T175405Z.fail.html.gz
```
4) Err...
04/25/2020
-
05:48 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
- As there is no immediate rejection, I updated the implementation, making it more robust.
@Dan0042, I tried to make... - 05:01 PM Revision 9fd3f243 (git): * 2020-04-26 [ci skip]
-
05:00 PM Revision 7ccb7a99 (git): [DOC] explicit_bzero exists in modern Linux
- [ci skip]
-
02:27 PM Feature #16817 (Open): attr_predicate or attr_query or attr_something for ? methods
- I would like `attr_predicate` like attr_reader etc.
`attr_predicate :cat` would define a method named `:cat?` that... -
08:52 AM Revision fefb5faf (git): More enums are mandatory for rp in lldb_cruby.py
-
08:05 AM Feature #16816: Prematurely terminated Enumerator should stay terminated
- Thank you, I've fixed the link.
-
04:56 AM Revision 7c88bb3e (git): fetch-bundled_gems.rb: Fixed the position of -c
-
04:16 AM Revision f12f9f51 (git): fetch-bundled_gems.rb: Quiet detached HEAD advice
-
03:15 AM Revision c2700379 (git): `git co` is alias of `git checkout`
-
12:29 AM Revision 42ac3f79 (git): Assert that typed data is distinguished from non-typed
04/24/2020
-
11:05 PM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
- Did you mean`any->as.data.dfree`? It points to no valid location.
```
(gdb) print any->as.data
$4 = {basic = {flags =... -
06:38 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
- > disappeared on April 15.
You may know, but the test has been skipped on s390x since 9948addda67f4b7a6e3575f1eba9... -
06:07 AM Bug #16814: Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
- Where does `any->as.data.free` point?
Is `any->as.basic.klass` a valid class object?
If you compile gc.c as `make D... -
05:31 AM Bug #16814 (Closed): Segmentation fault in GC while running test/ruby/test_fiber.rb on s390x
- A segmentation fault almost always happens in test/ruby/test_fiber.rb with certain commits of latest Ruby on s390x.
... -
10:04 PM Feature #16816: Prematurely terminated Enumerator should stay terminated
- ( Just a brief typo-correction, I think you meant the link https://github.com/jruby/jruby/issues/6157 and not https:/...
-
08:36 PM Feature #16816: Prematurely terminated Enumerator should stay terminated
- A simpler way to say why I believe this is a bug...
If I have an Enumerator with custom logic, and it is construct... -
08:34 PM Feature #16816 (Open): Prematurely terminated Enumerator should stay terminated
- When iterating over an Enumerator, there are three different possible results of calling `next`:
1. The next item ... -
05:49 PM Revision cc8f55e9 (git): [ruby/rdoc] HOME is preserved by RDoc::TestCase
- https://github.com/ruby/rdoc/commit/6c4801d1f6
-
05:49 PM Revision ae235db2 (git): [ruby/rdoc] Should teardown in reverse order of setup
- https://github.com/ruby/rdoc/commit/00fb4dd2a3
- 05:36 PM Revision cf5b3d67 (git): * 2020-04-25 [ci skip]
-
05:35 PM Revision c6020ba2 (git): Clear cached XDG path names
-
02:24 PM Revision 21598b0c (git): Fixed a typo [ci skip]
-
12:22 PM Revision c5b17b03 (git): Remove and Restore the original HOME dir (#3057)
-
12:08 PM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
- > We already have situations in JRuby and TruffleRuby where unsynchronized access to shared mutable state can cause a...
-
10:23 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
- > It's of course unacceptable if a Ruby implementation behaves unsafely (e.g., crashes or loses fiber local variable)...
-
09:05 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
- To make it clearer about "clean API": if we have Fiber#[] and Thread#[] then Thread#[] is just deceptive and doesn't ...
-
08:37 AM Feature #8215: Support accessing Fiber-locals and backtraces for a Fiber
- @ioquatix Please create a separate feature ticket for `Fiber#backtrace`, as already asked by nobu in https://bugs.rub...
-
10:40 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- Attaching version "v7" of the patch. This version corresponds with the changes I just pushed on my [ads/b.r-l.o-issue...
-
09:32 AM Revision 5b8c36df (git): [DOC] Added GNU make specific targets [ci skip]
-
09:32 AM Revision 04a55763 (git): [DOC] Split "How to run a part of the test suite" [ci skip]
-
09:26 AM Feature #16786: Light-weight scheduler for improved concurrency.
- I think `Fiber()` is OK after your replies, if it raises if there is no scheduler so there is no silent error. It wou...
-
09:10 AM Feature #16786: Light-weight scheduler for improved concurrency.
- I asked for more feedback from community.
https://twitter.com/ioquatix/status/1251024336502190081
- `Fiber do .... -
08:57 AM Feature #16815: Implement Fiber#backtrace
- I think this makes sense and can definitely be useful for debugging.
If called on a `Fiber` of another `Thread`, tha... -
08:56 AM Feature #16815: Implement Fiber#backtrace
- Use `Thread#backtrace` as example.
-
08:53 AM Feature #16815 (Closed): Implement Fiber#backtrace
- Previously discussed here: https://bugs.ruby-lang.org/issues/8215
Add a new method `Fiber#backtrace`. It would pro... -
07:46 AM Revision 9fb20711 (git): [ruby/reline] Treat home dir correctly
- https://github.com/ruby/reline/commit/9b1327d2f4
-
07:45 AM Revision 81b0b791 (git): [ruby/reline] Support XDG_CONFIG_HOME
- In the XDG Specification, if ~/.config/readline/inputrc exists, then ~/.inputrc
should not be read, but for compatibi... -
07:21 AM Bug #16800 (Closed): [riscv64-linux] miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed.
- Closing. Let me know if you can still reproduce the issue on mastar.
-
05:13 AM Misc #16775: DevelopersMeeting20200514Japan
- * [Feature #16806] Struct#initialize accepts keyword arguments too by default (k0kubun)
* This obviates `keyword_i... -
02:11 AM Misc #16775: DevelopersMeeting20200514Japan
- - [Feature #16815] Introduce `Fiber#backtrace`. (ioquatix)
- Add `Fiber#backtrace` which gets any fiber backtrace. ... -
05:09 AM Feature #16812 (Assigned): Allow slicing arrays with ArithmeticSequence
- I'm positive this if the behavior is the same as Python's list slicing.
If the behavior will be different from Pytho... -
04:08 AM Feature #16812: Allow slicing arrays with ArithmeticSequence
- A few bugs.
* `Float` `ArithmeticSequence` crashes.
```shell
$ ./ruby -e '[*0..10][(0.0..)%10]'
A... -
12:19 AM Feature #16812: Allow slicing arrays with ArithmeticSequence
- Theoretically I'm in favor but there's some edge cases that need consideration.
```ruby
nums = (0..20).to_a
s ... -
03:23 AM Bug #16813 (Closed): Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
- Applied in changeset commit:git|ac2106acc276854ae2ac8cc5fa6859aa28362f2f.
----------
[DOC] Fixed explanation for Met... - 03:23 AM Revision 71f84018 (git): * 2020-04-24 [ci skip]
-
02:18 AM Revision cf90df22 (git): [DOC] Separated Method#[] from Method#call [Bug #16813] [ci skip]
-
02:16 AM Revision ac2106ac (git): [DOC] Fixed explanation for Method#>> [Bug #16813] [ci skip]
04/23/2020
-
09:49 PM Bug #16813 (Closed): Incorrect and Duplicated Method Docs - 2.6.1-core through 2.7.1-core
- ## https://ruby-doc.org/core-2.7.1/Method.html#method-i-5B-5D
`meth[args, ...] → obj` has the correct explanation, b... -
08:44 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
- @Eregon, I wanted at first to see what people say about this one :)
`Array#[]=` is a thing that should be kinda "... -
08:04 PM Feature #16812: Allow slicing arrays with ArithmeticSequence
- Rather neutral on this, but would you want that to work for `Array#[]=` too?
I would be against `Array#[]=` as it's ... -
03:32 PM Feature #16812 (Closed): Allow slicing arrays with ArithmeticSequence
- I believe when concepts of ArithmeticSequence and `Range#%` were introduced, one of the main intended usages was arra...
-
03:41 PM Misc #16775: DevelopersMeeting20200514Japan
- * [Feature #16812] Allow slicing arrays with ArithmeticSequence (zverok)
* `ary[(5..20) % 2]`—each second element ... -
03:20 PM Bug #16811 (Feedback): [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please cont
- This appears to happen when loading fiddle:
```
C:\metasploit\ruby\bin\x64-msvcrt-ruby250.dll(rb_bug_context+0x6f... -
03:01 PM Bug #16811 (Closed): [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please cont
C:\metasploit>console.bat
C:/metasploit/apps/pro/vendor/bundle/ruby/2.5.0/gems/rb-readline-0.5.5/lib/rbreadline.rb...-
01:19 PM Revision 0f5ae7a2 (git): Fixed inverted current thread condition [Bug #16808]
-
12:42 PM Bug #16808 (Closed): Thread#name= only accepts up to 15 characters with Linux/pthread implementation
- Applied in changeset commit:git|a52a459b16ce1b5cf32cb6393960ff59e35c48d0.
----------
Truncate too long thread name b... -
06:16 AM Bug #16808 (Closed): Thread#name= only accepts up to 15 characters with Linux/pthread implementation
- Repro:
irb(main):001:0> RUBY_VERSION
=> "2.7.1"
irb(main):002:0> Thread.new { Thread.current.name = 'abcdefg'; s... -
12:42 PM Revision a52a459b (git): Truncate too long thread name before setting [Bug #16808]
-
12:11 PM Revision 03e4eeab (git): Skip the initialization of XDG_DATA_HOME with Permission denied
-
10:45 AM Bug #16787: [patch] allow Dir.home to work for non-login procs when $HOME not set
- Attaching version "v6" of the patch, which is just another WIP milestone.
Please do not spend too much time with thi... -
10:16 AM Revision 5c6269c4 (git): Support XDG_* (#2174)
- * Support XDG_CONFIG_HOME for gemrc.
* Support XDG_DATA_HOME for .gem
* Added test for XDG_DATA_HOME
* Do not reus... -
09:55 AM Feature #16254: MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- ko1 (Koichi Sasada) wrote in #note-8:
> My conclusion is it is bad idea to share the same code between interpreters.... -
05:53 AM Feature #16254 (Assigned): MRI internal: Define built-in classes in Ruby with `__intrinsic__` syntax
- Eregon:
There are two poionts: (1) sharing the code between Ruby implementations and (2) prettier syntax.
# (1) sha... -
08:49 AM Bug #16810 (Closed): ruby segfaults on s390x with musl libc
- When trying to build mruby-2.1.0 ruby segfaults when running `ruby ./minirake -v`.
I was able to get a backtrace w... -
08:46 AM Revision f563f3c5 (git): RDoc enhancements for Hash[].
-
08:30 AM Misc #16803: Discussion: those internal macros reside in public API headers
- Eregon (Benoit Daloze) wrote in #note-1:
> Could you give some pointers or example of other macros introduced in tha... -
08:07 AM Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
- This is still an issue for alpine s390x. See #16809
-
08:05 AM Bug #16809 (Closed): Fiber crashes with --with-coroutine=copy
- ``` ...
-
06:13 AM Revision 14e013cd (git): [ruby/rdoc] Drop old rubies
- * `RbConfig::CONFIG['ridir']` has been set since 1.9.2
* `ENV["HOME"]` has been defaulted to `USERPROFILE` since 1.9... -
06:10 AM Feature #16806: Struct#initialize accepts keyword arguments too by default
- I agreed with your ideas and reflected them to the description.
-
01:44 AM Revision d1f50b98 (git): Initialize the class variable for Minitest::Unit.current_repeat_count
-
01:25 AM Revision 2e87488d (git): Expand retrying test file names to realpath
- As well as worker processes do in Test::Unit::Worker#run.
-
01:24 AM Revision 74c8aaef (git): Just call search_method_protect [Bug #16669]
-
12:43 AM Revision da5bd004 (git): Test for [Bug #16669]
-
12:39 AM Revision de9d6a7a (git): Split test_defined
Also available in: Atom